Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Mesh |
build() |
Mesh.Builder |
certificateAuthorities(List<CertificateAuthority> certificateAuthorities)
A list of certificate authority resources to use for creating leaf certificates for mTLS
authentication.
|
Mesh.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
Mesh.Builder |
copy(Mesh model) |
Mesh.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Mesh.Builder |
description(String description)
Description of the resource.
|
Mesh.Builder |
displayName(String displayName)
A user-friendly name.
|
Mesh.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Mesh.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
Mesh.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Mesh.Builder |
lifecycleState(Mesh.LifecycleState lifecycleState)
The current state of the Resource.
|
Mesh.Builder |
mtls(MeshMutualTransportLayerSecurity mtls) |
Mesh.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Mesh.Builder |
timeCreated(Date timeCreated)
The time when this resource was created in an RFC3339 formatted datetime string.
|
Mesh.Builder |
timeUpdated(Date timeUpdated)
The time when this resource was updated in an RFC3339 formatted datetime string.
|
public Mesh.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic Mesh.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
displayName
- the value to setpublic Mesh.Builder description(String description)
Description of the resource. It can be changed after creation. Avoid entering confidential information.
Example: This is my new resource
description
- the value to setpublic Mesh.Builder certificateAuthorities(List<CertificateAuthority> certificateAuthorities)
A list of certificate authority resources to use for creating leaf certificates for mTLS authentication. Currently we only support one certificate authority, but this may expand in future releases. Request with more than one certificate authority will be rejected.
certificateAuthorities
- the value to setpublic Mesh.Builder mtls(MeshMutualTransportLayerSecurity mtls)
public Mesh.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic Mesh.Builder timeCreated(Date timeCreated)
The time when this resource was created in an RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Mesh.Builder timeUpdated(Date timeUpdated)
The time when this resource was updated in an RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Mesh.Builder lifecycleState(Mesh.LifecycleState lifecycleState)
The current state of the Resource.
lifecycleState
- the value to setpublic Mesh.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.
lifecycleDetails
- the value to setpublic Mesh.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"}
freeformTags
- the value to setpublic Mesh.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"}}
definedTags
- the value to setpublic Mesh.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 Mesh build()
public Mesh.Builder copy(Mesh model)
Copyright © 2016–2024. All rights reserved.