public static class VersionedCustomSoftwareSource.Builder extends Object
Constructor and Description |
---|
Builder() |
public VersionedCustomSoftwareSource.Builder id(String id)
public VersionedCustomSoftwareSource.Builder compartmentId(String compartmentId)
public VersionedCustomSoftwareSource.Builder displayName(String displayName)
public VersionedCustomSoftwareSource.Builder timeCreated(Date timeCreated)
public VersionedCustomSoftwareSource.Builder description(String description)
public VersionedCustomSoftwareSource.Builder availability(Availability availability)
public VersionedCustomSoftwareSource.Builder availabilityAtOci(Availability availabilityAtOci)
public VersionedCustomSoftwareSource.Builder repoId(String repoId)
public VersionedCustomSoftwareSource.Builder osFamily(OsFamily osFamily)
public VersionedCustomSoftwareSource.Builder archType(ArchType archType)
public VersionedCustomSoftwareSource.Builder lifecycleState(SoftwareSource.LifecycleState lifecycleState)
public VersionedCustomSoftwareSource.Builder packageCount(Long packageCount)
public VersionedCustomSoftwareSource.Builder url(String url)
public VersionedCustomSoftwareSource.Builder checksumType(ChecksumType checksumType)
public VersionedCustomSoftwareSource.Builder gpgKeyUrl(String gpgKeyUrl)
public VersionedCustomSoftwareSource.Builder gpgKeyId(String gpgKeyId)
public VersionedCustomSoftwareSource.Builder gpgKeyFingerprint(String gpgKeyFingerprint)
public VersionedCustomSoftwareSource.Builder size(Double size)
public VersionedCustomSoftwareSource.Builder freeformTags(Map<String,String> freeformTags)
public VersionedCustomSoftwareSource.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public VersionedCustomSoftwareSource.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public VersionedCustomSoftwareSource.Builder vendorSoftwareSources(List<Id> vendorSoftwareSources)
List of vendor software sources that are used for the basis of the versioned custom software source.
vendorSoftwareSources
- the value to setpublic VersionedCustomSoftwareSource.Builder customSoftwareSourceFilter(CustomSoftwareSourceFilter customSoftwareSourceFilter)
public VersionedCustomSoftwareSource.Builder softwareSourceVersion(String softwareSourceVersion)
The version to assign to this custom software source.
softwareSourceVersion
- the value to setpublic VersionedCustomSoftwareSource.Builder isAutoResolveDependencies(Boolean isAutoResolveDependencies)
Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
isAutoResolveDependencies
- the value to setpublic VersionedCustomSoftwareSource.Builder isCreatedFromPackageList(Boolean isCreatedFromPackageList)
Indicates whether the service should create the software source from a list of packages provided by the user.
isCreatedFromPackageList
- the value to setpublic 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).
isLatestContentOnly
- the value to setpublic VersionedCustomSoftwareSource.Builder packages(List<String> packages)
The packages in the software source.
packages
- the value to setpublic VersionedCustomSoftwareSource build()
public VersionedCustomSoftwareSource.Builder copy(VersionedCustomSoftwareSource model)
Copyright © 2016–2024. All rights reserved.