Class CustomSoftwareSource.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.CustomSoftwareSource.Builder
 
- 
- Enclosing class:
- CustomSoftwareSource
 
 public static class CustomSoftwareSource.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic CustomSoftwareSource.Builder id(String id) 
 - 
compartmentIdpublic CustomSoftwareSource.Builder compartmentId(String compartmentId) 
 - 
displayNamepublic CustomSoftwareSource.Builder displayName(String displayName) 
 - 
timeCreatedpublic CustomSoftwareSource.Builder timeCreated(Date timeCreated) 
 - 
descriptionpublic CustomSoftwareSource.Builder description(String description) 
 - 
availabilitypublic CustomSoftwareSource.Builder availability(Availability availability) 
 - 
availabilityAtOcipublic CustomSoftwareSource.Builder availabilityAtOci(Availability availabilityAtOci) 
 - 
repoIdpublic CustomSoftwareSource.Builder repoId(String repoId) 
 - 
osFamilypublic CustomSoftwareSource.Builder osFamily(OsFamily osFamily) 
 - 
archTypepublic CustomSoftwareSource.Builder archType(ArchType archType) 
 - 
lifecycleStatepublic CustomSoftwareSource.Builder lifecycleState(SoftwareSource.LifecycleState lifecycleState) 
 - 
packageCountpublic CustomSoftwareSource.Builder packageCount(Long packageCount) 
 - 
urlpublic CustomSoftwareSource.Builder url(String url) 
 - 
checksumTypepublic CustomSoftwareSource.Builder checksumType(ChecksumType checksumType) 
 - 
gpgKeyUrlpublic CustomSoftwareSource.Builder gpgKeyUrl(String gpgKeyUrl) 
 - 
gpgKeyIdpublic CustomSoftwareSource.Builder gpgKeyId(String gpgKeyId) 
 - 
gpgKeyFingerprintpublic CustomSoftwareSource.Builder gpgKeyFingerprint(String gpgKeyFingerprint) 
 - 
sizepublic CustomSoftwareSource.Builder size(Double size) 
 - 
freeformTagspublic CustomSoftwareSource.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic CustomSoftwareSource.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
systemTagspublic CustomSoftwareSource.Builder systemTags(Map<String,Map<String,Object>> systemTags) 
 - 
vendorSoftwareSourcespublic CustomSoftwareSource.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
 
 - 
customSoftwareSourceFilterpublic CustomSoftwareSource.Builder customSoftwareSourceFilter(CustomSoftwareSourceFilter customSoftwareSourceFilter) 
 - 
isAutomaticallyUpdatedpublic CustomSoftwareSource.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 CustomSoftwareSource.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 CustomSoftwareSource.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 CustomSoftwareSource.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 CustomSoftwareSource.Builder packages(List<String> packages) The packages in the software source.- Parameters:
- packages- the value to set
- Returns:
- this builder
 
 - 
softwareSourceSubTypepublic CustomSoftwareSource.Builder softwareSourceSubType(SoftwareSourceSubType softwareSourceSubType) Identifies how the custom software source was created.- Parameters:
- softwareSourceSubType- the value to set
- Returns:
- this builder
 
 - 
timeMetadataUpdatedpublic CustomSoftwareSource.Builder timeMetadataUpdated(Date timeMetadataUpdated) The date and time the metadata for this software source was last updated (in RFC 3339 format).- Parameters:
- timeMetadataUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic CustomSoftwareSource build() 
 - 
copypublic CustomSoftwareSource.Builder copy(CustomSoftwareSource model) 
 
- 
 
-