Class SoftwareSource.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.SoftwareSource.Builder
-
- Enclosing class:
- SoftwareSource
public static class SoftwareSource.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoftwareSource.Builder
archType(ArchTypes archType)
The architecture type supported by the Software SourceSoftwareSource.Builder
associatedManagedInstances(List<Id> associatedManagedInstances)
list of the Managed Instances associated with this Software SourcesSoftwareSource
build()
SoftwareSource.Builder
checksumType(ChecksumTypes checksumType)
The yum repository checksum type used by this software sourceSoftwareSource.Builder
compartmentId(String compartmentId)
OCID for the CompartmentSoftwareSource.Builder
copy(SoftwareSource model)
SoftwareSource.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SoftwareSource.Builder
description(String description)
Information specified by the user about the software sourceSoftwareSource.Builder
displayName(String displayName)
User friendly name for the software sourceSoftwareSource.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.SoftwareSource.Builder
gpgKeyFingerprint(String gpgKeyFingerprint)
Fingerprint of the GPG key for this software sourceSoftwareSource.Builder
gpgKeyId(String gpgKeyId)
ID of the GPG key for this software sourceSoftwareSource.Builder
gpgKeyUrl(String gpgKeyUrl)
URL of the GPG key for this software sourceSoftwareSource.Builder
id(String id)
OCID for the Software SourceSoftwareSource.Builder
lifecycleState(LifecycleStates lifecycleState)
The current state of the Software Source.SoftwareSource.Builder
maintainerEmail(String maintainerEmail)
Email address of the person maintaining this software sourceSoftwareSource.Builder
maintainerName(String maintainerName)
Name of the person maintaining this software sourceSoftwareSource.Builder
maintainerPhone(String maintainerPhone)
Phone number of the person maintaining this software sourceSoftwareSource.Builder
packages(Integer packages)
Number of packagesSoftwareSource.Builder
parentId(String parentId)
OCID for the parent software source, if there is oneSoftwareSource.Builder
parentName(String parentName)
Display name the parent software source, if there is oneSoftwareSource.Builder
repoType(String repoType)
Type of the Software SourceSoftwareSource.Builder
status(SoftwareSource.Status status)
status of the software source.SoftwareSource.Builder
url(String url)
URL for the repostiory
-
-
-
Method Detail
-
id
public SoftwareSource.Builder id(String id)
OCID for the Software Source- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public SoftwareSource.Builder compartmentId(String compartmentId)
OCID for the Compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public SoftwareSource.Builder displayName(String displayName)
User friendly name for the software source- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public SoftwareSource.Builder description(String description)
Information specified by the user about the software source- Parameters:
description
- the value to set- Returns:
- this builder
-
repoType
public SoftwareSource.Builder repoType(String repoType)
Type of the Software Source- Parameters:
repoType
- the value to set- Returns:
- this builder
-
archType
public SoftwareSource.Builder archType(ArchTypes archType)
The architecture type supported by the Software Source- Parameters:
archType
- the value to set- Returns:
- this builder
-
url
public SoftwareSource.Builder url(String url)
URL for the repostiory- Parameters:
url
- the value to set- Returns:
- this builder
-
parentId
public SoftwareSource.Builder parentId(String parentId)
OCID for the parent software source, if there is one- Parameters:
parentId
- the value to set- Returns:
- this builder
-
parentName
public SoftwareSource.Builder parentName(String parentName)
Display name the parent software source, if there is one- Parameters:
parentName
- the value to set- Returns:
- this builder
-
checksumType
public SoftwareSource.Builder checksumType(ChecksumTypes checksumType)
The yum repository checksum type used by this software source- Parameters:
checksumType
- the value to set- Returns:
- this builder
-
maintainerName
public SoftwareSource.Builder maintainerName(String maintainerName)
Name of the person maintaining this software source- Parameters:
maintainerName
- the value to set- Returns:
- this builder
-
maintainerEmail
public SoftwareSource.Builder maintainerEmail(String maintainerEmail)
Email address of the person maintaining this software source- Parameters:
maintainerEmail
- the value to set- Returns:
- this builder
-
maintainerPhone
public SoftwareSource.Builder maintainerPhone(String maintainerPhone)
Phone number of the person maintaining this software source- Parameters:
maintainerPhone
- the value to set- Returns:
- this builder
-
gpgKeyUrl
public SoftwareSource.Builder gpgKeyUrl(String gpgKeyUrl)
URL of the GPG key for this software source- Parameters:
gpgKeyUrl
- the value to set- Returns:
- this builder
-
gpgKeyId
public SoftwareSource.Builder gpgKeyId(String gpgKeyId)
ID of the GPG key for this software source- Parameters:
gpgKeyId
- the value to set- Returns:
- this builder
-
gpgKeyFingerprint
public SoftwareSource.Builder gpgKeyFingerprint(String gpgKeyFingerprint)
Fingerprint of the GPG key for this software source- Parameters:
gpgKeyFingerprint
- the value to set- Returns:
- this builder
-
status
public SoftwareSource.Builder status(SoftwareSource.Status status)
status of the software source.- Parameters:
status
- the value to set- Returns:
- this builder
-
lifecycleState
public SoftwareSource.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Software Source.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
packages
public SoftwareSource.Builder packages(Integer packages)
Number of packages- Parameters:
packages
- the value to set- Returns:
- this builder
-
associatedManagedInstances
public SoftwareSource.Builder associatedManagedInstances(List<Id> associatedManagedInstances)
list of the Managed Instances associated with this Software Sources- Parameters:
associatedManagedInstances
- the value to set- Returns:
- this builder
-
freeformTags
public SoftwareSource.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public SoftwareSource.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public SoftwareSource build()
-
copy
public SoftwareSource.Builder copy(SoftwareSource model)
-
-