Class WorkloadMapping.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.WorkloadMapping.Builder
 
- 
- Enclosing class:
- WorkloadMapping
 
 public static class WorkloadMapping.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkloadMappingbuild()WorkloadMapping.BuilderclusterId(String clusterId)The OCID of the cluster.WorkloadMapping.Buildercopy(WorkloadMapping model)WorkloadMapping.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.WorkloadMapping.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.WorkloadMapping.Builderid(String id)The ocid of the workloadMapping.WorkloadMapping.BuilderlifecycleState(WorkloadMappingLifecycleState lifecycleState)The state of the workloadMapping.WorkloadMapping.BuildermappedCompartmentId(String mappedCompartmentId)The OCID of the mapped customer compartment.WorkloadMapping.BuildermappedTenancyId(String mappedTenancyId)The OCID of the mapped customer tenancy.WorkloadMapping.Buildernamespace(String namespace)The namespace of the workloadMapping.WorkloadMapping.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.WorkloadMapping.BuildertimeCreated(Date timeCreated)The time the cluster was created.
 
- 
- 
- 
Method Detail- 
idpublic WorkloadMapping.Builder id(String id) The ocid of the workloadMapping.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
clusterIdpublic WorkloadMapping.Builder clusterId(String clusterId) The OCID of the cluster.- Parameters:
- clusterId- the value to set
- Returns:
- this builder
 
 - 
namespacepublic WorkloadMapping.Builder namespace(String namespace) The namespace of the workloadMapping.- Parameters:
- namespace- the value to set
- Returns:
- this builder
 
 - 
mappedTenancyIdpublic WorkloadMapping.Builder mappedTenancyId(String mappedTenancyId) The OCID of the mapped customer tenancy.- Parameters:
- mappedTenancyId- the value to set
- Returns:
- this builder
 
 - 
mappedCompartmentIdpublic WorkloadMapping.Builder mappedCompartmentId(String mappedCompartmentId) The OCID of the mapped customer compartment.- Parameters:
- mappedCompartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic WorkloadMapping.Builder timeCreated(Date timeCreated) The time the cluster was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic WorkloadMapping.Builder lifecycleState(WorkloadMappingLifecycleState lifecycleState) The state of the workloadMapping.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic WorkloadMapping build() 
 - 
copypublic WorkloadMapping.Builder copy(WorkloadMapping model) 
 
- 
 
-