Class CustomSoftwareSource.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.CustomSoftwareSource.Builder
-
- Enclosing class:
- CustomSoftwareSource
public static class CustomSoftwareSource.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CustomSoftwareSource.Builder id(String id)
-
compartmentId
public CustomSoftwareSource.Builder compartmentId(String compartmentId)
-
displayName
public CustomSoftwareSource.Builder displayName(String displayName)
-
timeCreated
public CustomSoftwareSource.Builder timeCreated(Date timeCreated)
-
description
public CustomSoftwareSource.Builder description(String description)
-
availability
public CustomSoftwareSource.Builder availability(Availability availability)
-
availabilityAtOci
public CustomSoftwareSource.Builder availabilityAtOci(Availability availabilityAtOci)
-
repoId
public CustomSoftwareSource.Builder repoId(String repoId)
-
osFamily
public CustomSoftwareSource.Builder osFamily(OsFamily osFamily)
-
archType
public CustomSoftwareSource.Builder archType(ArchType archType)
-
lifecycleState
public CustomSoftwareSource.Builder lifecycleState(SoftwareSource.LifecycleState lifecycleState)
-
packageCount
public CustomSoftwareSource.Builder packageCount(Long packageCount)
-
url
public CustomSoftwareSource.Builder url(String url)
-
checksumType
public CustomSoftwareSource.Builder checksumType(ChecksumType checksumType)
-
gpgKeyUrl
public CustomSoftwareSource.Builder gpgKeyUrl(String gpgKeyUrl)
-
gpgKeyId
public CustomSoftwareSource.Builder gpgKeyId(String gpgKeyId)
-
gpgKeyFingerprint
public CustomSoftwareSource.Builder gpgKeyFingerprint(String gpgKeyFingerprint)
-
size
public CustomSoftwareSource.Builder size(Double size)
-
freeformTags
public CustomSoftwareSource.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CustomSoftwareSource.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public CustomSoftwareSource.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
vendorSoftwareSources
public 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
-
customSoftwareSourceFilter
public CustomSoftwareSource.Builder customSoftwareSourceFilter(CustomSoftwareSourceFilter customSoftwareSourceFilter)
-
isAutomaticallyUpdated
public 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
-
isAutoResolveDependencies
public 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
-
isCreatedFromPackageList
public 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
-
isLatestContentOnly
public 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
-
packages
public CustomSoftwareSource.Builder packages(List<String> packages)
The packages in the software source.- Parameters:
packages
- the value to set- Returns:
- this builder
-
softwareSourceSubType
public CustomSoftwareSource.Builder softwareSourceSubType(SoftwareSourceSubType softwareSourceSubType)
Identifies how the custom software source was created.- Parameters:
softwareSourceSubType
- the value to set- Returns:
- this builder
-
timeMetadataUpdated
public 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
-
build
public CustomSoftwareSource build()
-
copy
public CustomSoftwareSource.Builder copy(CustomSoftwareSource model)
-
-