public static class OpensearchCluster.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OpensearchCluster.Builder |
availabilityDomains(List<String> availabilityDomains)
The availability domains to distribute the cluser nodes across.
|
OpensearchCluster |
build() |
OpensearchCluster.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where the cluster is located.
|
OpensearchCluster.Builder |
copy(OpensearchCluster model) |
OpensearchCluster.Builder |
dataNodeCount(Integer dataNodeCount)
The number of data nodes configured for the cluster.
|
OpensearchCluster.Builder |
dataNodeHostBareMetalShape(String dataNodeHostBareMetalShape)
The bare metal shape for the cluster’s data nodes.
|
OpensearchCluster.Builder |
dataNodeHostMemoryGB(Integer dataNodeHostMemoryGB)
The amount of memory in GB, for the cluster’s data nodes.
|
OpensearchCluster.Builder |
dataNodeHostOcpuCount(Integer dataNodeHostOcpuCount)
The number of OCPUs configured for the cluster’s data nodes.
|
OpensearchCluster.Builder |
dataNodeHostType(DataNodeHostType dataNodeHostType)
The instance type for the cluster’s data nodes.
|
OpensearchCluster.Builder |
dataNodeStorageGB(Integer dataNodeStorageGB)
The amount of storage in GB, to configure per node for the cluster’s data nodes.
|
OpensearchCluster.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OpensearchCluster.Builder |
displayName(String displayName)
The name of the cluster.
|
OpensearchCluster.Builder |
fqdn(String fqdn)
The fully qualified domain name (FQDN) for the cluster’s API endpoint.
|
OpensearchCluster.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OpensearchCluster.Builder |
id(String id)
The OCID of the cluster.
|
OpensearchCluster.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the cluster.
|
OpensearchCluster.Builder |
lifecycleState(OpensearchCluster.LifecycleState lifecycleState)
The current state of the cluster.
|
OpensearchCluster.Builder |
masterNodeCount(Integer masterNodeCount)
The number of master nodes configured for the cluster.
|
OpensearchCluster.Builder |
masterNodeHostBareMetalShape(String masterNodeHostBareMetalShape)
The bare metal shape for the cluster’s master nodes.
|
OpensearchCluster.Builder |
masterNodeHostMemoryGB(Integer masterNodeHostMemoryGB)
The amount of memory in GB, for the cluster’s master nodes.
|
OpensearchCluster.Builder |
masterNodeHostOcpuCount(Integer masterNodeHostOcpuCount)
The number of OCPUs configured for cluster’s master nodes.
|
OpensearchCluster.Builder |
masterNodeHostType(MasterNodeHostType masterNodeHostType)
The instance type for the cluster’s master nodes.
|
OpensearchCluster.Builder |
opendashboardFqdn(String opendashboardFqdn)
The fully qualified domain name (FQDN) for the cluster’s OpenSearch Dashboard API
endpoint.
|
OpensearchCluster.Builder |
opendashboardNodeCount(Integer opendashboardNodeCount)
The number of OpenSearch Dashboard nodes configured for the cluster.
|
OpensearchCluster.Builder |
opendashboardNodeHostMemoryGB(Integer opendashboardNodeHostMemoryGB)
The amount of memory in GB, for the cluster’s OpenSearch Dashboard nodes.
|
OpensearchCluster.Builder |
opendashboardNodeHostOcpuCount(Integer opendashboardNodeHostOcpuCount)
The amount of memory in GB, for the cluster’s OpenSearch Dashboard nodes.
|
OpensearchCluster.Builder |
opendashboardPrivateIp(String opendashboardPrivateIp)
The private IP address for the cluster’s OpenSearch Dashboard.
|
OpensearchCluster.Builder |
opensearchFqdn(String opensearchFqdn)
The fully qualified domain name (FQDN) for the cluster’s API endpoint.
|
OpensearchCluster.Builder |
opensearchPrivateIp(String opensearchPrivateIp)
The cluster’s private IP address.
|
OpensearchCluster.Builder |
securityMasterUserName(String securityMasterUserName)
The name of the master user that are used to manage security config
|
OpensearchCluster.Builder |
securityMasterUserPasswordHash(String securityMasterUserPasswordHash)
The password hash of the master user that are used to manage security config
|
OpensearchCluster.Builder |
securityMode(SecurityMode securityMode)
The security mode of the cluster.
|
OpensearchCluster.Builder |
softwareVersion(String softwareVersion)
The software version the cluster is running.
|
OpensearchCluster.Builder |
subnetCompartmentId(String subnetCompartmentId)
The OCID for the compartment where the cluster’s subnet is located.
|
OpensearchCluster.Builder |
subnetId(String subnetId)
The OCID of the cluster’s subnet.
|
OpensearchCluster.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
OpensearchCluster.Builder |
timeCreated(Date timeCreated)
The amount of time in milliseconds since the cluster was created.
|
OpensearchCluster.Builder |
timeDeleted(Date timeDeleted)
The amount of time in milliseconds since the cluster was updated.
|
OpensearchCluster.Builder |
timeUpdated(Date timeUpdated)
The amount of time in milliseconds since the cluster was updated.
|
OpensearchCluster.Builder |
totalStorageGB(Integer totalStorageGB)
The size in GB of the cluster’s total storage.
|
OpensearchCluster.Builder |
vcnCompartmentId(String vcnCompartmentId)
The OCID for the compartment where the cluster’s VCN is located.
|
OpensearchCluster.Builder |
vcnId(String vcnId)
The OCID of the cluster’s VCN.
|
public OpensearchCluster.Builder id(String id)
The OCID of the cluster.
id
- the value to setpublic OpensearchCluster.Builder displayName(String displayName)
The name of the cluster. Avoid entering confidential information.
displayName
- the value to setpublic OpensearchCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment where the cluster is located.
compartmentId
- the value to setpublic OpensearchCluster.Builder lifecycleState(OpensearchCluster.LifecycleState lifecycleState)
The current state of the cluster.
lifecycleState
- the value to setpublic OpensearchCluster.Builder timeCreated(Date timeCreated)
The amount of time in milliseconds since the cluster was created.
timeCreated
- the value to setpublic OpensearchCluster.Builder timeUpdated(Date timeUpdated)
The amount of time in milliseconds since the cluster was updated.
timeUpdated
- the value to setpublic OpensearchCluster.Builder timeDeleted(Date timeDeleted)
The amount of time in milliseconds since the cluster was updated.
timeDeleted
- the value to setpublic OpensearchCluster.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the cluster.
lifecycleDetails
- the value to setpublic OpensearchCluster.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 OpensearchCluster.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 OpensearchCluster.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 OpensearchCluster.Builder softwareVersion(String softwareVersion)
The software version the cluster is running.
softwareVersion
- the value to setpublic OpensearchCluster.Builder totalStorageGB(Integer totalStorageGB)
The size in GB of the cluster’s total storage.
totalStorageGB
- the value to setpublic OpensearchCluster.Builder opensearchFqdn(String opensearchFqdn)
The fully qualified domain name (FQDN) for the cluster’s API endpoint.
opensearchFqdn
- the value to setpublic OpensearchCluster.Builder opensearchPrivateIp(String opensearchPrivateIp)
The cluster’s private IP address.
opensearchPrivateIp
- the value to setpublic OpensearchCluster.Builder opendashboardFqdn(String opendashboardFqdn)
The fully qualified domain name (FQDN) for the cluster’s OpenSearch Dashboard API endpoint.
opendashboardFqdn
- the value to setpublic OpensearchCluster.Builder opendashboardPrivateIp(String opendashboardPrivateIp)
The private IP address for the cluster’s OpenSearch Dashboard.
opendashboardPrivateIp
- the value to setpublic OpensearchCluster.Builder masterNodeCount(Integer masterNodeCount)
The number of master nodes configured for the cluster.
masterNodeCount
- the value to setpublic OpensearchCluster.Builder masterNodeHostType(MasterNodeHostType masterNodeHostType)
The instance type for the cluster’s master nodes.
masterNodeHostType
- the value to setpublic OpensearchCluster.Builder masterNodeHostBareMetalShape(String masterNodeHostBareMetalShape)
The bare metal shape for the cluster’s master nodes.
masterNodeHostBareMetalShape
- the value to setpublic OpensearchCluster.Builder masterNodeHostOcpuCount(Integer masterNodeHostOcpuCount)
The number of OCPUs configured for cluster’s master nodes.
masterNodeHostOcpuCount
- the value to setpublic OpensearchCluster.Builder masterNodeHostMemoryGB(Integer masterNodeHostMemoryGB)
The amount of memory in GB, for the cluster’s master nodes.
masterNodeHostMemoryGB
- the value to setpublic OpensearchCluster.Builder dataNodeCount(Integer dataNodeCount)
The number of data nodes configured for the cluster.
dataNodeCount
- the value to setpublic OpensearchCluster.Builder dataNodeHostType(DataNodeHostType dataNodeHostType)
The instance type for the cluster’s data nodes.
dataNodeHostType
- the value to setpublic OpensearchCluster.Builder dataNodeHostBareMetalShape(String dataNodeHostBareMetalShape)
The bare metal shape for the cluster’s data nodes.
dataNodeHostBareMetalShape
- the value to setpublic OpensearchCluster.Builder dataNodeHostOcpuCount(Integer dataNodeHostOcpuCount)
The number of OCPUs configured for the cluster’s data nodes.
dataNodeHostOcpuCount
- the value to setpublic OpensearchCluster.Builder dataNodeHostMemoryGB(Integer dataNodeHostMemoryGB)
The amount of memory in GB, for the cluster’s data nodes.
dataNodeHostMemoryGB
- the value to setpublic OpensearchCluster.Builder dataNodeStorageGB(Integer dataNodeStorageGB)
The amount of storage in GB, to configure per node for the cluster’s data nodes.
dataNodeStorageGB
- the value to setpublic OpensearchCluster.Builder opendashboardNodeCount(Integer opendashboardNodeCount)
The number of OpenSearch Dashboard nodes configured for the cluster.
opendashboardNodeCount
- the value to setpublic OpensearchCluster.Builder opendashboardNodeHostOcpuCount(Integer opendashboardNodeHostOcpuCount)
The amount of memory in GB, for the cluster’s OpenSearch Dashboard nodes.
opendashboardNodeHostOcpuCount
- the value to setpublic OpensearchCluster.Builder opendashboardNodeHostMemoryGB(Integer opendashboardNodeHostMemoryGB)
The amount of memory in GB, for the cluster’s OpenSearch Dashboard nodes.
opendashboardNodeHostMemoryGB
- the value to setpublic OpensearchCluster.Builder vcnId(String vcnId)
The OCID of the cluster’s VCN.
vcnId
- the value to setpublic OpensearchCluster.Builder subnetId(String subnetId)
The OCID of the cluster’s subnet.
subnetId
- the value to setpublic OpensearchCluster.Builder vcnCompartmentId(String vcnCompartmentId)
The OCID for the compartment where the cluster’s VCN is located.
vcnCompartmentId
- the value to setpublic OpensearchCluster.Builder subnetCompartmentId(String subnetCompartmentId)
The OCID for the compartment where the cluster’s subnet is located.
subnetCompartmentId
- the value to setpublic OpensearchCluster.Builder fqdn(String fqdn)
The fully qualified domain name (FQDN) for the cluster’s API endpoint.
fqdn
- the value to setpublic OpensearchCluster.Builder availabilityDomains(List<String> availabilityDomains)
The availability domains to distribute the cluser nodes across.
availabilityDomains
- the value to setpublic OpensearchCluster.Builder securityMode(SecurityMode securityMode)
The security mode of the cluster.
securityMode
- the value to setpublic OpensearchCluster.Builder securityMasterUserName(String securityMasterUserName)
The name of the master user that are used to manage security config
securityMasterUserName
- the value to setpublic OpensearchCluster.Builder securityMasterUserPasswordHash(String securityMasterUserPasswordHash)
The password hash of the master user that are used to manage security config
securityMasterUserPasswordHash
- the value to setpublic OpensearchCluster build()
public OpensearchCluster.Builder copy(OpensearchCluster model)
Copyright © 2016–2024. All rights reserved.