Class CreateCustomSoftwareSourceDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.CreateCustomSoftwareSourceDetails.Builder
 
- 
- Enclosing class:
- CreateCustomSoftwareSourceDetails
 
 public static class CreateCustomSoftwareSourceDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCustomSoftwareSourceDetailsbuild()CreateCustomSoftwareSourceDetails.BuildercompartmentId(String compartmentId)CreateCustomSoftwareSourceDetails.Buildercopy(CreateCustomSoftwareSourceDetails model)CreateCustomSoftwareSourceDetails.BuildercustomSoftwareSourceFilter(CustomSoftwareSourceFilter customSoftwareSourceFilter)CreateCustomSoftwareSourceDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)CreateCustomSoftwareSourceDetails.Builderdescription(String description)CreateCustomSoftwareSourceDetails.BuilderdisplayName(String displayName)CreateCustomSoftwareSourceDetails.BuilderfreeformTags(Map<String,String> freeformTags)CreateCustomSoftwareSourceDetails.BuilderisAutomaticallyUpdated(Boolean isAutomaticallyUpdated)Indicates whether the service should automatically update the custom software source to use the latest package versions available.CreateCustomSoftwareSourceDetails.BuilderisAutoResolveDependencies(Boolean isAutoResolveDependencies)Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.CreateCustomSoftwareSourceDetails.BuilderisCreatedFromPackageList(Boolean isCreatedFromPackageList)Indicates whether the service should create the software source from a list of packages provided by the user.CreateCustomSoftwareSourceDetails.BuilderisLatestContentOnly(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).CreateCustomSoftwareSourceDetails.Builderpackages(List<String> packages)A property used for compatibility only.CreateCustomSoftwareSourceDetails.BuildersoftwareSourceSubType(SoftwareSourceSubType softwareSourceSubType)The creation type of a software source.CreateCustomSoftwareSourceDetails.BuildervendorSoftwareSources(List<Id> vendorSoftwareSources)List of vendor software sources.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateCustomSoftwareSourceDetails.Builder compartmentId(String compartmentId) 
 - 
displayNamepublic CreateCustomSoftwareSourceDetails.Builder displayName(String displayName) 
 - 
descriptionpublic CreateCustomSoftwareSourceDetails.Builder description(String description) 
 - 
freeformTagspublic CreateCustomSoftwareSourceDetails.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic CreateCustomSoftwareSourceDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
vendorSoftwareSourcespublic CreateCustomSoftwareSourceDetails.Builder vendorSoftwareSources(List<Id> vendorSoftwareSources) List of vendor software sources.- Parameters:
- vendorSoftwareSources- the value to set
- Returns:
- this builder
 
 - 
customSoftwareSourceFilterpublic CreateCustomSoftwareSourceDetails.Builder customSoftwareSourceFilter(CustomSoftwareSourceFilter customSoftwareSourceFilter) 
 - 
isAutomaticallyUpdatedpublic CreateCustomSoftwareSourceDetails.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
 
 - 
isAutoResolveDependenciespublic CreateCustomSoftwareSourceDetails.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
 
 - 
isCreatedFromPackageListpublic CreateCustomSoftwareSourceDetails.Builder isCreatedFromPackageList(Boolean isCreatedFromPackageList) Indicates whether the service should create the software source from a list of packages provided by the user.- Parameters:
- isCreatedFromPackageList- the value to set
- Returns:
- this builder
 
 - 
isLatestContentOnlypublic CreateCustomSoftwareSourceDetails.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
 
 - 
packagespublic CreateCustomSoftwareSourceDetails.Builder packages(List<String> packages) 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.- Parameters:
- packages- the value to set
- Returns:
- this builder
 
 - 
softwareSourceSubTypepublic CreateCustomSoftwareSourceDetails.Builder softwareSourceSubType(SoftwareSourceSubType softwareSourceSubType) The creation type of a software source.- Parameters:
- softwareSourceSubType- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateCustomSoftwareSourceDetails build() 
 - 
copypublic CreateCustomSoftwareSourceDetails.Builder copy(CreateCustomSoftwareSourceDetails model) 
 
- 
 
-