public static class SoftwareSource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SoftwareSource.Builder |
archType(ArchTypes archType)
The architecture type supported by the Software Source
|
SoftwareSource.Builder |
associatedManagedInstances(List<Id> associatedManagedInstances)
list of the Managed Instances associated with this Software Sources
|
SoftwareSource |
build() |
SoftwareSource.Builder |
checksumType(ChecksumTypes checksumType)
The yum repository checksum type used by this software source
|
SoftwareSource.Builder |
compartmentId(String compartmentId)
OCID for the Compartment
|
SoftwareSource.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 source
|
SoftwareSource.Builder |
displayName(String displayName)
User friendly name for the software source
|
SoftwareSource.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 source
|
SoftwareSource.Builder |
gpgKeyId(String gpgKeyId)
ID of the GPG key for this software source
|
SoftwareSource.Builder |
gpgKeyUrl(String gpgKeyUrl)
URL of the GPG key for this software source
|
SoftwareSource.Builder |
id(String id)
OCID for the Software Source
|
SoftwareSource.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current state of the Software Source.
|
SoftwareSource.Builder |
maintainerEmail(String maintainerEmail)
Email address of the person maintaining this software source
|
SoftwareSource.Builder |
maintainerName(String maintainerName)
Name of the person maintaining this software source
|
SoftwareSource.Builder |
maintainerPhone(String maintainerPhone)
Phone number of the person maintaining this software source
|
SoftwareSource.Builder |
packages(Integer packages)
Number of packages
|
SoftwareSource.Builder |
parentId(String parentId)
OCID for the parent software source, if there is one
|
SoftwareSource.Builder |
parentName(String parentName)
Display name the parent software source, if there is one
|
SoftwareSource.Builder |
repoType(String repoType)
Type of the Software Source
|
SoftwareSource.Builder |
status(SoftwareSource.Status status)
status of the software source.
|
SoftwareSource.Builder |
url(String url)
URL for the repostiory
|
public SoftwareSource.Builder id(String id)
OCID for the Software Source
id
- the value to setpublic SoftwareSource.Builder compartmentId(String compartmentId)
OCID for the Compartment
compartmentId
- the value to setpublic SoftwareSource.Builder displayName(String displayName)
User friendly name for the software source
displayName
- the value to setpublic SoftwareSource.Builder description(String description)
Information specified by the user about the software source
description
- the value to setpublic SoftwareSource.Builder repoType(String repoType)
Type of the Software Source
repoType
- the value to setpublic SoftwareSource.Builder archType(ArchTypes archType)
The architecture type supported by the Software Source
archType
- the value to setpublic SoftwareSource.Builder url(String url)
URL for the repostiory
url
- the value to setpublic SoftwareSource.Builder parentId(String parentId)
OCID for the parent software source, if there is one
parentId
- the value to setpublic SoftwareSource.Builder parentName(String parentName)
Display name the parent software source, if there is one
parentName
- the value to setpublic SoftwareSource.Builder checksumType(ChecksumTypes checksumType)
The yum repository checksum type used by this software source
checksumType
- the value to setpublic SoftwareSource.Builder maintainerName(String maintainerName)
Name of the person maintaining this software source
maintainerName
- the value to setpublic SoftwareSource.Builder maintainerEmail(String maintainerEmail)
Email address of the person maintaining this software source
maintainerEmail
- the value to setpublic SoftwareSource.Builder maintainerPhone(String maintainerPhone)
Phone number of the person maintaining this software source
maintainerPhone
- the value to setpublic SoftwareSource.Builder gpgKeyUrl(String gpgKeyUrl)
URL of the GPG key for this software source
gpgKeyUrl
- the value to setpublic SoftwareSource.Builder gpgKeyId(String gpgKeyId)
ID of the GPG key for this software source
gpgKeyId
- the value to setpublic SoftwareSource.Builder gpgKeyFingerprint(String gpgKeyFingerprint)
Fingerprint of the GPG key for this software source
gpgKeyFingerprint
- the value to setpublic SoftwareSource.Builder status(SoftwareSource.Status status)
status of the software source.
status
- the value to setpublic SoftwareSource.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Software Source.
lifecycleState
- the value to setpublic SoftwareSource.Builder packages(Integer packages)
Number of packages
packages
- the value to setpublic SoftwareSource.Builder associatedManagedInstances(List<Id> associatedManagedInstances)
list of the Managed Instances associated with this Software Sources
associatedManagedInstances
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic SoftwareSource build()
public SoftwareSource.Builder copy(SoftwareSource model)
Copyright © 2016–2024. All rights reserved.