Class CreateSoftwareSourceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.CreateSoftwareSourceDetails.Builder
-
- Enclosing class:
- CreateSoftwareSourceDetails
public static class CreateSoftwareSourceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSoftwareSourceDetails.Builder
archType(ArchTypes archType)
The architecture type supported by the Software SourceCreateSoftwareSourceDetails
build()
CreateSoftwareSourceDetails.Builder
checksumType(ChecksumTypes checksumType)
The yum repository checksum type used by this software sourceCreateSoftwareSourceDetails.Builder
compartmentId(String compartmentId)
OCID for the CompartmentCreateSoftwareSourceDetails.Builder
copy(CreateSoftwareSourceDetails model)
CreateSoftwareSourceDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateSoftwareSourceDetails.Builder
description(String description)
Information specified by the user about the software sourceCreateSoftwareSourceDetails.Builder
displayName(String displayName)
User friendly name for the software sourceCreateSoftwareSourceDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CreateSoftwareSourceDetails.Builder
maintainerEmail(String maintainerEmail)
Email address of the person maintaining this software sourceCreateSoftwareSourceDetails.Builder
maintainerName(String maintainerName)
Name of the person maintaining this software sourceCreateSoftwareSourceDetails.Builder
maintainerPhone(String maintainerPhone)
Phone number of the person maintaining this software sourceCreateSoftwareSourceDetails.Builder
parentId(String parentId)
OCID for the parent software source, if there is one
-
-
-
Method Detail
-
compartmentId
public CreateSoftwareSourceDetails.Builder compartmentId(String compartmentId)
OCID for the Compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public CreateSoftwareSourceDetails.Builder displayName(String displayName)
User friendly name for the software source- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateSoftwareSourceDetails.Builder description(String description)
Information specified by the user about the software source- Parameters:
description
- the value to set- Returns:
- this builder
-
archType
public CreateSoftwareSourceDetails.Builder archType(ArchTypes archType)
The architecture type supported by the Software Source- Parameters:
archType
- the value to set- Returns:
- this builder
-
maintainerName
public CreateSoftwareSourceDetails.Builder maintainerName(String maintainerName)
Name of the person maintaining this software source- Parameters:
maintainerName
- the value to set- Returns:
- this builder
-
maintainerEmail
public CreateSoftwareSourceDetails.Builder maintainerEmail(String maintainerEmail)
Email address of the person maintaining this software source- Parameters:
maintainerEmail
- the value to set- Returns:
- this builder
-
maintainerPhone
public CreateSoftwareSourceDetails.Builder maintainerPhone(String maintainerPhone)
Phone number of the person maintaining this software source- Parameters:
maintainerPhone
- the value to set- Returns:
- this builder
-
checksumType
public CreateSoftwareSourceDetails.Builder checksumType(ChecksumTypes checksumType)
The yum repository checksum type used by this software source- Parameters:
checksumType
- the value to set- Returns:
- this builder
-
parentId
public CreateSoftwareSourceDetails.Builder parentId(String parentId)
OCID for the parent software source, if there is one- Parameters:
parentId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateSoftwareSourceDetails.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 CreateSoftwareSourceDetails.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 CreateSoftwareSourceDetails build()
-
copy
public CreateSoftwareSourceDetails.Builder copy(CreateSoftwareSourceDetails model)
-
-