Class UpdateCustomSoftwareSourceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.UpdateCustomSoftwareSourceDetails.Builder
-
- Enclosing class:
- UpdateCustomSoftwareSourceDetails
public static class UpdateCustomSoftwareSourceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCustomSoftwareSourceDetails
build()
UpdateCustomSoftwareSourceDetails.Builder
compartmentId(String compartmentId)
UpdateCustomSoftwareSourceDetails.Builder
copy(UpdateCustomSoftwareSourceDetails model)
UpdateCustomSoftwareSourceDetails.Builder
customSoftwareSourceFilter(CustomSoftwareSourceFilter customSoftwareSourceFilter)
UpdateCustomSoftwareSourceDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
UpdateCustomSoftwareSourceDetails.Builder
description(String description)
UpdateCustomSoftwareSourceDetails.Builder
displayName(String displayName)
UpdateCustomSoftwareSourceDetails.Builder
freeformTags(Map<String,String> freeformTags)
UpdateCustomSoftwareSourceDetails.Builder
isAutomaticallyUpdated(Boolean isAutomaticallyUpdated)
Indicates whether the service should automatically update the custom software source to use the latest package versions available.UpdateCustomSoftwareSourceDetails.Builder
isAutoResolveDependencies(Boolean isAutoResolveDependencies)
Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.UpdateCustomSoftwareSourceDetails.Builder
isLatestContentOnly(Boolean isLatestContentOnly)
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).UpdateCustomSoftwareSourceDetails.Builder
vendorSoftwareSources(List<Id> vendorSoftwareSources)
List of vendor software sources that are used for the basis of the custom software source.
-
-
-
Method Detail
-
compartmentId
public UpdateCustomSoftwareSourceDetails.Builder compartmentId(String compartmentId)
-
displayName
public UpdateCustomSoftwareSourceDetails.Builder displayName(String displayName)
-
description
public UpdateCustomSoftwareSourceDetails.Builder description(String description)
-
freeformTags
public UpdateCustomSoftwareSourceDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public UpdateCustomSoftwareSourceDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
vendorSoftwareSources
public UpdateCustomSoftwareSourceDetails.Builder vendorSoftwareSources(List<Id> vendorSoftwareSources)
List of vendor software sources that are used for the basis of the custom software source.- Parameters:
vendorSoftwareSources
- the value to set- Returns:
- this builder
-
customSoftwareSourceFilter
public UpdateCustomSoftwareSourceDetails.Builder customSoftwareSourceFilter(CustomSoftwareSourceFilter customSoftwareSourceFilter)
-
isAutomaticallyUpdated
public UpdateCustomSoftwareSourceDetails.Builder isAutomaticallyUpdated(Boolean isAutomaticallyUpdated)
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.
- Parameters:
isAutomaticallyUpdated
- the value to set- Returns:
- this builder
-
isAutoResolveDependencies
public UpdateCustomSoftwareSourceDetails.Builder isAutoResolveDependencies(Boolean isAutoResolveDependencies)
Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.- Parameters:
isAutoResolveDependencies
- the value to set- Returns:
- this builder
-
isLatestContentOnly
public UpdateCustomSoftwareSourceDetails.Builder isLatestContentOnly(Boolean isLatestContentOnly)
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).
- Parameters:
isLatestContentOnly
- the value to set- Returns:
- this builder
-
build
public UpdateCustomSoftwareSourceDetails build()
-
copy
public UpdateCustomSoftwareSourceDetails.Builder copy(UpdateCustomSoftwareSourceDetails model)
-
-