Class WorkloadMappingSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.WorkloadMappingSummary.Builder
-
- Enclosing class:
- WorkloadMappingSummary
public static class WorkloadMappingSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public WorkloadMappingSummary.Builder id(String id)
The ocid of the workloadMapping.- Parameters:
id
- the value to set- Returns:
- this builder
-
clusterId
public WorkloadMappingSummary.Builder clusterId(String clusterId)
The OCID of the cluster.- Parameters:
clusterId
- the value to set- Returns:
- this builder
-
namespace
public WorkloadMappingSummary.Builder namespace(String namespace)
The namespace of the workloadMapping.- Parameters:
namespace
- the value to set- Returns:
- this builder
-
mappedTenancyId
public WorkloadMappingSummary.Builder mappedTenancyId(String mappedTenancyId)
The OCID of the mapped customer tenancy.- Parameters:
mappedTenancyId
- the value to set- Returns:
- this builder
-
mappedCompartmentId
public WorkloadMappingSummary.Builder mappedCompartmentId(String mappedCompartmentId)
The OCID of the mapped customer compartment.- Parameters:
mappedCompartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public WorkloadMappingSummary.Builder timeCreated(Date timeCreated)
The time the cluster was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public WorkloadMappingSummary.Builder lifecycleState(WorkloadMappingLifecycleState lifecycleState)
The state of the workloadMapping.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public WorkloadMappingSummary.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public WorkloadMappingSummary.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public WorkloadMappingSummary.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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public WorkloadMappingSummary build()
-
copy
public WorkloadMappingSummary.Builder copy(WorkloadMappingSummary model)
-
-