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