public static class OpensearchClusterSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OpensearchClusterSummary.Builder |
availabilityDomains(List<String> availabilityDomains)
The availability domains to distribute the cluser nodes across.
|
OpensearchClusterSummary |
build() |
OpensearchClusterSummary.Builder |
compartmentId(String compartmentId)
The OCID for the compartment where the cluster is located.
|
OpensearchClusterSummary.Builder |
copy(OpensearchClusterSummary model) |
OpensearchClusterSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OpensearchClusterSummary.Builder |
displayName(String displayName)
The name of the cluster.
|
OpensearchClusterSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OpensearchClusterSummary.Builder |
id(String id)
The OCID of the cluster.
|
OpensearchClusterSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the cluster.
|
OpensearchClusterSummary.Builder |
lifecycleState(OpensearchCluster.LifecycleState lifecycleState)
The current state of the cluster.
|
OpensearchClusterSummary.Builder |
securityMode(SecurityMode securityMode)
The security mode of the cluster.
|
OpensearchClusterSummary.Builder |
softwareVersion(String softwareVersion)
The software version the cluster is running.
|
OpensearchClusterSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
OpensearchClusterSummary.Builder |
timeCreated(Date timeCreated)
The date and time the cluster was created.
|
OpensearchClusterSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the cluster was updated.
|
OpensearchClusterSummary.Builder |
totalStorageGB(Integer totalStorageGB)
The total amount of storage in GB, for the cluster.
|
public OpensearchClusterSummary.Builder id(String id)
The OCID of the cluster.
id
- the value to setpublic OpensearchClusterSummary.Builder displayName(String displayName)
The name of the cluster. Avoid entering confidential information.
displayName
- the value to setpublic OpensearchClusterSummary.Builder compartmentId(String compartmentId)
The OCID for the compartment where the cluster is located.
compartmentId
- the value to setpublic OpensearchClusterSummary.Builder timeCreated(Date timeCreated)
The date and time the cluster was created. Format defined by RFC3339.
timeCreated
- the value to setpublic OpensearchClusterSummary.Builder timeUpdated(Date timeUpdated)
The date and time the cluster was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic OpensearchClusterSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the cluster.
lifecycleDetails
- the value to setpublic OpensearchClusterSummary.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 OpensearchClusterSummary.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 OpensearchClusterSummary.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 OpensearchClusterSummary.Builder softwareVersion(String softwareVersion)
The software version the cluster is running.
softwareVersion
- the value to setpublic OpensearchClusterSummary.Builder totalStorageGB(Integer totalStorageGB)
The total amount of storage in GB, for the cluster.
totalStorageGB
- the value to setpublic OpensearchClusterSummary.Builder lifecycleState(OpensearchCluster.LifecycleState lifecycleState)
The current state of the cluster.
lifecycleState
- the value to setpublic OpensearchClusterSummary.Builder availabilityDomains(List<String> availabilityDomains)
The availability domains to distribute the cluser nodes across.
availabilityDomains
- the value to setpublic OpensearchClusterSummary.Builder securityMode(SecurityMode securityMode)
The security mode of the cluster.
securityMode
- the value to setpublic OpensearchClusterSummary build()
public OpensearchClusterSummary.Builder copy(OpensearchClusterSummary model)
Copyright © 2016–2024. All rights reserved.