Class CreateCustomSoftwareSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.CreateSoftwareSourceDetails
-
- com.oracle.bmc.osmanagementhub.model.CreateCustomSoftwareSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class CreateCustomSoftwareSourceDetails extends CreateSoftwareSourceDetailsProvides the information used to create a custom software source.
Note: Objects should always be created or deserialized using theCreateCustomSoftwareSourceDetails.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 theCreateCustomSoftwareSourceDetails.Builder, which maintain a set of all explicitly set fields calledCreateCustomSoftwareSourceDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateCustomSoftwareSourceDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateCustomSoftwareSourceDetails(String compartmentId, String displayName, String description, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<Id> vendorSoftwareSources, CustomSoftwareSourceFilter customSoftwareSourceFilter, Boolean isAutomaticallyUpdated, Boolean isAutoResolveDependencies, Boolean isCreatedFromPackageList, Boolean isLatestContentOnly, List<String> packages, SoftwareSourceSubType softwareSourceSubType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateCustomSoftwareSourceDetails.Builderbuilder()Create a new builder.booleanequals(Object o)CustomSoftwareSourceFiltergetCustomSoftwareSourceFilter()BooleangetIsAutomaticallyUpdated()Indicates whether the service should automatically update the custom software source to use the latest package versions available.BooleangetIsAutoResolveDependencies()Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.BooleangetIsCreatedFromPackageList()Indicates whether the service should create the software source from a list of packages provided by the user.BooleangetIsLatestContentOnly()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()A property used for compatibility only.SoftwareSourceSubTypegetSoftwareSourceSubType()The creation type of a software source.List<Id>getVendorSoftwareSources()List of vendor software sources.inthashCode()CreateCustomSoftwareSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.osmanagementhub.model.CreateSoftwareSourceDetails
getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags
-
-
-
-
Constructor Detail
-
CreateCustomSoftwareSourceDetails
@Deprecated public CreateCustomSoftwareSourceDetails(String compartmentId, String displayName, String description, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<Id> vendorSoftwareSources, CustomSoftwareSourceFilter customSoftwareSourceFilter, Boolean isAutomaticallyUpdated, Boolean isAutoResolveDependencies, Boolean isCreatedFromPackageList, Boolean isLatestContentOnly, List<String> packages, SoftwareSourceSubType softwareSourceSubType)
Deprecated.
-
-
Method Detail
-
builder
public static CreateCustomSoftwareSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateCustomSoftwareSourceDetails.Builder toBuilder()
-
getVendorSoftwareSources
public List<Id> getVendorSoftwareSources()
List of vendor software sources.- Returns:
- the value
-
getCustomSoftwareSourceFilter
public CustomSoftwareSourceFilter getCustomSoftwareSourceFilter()
-
getIsAutomaticallyUpdated
public Boolean getIsAutomaticallyUpdated()
Indicates whether the service should automatically update the custom software source to use the latest package versions available.The service reviews packages levels once a day.
- Returns:
- the value
-
getIsAutoResolveDependencies
public Boolean getIsAutoResolveDependencies()
Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.- Returns:
- the value
-
getIsCreatedFromPackageList
public Boolean getIsCreatedFromPackageList()
Indicates whether the service should create the software source from a list of packages provided by the user.- Returns:
- the value
-
getIsLatestContentOnly
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).
- Returns:
- the value
-
getPackages
public List<String> getPackages()
A property used for compatibility only.It doesn’t provide a complete list of packages. See
addPackagesToSoftwareSourceDetailsfor providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.- Returns:
- the value
-
getSoftwareSourceSubType
public SoftwareSourceSubType getSoftwareSourceSubType()
The creation type of a software source.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateSoftwareSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateSoftwareSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateSoftwareSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateSoftwareSourceDetails
-
-