@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class VersionedCustomSoftwareSource extends SoftwareSource
The object that defines a versioned custom software source.
Note: Objects should always be created or deserialized using the VersionedCustomSoftwareSource.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the VersionedCustomSoftwareSource.Builder
, which maintain a
set of all explicitly set fields called VersionedCustomSoftwareSource.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
VersionedCustomSoftwareSource.Builder |
SoftwareSource.LifecycleState
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
VersionedCustomSoftwareSource(String id,
String compartmentId,
String displayName,
Date timeCreated,
String description,
Availability availability,
Availability availabilityAtOci,
String repoId,
OsFamily osFamily,
ArchType archType,
SoftwareSource.LifecycleState lifecycleState,
Long packageCount,
String url,
ChecksumType checksumType,
String gpgKeyUrl,
String gpgKeyId,
String gpgKeyFingerprint,
Double size,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags,
List<Id> vendorSoftwareSources,
CustomSoftwareSourceFilter customSoftwareSourceFilter,
String softwareSourceVersion,
Boolean isAutoResolveDependencies,
Boolean isCreatedFromPackageList,
Boolean isLatestContentOnly,
List<String> packages)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static VersionedCustomSoftwareSource.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
CustomSoftwareSourceFilter |
getCustomSoftwareSourceFilter() |
Boolean |
getIsAutoResolveDependencies()
Indicates whether the service should automatically resolve package dependencies when
including specific packages in the software source.
|
Boolean |
getIsCreatedFromPackageList()
Indicates whether the service should create the software source from a list of packages
provided by the user.
|
Boolean |
getIsLatestContentOnly()
Indicates whether the software source will include only the latest versions of content from
vendor software sources, while accounting for other constraints set in the custom or
versioned custom software source (such as a package list or filters).
|
List<String> |
getPackages()
The packages in the software source.
|
String |
getSoftwareSourceVersion()
The version to assign to this custom software source.
|
List<Id> |
getVendorSoftwareSources()
List of vendor software sources that are used for the basis of the versioned custom software
source.
|
int |
hashCode() |
VersionedCustomSoftwareSource.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getArchType, getAvailability, getAvailabilityAtOci, getChecksumType, getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags, getGpgKeyFingerprint, getGpgKeyId, getGpgKeyUrl, getId, getLifecycleState, getOsFamily, getPackageCount, getRepoId, getSize, getSystemTags, getTimeCreated, getUrl
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public VersionedCustomSoftwareSource(String id, String compartmentId, String displayName, Date timeCreated, String description, Availability availability, Availability availabilityAtOci, String repoId, OsFamily osFamily, ArchType archType, SoftwareSource.LifecycleState lifecycleState, Long packageCount, String url, ChecksumType checksumType, String gpgKeyUrl, String gpgKeyId, String gpgKeyFingerprint, Double size, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, List<Id> vendorSoftwareSources, CustomSoftwareSourceFilter customSoftwareSourceFilter, String softwareSourceVersion, Boolean isAutoResolveDependencies, Boolean isCreatedFromPackageList, Boolean isLatestContentOnly, List<String> packages)
public static VersionedCustomSoftwareSource.Builder builder()
Create a new builder.
public VersionedCustomSoftwareSource.Builder toBuilder()
public List<Id> getVendorSoftwareSources()
List of vendor software sources that are used for the basis of the versioned custom software source.
public CustomSoftwareSourceFilter getCustomSoftwareSourceFilter()
public String getSoftwareSourceVersion()
The version to assign to this custom software source.
public Boolean getIsAutoResolveDependencies()
Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
public Boolean getIsCreatedFromPackageList()
Indicates whether the service should create the software source from a list of packages provided by the user.
public Boolean getIsLatestContentOnly()
Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters). * For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages. * For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream. * For a package filter that does not specify a version, this will include only the latest available version of the package. * For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored). * For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
public List<String> getPackages()
The packages in the software source.
public String toString()
toString
in class SoftwareSource
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class SoftwareSource
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class SoftwareSource
public int hashCode()
hashCode
in class SoftwareSource
Copyright © 2016–2024. All rights reserved.