public static class WorkloadMapping.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkloadMapping |
build() |
WorkloadMapping.Builder |
clusterId(String clusterId)
The OCID of the cluster.
|
WorkloadMapping.Builder |
copy(WorkloadMapping model) |
WorkloadMapping.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
WorkloadMapping.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
WorkloadMapping.Builder |
id(String id)
The ocid of the workloadMapping.
|
WorkloadMapping.Builder |
lifecycleState(WorkloadMappingLifecycleState lifecycleState)
The state of the workloadMapping.
|
WorkloadMapping.Builder |
mappedCompartmentId(String mappedCompartmentId)
The OCID of the mapped customer compartment.
|
WorkloadMapping.Builder |
mappedTenancyId(String mappedTenancyId)
The OCID of the mapped customer tenancy.
|
WorkloadMapping.Builder |
namespace(String namespace)
The namespace of the workloadMapping.
|
WorkloadMapping.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
WorkloadMapping.Builder |
timeCreated(Date timeCreated)
The time the cluster was created.
|
public WorkloadMapping.Builder id(String id)
The ocid of the workloadMapping.
id
- the value to setpublic WorkloadMapping.Builder clusterId(String clusterId)
The OCID of the cluster.
clusterId
- the value to setpublic WorkloadMapping.Builder namespace(String namespace)
The namespace of the workloadMapping.
namespace
- the value to setpublic WorkloadMapping.Builder mappedTenancyId(String mappedTenancyId)
The OCID of the mapped customer tenancy.
mappedTenancyId
- the value to setpublic WorkloadMapping.Builder mappedCompartmentId(String mappedCompartmentId)
The OCID of the mapped customer compartment.
mappedCompartmentId
- the value to setpublic WorkloadMapping.Builder timeCreated(Date timeCreated)
The time the cluster was created.
timeCreated
- the value to setpublic WorkloadMapping.Builder lifecycleState(WorkloadMappingLifecycleState lifecycleState)
The state of the workloadMapping.
lifecycleState
- the value to setpublic WorkloadMapping.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 WorkloadMapping.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 WorkloadMapping.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic WorkloadMapping build()
public WorkloadMapping.Builder copy(WorkloadMapping model)
Copyright © 2016–2024. All rights reserved.