Package com.oracle.bmc.servicemesh.model
Class MeshSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.servicemesh.model.MeshSummary.Builder
-
- Enclosing class:
- MeshSummary
public static class MeshSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MeshSummary
build()
MeshSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.MeshSummary.Builder
copy(MeshSummary model)
MeshSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MeshSummary.Builder
description(String description)
Description of the resource.MeshSummary.Builder
displayName(String displayName)
A user-friendly name.MeshSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.MeshSummary.Builder
id(String id)
Unique identifier that is immutable on creation.MeshSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.MeshSummary.Builder
lifecycleState(Mesh.LifecycleState lifecycleState)
The current state of the Mesh.MeshSummary.Builder
mtls(MeshMutualTransportLayerSecurity mtls)
MeshSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.MeshSummary.Builder
timeCreated(Date timeCreated)
The time when this resource was created in an RFC3339 formatted datetime string.MeshSummary.Builder
timeUpdated(Date timeUpdated)
The time when this resource was updated in an RFC3339 formatted datetime string.
-
-
-
Method Detail
-
id
public MeshSummary.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public MeshSummary.Builder displayName(String displayName)
A user-friendly name.The name does not have to be unique and can be changed after creation. Avoid entering confidential information.
Example: My new resource
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public MeshSummary.Builder description(String description)
Description of the resource.It can be changed after creation. Avoid entering confidential information.
Example: This is my new resource
- Parameters:
description
- the value to set- Returns:
- this builder
-
mtls
public MeshSummary.Builder mtls(MeshMutualTransportLayerSecurity mtls)
-
compartmentId
public MeshSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public MeshSummary.Builder timeCreated(Date timeCreated)
The time when this resource was created in an RFC3339 formatted datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public MeshSummary.Builder timeUpdated(Date timeUpdated)
The time when this resource was updated in an RFC3339 formatted datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public MeshSummary.Builder lifecycleState(Mesh.LifecycleState lifecycleState)
The current state of the Mesh.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MeshSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in a Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public MeshSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public MeshSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public MeshSummary.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 MeshSummary build()
-
copy
public MeshSummary.Builder copy(MeshSummary model)
-
-