public static class WorkloadMappingSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public WorkloadMappingSummary.Builder id(String id)
The ocid of the workloadMapping.
id
- the value to setpublic WorkloadMappingSummary.Builder clusterId(String clusterId)
The OCID of the cluster.
clusterId
- the value to setpublic WorkloadMappingSummary.Builder namespace(String namespace)
The namespace of the workloadMapping.
namespace
- the value to setpublic WorkloadMappingSummary.Builder mappedTenancyId(String mappedTenancyId)
The OCID of the mapped customer tenancy.
mappedTenancyId
- the value to setpublic WorkloadMappingSummary.Builder mappedCompartmentId(String mappedCompartmentId)
The OCID of the mapped customer compartment.
mappedCompartmentId
- the value to setpublic WorkloadMappingSummary.Builder timeCreated(Date timeCreated)
The time the cluster was created.
timeCreated
- the value to setpublic WorkloadMappingSummary.Builder lifecycleState(WorkloadMappingLifecycleState lifecycleState)
The state of the workloadMapping.
lifecycleState
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic WorkloadMappingSummary build()
public WorkloadMappingSummary.Builder copy(WorkloadMappingSummary model)
Copyright © 2016–2024. All rights reserved.