public static class CreateSourceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateSourceDetails.Builder |
authorizationDetails(AuthorizationDetails authorizationDetails) |
CreateSourceDetails |
build() |
CreateSourceDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the source.
|
CreateSourceDetails.Builder |
copy(CreateSourceDetails model) |
CreateSourceDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateSourceDetails.Builder |
description(String description)
Description of the source.
|
CreateSourceDetails.Builder |
displayName(String displayName)
Name of the source.
|
CreateSourceDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateSourceDetails.Builder |
sourceDetails(SourceDetails sourceDetails) |
public CreateSourceDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the source.
compartmentId
- the value to setpublic CreateSourceDetails.Builder displayName(String displayName)
Name of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.
displayName
- the value to setpublic CreateSourceDetails.Builder description(String description)
Description of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.
description
- the value to setpublic CreateSourceDetails.Builder sourceDetails(SourceDetails sourceDetails)
public CreateSourceDetails.Builder authorizationDetails(AuthorizationDetails authorizationDetails)
public CreateSourceDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic CreateSourceDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CreateSourceDetails build()
public CreateSourceDetails.Builder copy(CreateSourceDetails model)
Copyright © 2016–2023. All rights reserved.