Class OpensearchCluster
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.opensearch.model.OpensearchCluster
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20180828") public final class OpensearchCluster extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAn OpenSearch cluster resource.An OpenSearch cluster is set of instances that provide OpenSearch functionality in OCI Search Service with OpenSearch. For more information, see About Search Service with OpenSearch. 
 Note: Objects should always be created or deserialized using theOpensearchCluster.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theOpensearchCluster.Builder, which maintain a set of all explicitly set fields calledOpensearchCluster.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOpensearchCluster.Builderstatic classOpensearchCluster.LifecycleStateThe current state of the cluster.
 - 
Constructor SummaryConstructors Constructor Description OpensearchCluster(String id, String displayName, String compartmentId, OpensearchCluster.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, Date timeDeleted, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Map<String,Map<String,Object>> securityAttributes, String softwareVersion, Integer totalStorageGB, String opensearchFqdn, String opensearchPrivateIp, String opendashboardFqdn, String opendashboardPrivateIp, Integer masterNodeCount, MasterNodeHostType masterNodeHostType, String masterNodeHostBareMetalShape, String masterNodeHostShape, Integer masterNodeHostOcpuCount, Integer masterNodeHostMemoryGB, Integer dataNodeCount, DataNodeHostType dataNodeHostType, String dataNodeHostBareMetalShape, String dataNodeHostShape, Integer dataNodeHostOcpuCount, Integer dataNodeHostMemoryGB, Integer dataNodeStorageGB, Integer searchNodeCount, SearchNodeHostType searchNodeHostType, String searchNodeHostShape, Integer searchNodeHostOcpuCount, Integer searchNodeHostMemoryGB, Integer searchNodeStorageGB, String opendashboardNodeHostShape, Integer opendashboardNodeCount, Integer opendashboardNodeHostOcpuCount, Integer opendashboardNodeHostMemoryGB, String vcnId, String subnetId, String vcnCompartmentId, String subnetCompartmentId, String fqdn, List<String> availabilityDomains, SecurityMode securityMode, String securityMasterUserName, String securityMasterUserPasswordHash, SecuritySamlConfig securitySamlConfig, BackupPolicy backupPolicy, String nsgId, List<String> reverseConnectionEndpointCustomerIps, List<ReverseConnectionEndpoint> reverseConnectionEndpoints, OutboundClusterConfig outboundClusterConfig, List<String> inboundClusterIds, MaintenanceDetails maintenanceDetails, CertificateConfig certificateConfig)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpensearchCluster.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAvailabilityDomains()The availability domains to distribute the cluser nodes across.BackupPolicygetBackupPolicy()CertificateConfiggetCertificateConfig()StringgetCompartmentId()The OCID of the compartment where the cluster is located.IntegergetDataNodeCount()The number of data nodes configured for the cluster.StringgetDataNodeHostBareMetalShape()The bare metal shape for the cluster’s data nodes.IntegergetDataNodeHostMemoryGB()The amount of memory in GB, for the cluster’s data nodes.IntegergetDataNodeHostOcpuCount()The number of OCPUs configured for the cluster’s data nodes.StringgetDataNodeHostShape()The node shape for the cluster’s data nodes.DataNodeHostTypegetDataNodeHostType()The instance type for the cluster’s data nodes.IntegergetDataNodeStorageGB()The amount of storage in GB, to configure per node for the cluster’s data nodes.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()The name of the cluster.StringgetFqdn()The fully qualified domain name (FQDN) for the cluster’s API endpoint.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetId()The OCID of the cluster.List<String>getInboundClusterIds()List of inbound clusters for which this cluster is an outbound clusterStringgetLifecycleDetails()Additional information about the current lifecycle state of the cluster.OpensearchCluster.LifecycleStategetLifecycleState()The current state of the cluster.MaintenanceDetailsgetMaintenanceDetails()IntegergetMasterNodeCount()The number of master nodes configured for the cluster.StringgetMasterNodeHostBareMetalShape()The bare metal shape for the cluster’s master nodes.IntegergetMasterNodeHostMemoryGB()The amount of memory in GB, for the cluster’s master nodes.IntegergetMasterNodeHostOcpuCount()The number of OCPUs configured for cluster’s master nodes.StringgetMasterNodeHostShape()The node shape for the cluster’s master nodes.MasterNodeHostTypegetMasterNodeHostType()The instance type for the cluster’s master nodes.StringgetNsgId()The OCID of the NSG where the private endpoint vnic will be attached.StringgetOpendashboardFqdn()The fully qualified domain name (FQDN) for the cluster’s OpenSearch Dashboard API endpoint.IntegergetOpendashboardNodeCount()The number of OpenSearch Dashboard nodes configured for the cluster.IntegergetOpendashboardNodeHostMemoryGB()The amount of memory in GB, for the cluster’s OpenSearch Dashboard nodes.IntegergetOpendashboardNodeHostOcpuCount()The amount of memory in GB, for the cluster’s OpenSearch Dashboard nodes.StringgetOpendashboardNodeHostShape()The node shape for the cluster’s OpenSearch Dashboard nodes.StringgetOpendashboardPrivateIp()The private IP address for the cluster’s OpenSearch Dashboard.StringgetOpensearchFqdn()The fully qualified domain name (FQDN) for the cluster’s API endpoint.StringgetOpensearchPrivateIp()The cluster’s private IP address.OutboundClusterConfiggetOutboundClusterConfig()List<String>getReverseConnectionEndpointCustomerIps()The customer IP addresses of the endpoint in customer VCNList<ReverseConnectionEndpoint>getReverseConnectionEndpoints()The list of reverse connection endpoints.IntegergetSearchNodeCount()The number of search nodes configured for the cluster.IntegergetSearchNodeHostMemoryGB()The amount of memory in GB, for the cluster’s search nodes.IntegergetSearchNodeHostOcpuCount()The number of OCPUs configured for the cluster’s search nodes.StringgetSearchNodeHostShape()The node shape for the cluster’s search nodes.SearchNodeHostTypegetSearchNodeHostType()The instance type for the cluster’s search nodes.IntegergetSearchNodeStorageGB()The amount of storage in GB, to configure per node for the cluster’s search nodes.Map<String,Map<String,Object>>getSecurityAttributes()Security attributes for this resource.StringgetSecurityMasterUserName()The name of the master user that are used to manage security configStringgetSecurityMasterUserPasswordHash()The password hash of the master user that are used to manage security configSecurityModegetSecurityMode()The security mode of the cluster.SecuritySamlConfiggetSecuritySamlConfig()StringgetSoftwareVersion()The software version the cluster is running.StringgetSubnetCompartmentId()The OCID for the compartment where the cluster’s subnet is located.StringgetSubnetId()The OCID of the cluster’s subnet.Map<String,Map<String,Object>>getSystemTags()Usage of system tag keys.DategetTimeCreated()The amount of time in milliseconds since the cluster was created.DategetTimeDeleted()The amount of time in milliseconds since the cluster was updated.DategetTimeUpdated()The amount of time in milliseconds since the cluster was updated.IntegergetTotalStorageGB()The size in GB of the cluster’s total storage.StringgetVcnCompartmentId()The OCID for the compartment where the cluster’s VCN is located.StringgetVcnId()The OCID of the cluster’s VCN.inthashCode()OpensearchCluster.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
OpensearchCluster@Deprecated @ConstructorProperties({"id","displayName","compartmentId","lifecycleState","timeCreated","timeUpdated","timeDeleted","lifecycleDetails","freeformTags","definedTags","systemTags","securityAttributes","softwareVersion","totalStorageGB","opensearchFqdn","opensearchPrivateIp","opendashboardFqdn","opendashboardPrivateIp","masterNodeCount","masterNodeHostType","masterNodeHostBareMetalShape","masterNodeHostShape","masterNodeHostOcpuCount","masterNodeHostMemoryGB","dataNodeCount","dataNodeHostType","dataNodeHostBareMetalShape","dataNodeHostShape","dataNodeHostOcpuCount","dataNodeHostMemoryGB","dataNodeStorageGB","searchNodeCount","searchNodeHostType","searchNodeHostShape","searchNodeHostOcpuCount","searchNodeHostMemoryGB","searchNodeStorageGB","opendashboardNodeHostShape","opendashboardNodeCount","opendashboardNodeHostOcpuCount","opendashboardNodeHostMemoryGB","vcnId","subnetId","vcnCompartmentId","subnetCompartmentId","fqdn","availabilityDomains","securityMode","securityMasterUserName","securityMasterUserPasswordHash","securitySamlConfig","backupPolicy","nsgId","reverseConnectionEndpointCustomerIps","reverseConnectionEndpoints","outboundClusterConfig","inboundClusterIds","maintenanceDetails","certificateConfig"}) public OpensearchCluster(String id, String displayName, String compartmentId, OpensearchCluster.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, Date timeDeleted, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Map<String,Map<String,Object>> securityAttributes, String softwareVersion, Integer totalStorageGB, String opensearchFqdn, String opensearchPrivateIp, String opendashboardFqdn, String opendashboardPrivateIp, Integer masterNodeCount, MasterNodeHostType masterNodeHostType, String masterNodeHostBareMetalShape, String masterNodeHostShape, Integer masterNodeHostOcpuCount, Integer masterNodeHostMemoryGB, Integer dataNodeCount, DataNodeHostType dataNodeHostType, String dataNodeHostBareMetalShape, String dataNodeHostShape, Integer dataNodeHostOcpuCount, Integer dataNodeHostMemoryGB, Integer dataNodeStorageGB, Integer searchNodeCount, SearchNodeHostType searchNodeHostType, String searchNodeHostShape, Integer searchNodeHostOcpuCount, Integer searchNodeHostMemoryGB, Integer searchNodeStorageGB, String opendashboardNodeHostShape, Integer opendashboardNodeCount, Integer opendashboardNodeHostOcpuCount, Integer opendashboardNodeHostMemoryGB, String vcnId, String subnetId, String vcnCompartmentId, String subnetCompartmentId, String fqdn, List<String> availabilityDomains, SecurityMode securityMode, String securityMasterUserName, String securityMasterUserPasswordHash, SecuritySamlConfig securitySamlConfig, BackupPolicy backupPolicy, String nsgId, List<String> reverseConnectionEndpointCustomerIps, List<ReverseConnectionEndpoint> reverseConnectionEndpoints, OutboundClusterConfig outboundClusterConfig, List<String> inboundClusterIds, MaintenanceDetails maintenanceDetails, CertificateConfig certificateConfig) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static OpensearchCluster.Builder builder() Create a new builder.
 - 
toBuilderpublic OpensearchCluster.Builder toBuilder() 
 - 
getIdpublic String getId() The OCID of the cluster.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The name of the cluster.Avoid entering confidential information. - Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment where the cluster is located.- Returns:
- the value
 
 - 
getLifecycleStatepublic OpensearchCluster.LifecycleState getLifecycleState() The current state of the cluster.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The amount of time in milliseconds since the cluster was created.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The amount of time in milliseconds since the cluster was updated.- Returns:
- the value
 
 - 
getTimeDeletedpublic Date getTimeDeleted() The amount of time in milliseconds since the cluster was updated.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Additional information about the current lifecycle state of the cluster.- Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Returns:
- the value
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Returns:
- the value
 
 - 
getSecurityAttributespublic Map<String,Map<String,Object>> getSecurityAttributes() Security attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} - Returns:
- the value
 
 - 
getSoftwareVersionpublic String getSoftwareVersion() The software version the cluster is running.- Returns:
- the value
 
 - 
getTotalStorageGBpublic Integer getTotalStorageGB() The size in GB of the cluster’s total storage.- Returns:
- the value
 
 - 
getOpensearchFqdnpublic String getOpensearchFqdn() The fully qualified domain name (FQDN) for the cluster’s API endpoint.- Returns:
- the value
 
 - 
getOpensearchPrivateIppublic String getOpensearchPrivateIp() The cluster’s private IP address.- Returns:
- the value
 
 - 
getOpendashboardFqdnpublic String getOpendashboardFqdn() The fully qualified domain name (FQDN) for the cluster’s OpenSearch Dashboard API endpoint.- Returns:
- the value
 
 - 
getOpendashboardPrivateIppublic String getOpendashboardPrivateIp() The private IP address for the cluster’s OpenSearch Dashboard.- Returns:
- the value
 
 - 
getMasterNodeCountpublic Integer getMasterNodeCount() The number of master nodes configured for the cluster.- Returns:
- the value
 
 - 
getMasterNodeHostTypepublic MasterNodeHostType getMasterNodeHostType() The instance type for the cluster’s master nodes.- Returns:
- the value
 
 - 
getMasterNodeHostBareMetalShapepublic String getMasterNodeHostBareMetalShape() The bare metal shape for the cluster’s master nodes.- Returns:
- the value
 
 - 
getMasterNodeHostShapepublic String getMasterNodeHostShape() The node shape for the cluster’s master nodes.- Returns:
- the value
 
 - 
getMasterNodeHostOcpuCountpublic Integer getMasterNodeHostOcpuCount() The number of OCPUs configured for cluster’s master nodes.- Returns:
- the value
 
 - 
getMasterNodeHostMemoryGBpublic Integer getMasterNodeHostMemoryGB() The amount of memory in GB, for the cluster’s master nodes.- Returns:
- the value
 
 - 
getDataNodeCountpublic Integer getDataNodeCount() The number of data nodes configured for the cluster.- Returns:
- the value
 
 - 
getDataNodeHostTypepublic DataNodeHostType getDataNodeHostType() The instance type for the cluster’s data nodes.- Returns:
- the value
 
 - 
getDataNodeHostBareMetalShapepublic String getDataNodeHostBareMetalShape() The bare metal shape for the cluster’s data nodes.- Returns:
- the value
 
 - 
getDataNodeHostShapepublic String getDataNodeHostShape() The node shape for the cluster’s data nodes.- Returns:
- the value
 
 - 
getDataNodeHostOcpuCountpublic Integer getDataNodeHostOcpuCount() The number of OCPUs configured for the cluster’s data nodes.- Returns:
- the value
 
 - 
getDataNodeHostMemoryGBpublic Integer getDataNodeHostMemoryGB() The amount of memory in GB, for the cluster’s data nodes.- Returns:
- the value
 
 - 
getDataNodeStorageGBpublic Integer getDataNodeStorageGB() The amount of storage in GB, to configure per node for the cluster’s data nodes.- Returns:
- the value
 
 - 
getSearchNodeCountpublic Integer getSearchNodeCount() The number of search nodes configured for the cluster.- Returns:
- the value
 
 - 
getSearchNodeHostTypepublic SearchNodeHostType getSearchNodeHostType() The instance type for the cluster’s search nodes.- Returns:
- the value
 
 - 
getSearchNodeHostShapepublic String getSearchNodeHostShape() The node shape for the cluster’s search nodes.- Returns:
- the value
 
 - 
getSearchNodeHostOcpuCountpublic Integer getSearchNodeHostOcpuCount() The number of OCPUs configured for the cluster’s search nodes.- Returns:
- the value
 
 - 
getSearchNodeHostMemoryGBpublic Integer getSearchNodeHostMemoryGB() The amount of memory in GB, for the cluster’s search nodes.- Returns:
- the value
 
 - 
getSearchNodeStorageGBpublic Integer getSearchNodeStorageGB() The amount of storage in GB, to configure per node for the cluster’s search nodes.- Returns:
- the value
 
 - 
getOpendashboardNodeHostShapepublic String getOpendashboardNodeHostShape() The node shape for the cluster’s OpenSearch Dashboard nodes.- Returns:
- the value
 
 - 
getOpendashboardNodeCountpublic Integer getOpendashboardNodeCount() The number of OpenSearch Dashboard nodes configured for the cluster.- Returns:
- the value
 
 - 
getOpendashboardNodeHostOcpuCountpublic Integer getOpendashboardNodeHostOcpuCount() The amount of memory in GB, for the cluster’s OpenSearch Dashboard nodes.- Returns:
- the value
 
 - 
getOpendashboardNodeHostMemoryGBpublic Integer getOpendashboardNodeHostMemoryGB() The amount of memory in GB, for the cluster’s OpenSearch Dashboard nodes.- Returns:
- the value
 
 - 
getVcnIdpublic String getVcnId() The OCID of the cluster’s VCN.- Returns:
- the value
 
 - 
getSubnetIdpublic String getSubnetId() The OCID of the cluster’s subnet.- Returns:
- the value
 
 - 
getVcnCompartmentIdpublic String getVcnCompartmentId() The OCID for the compartment where the cluster’s VCN is located.- Returns:
- the value
 
 - 
getSubnetCompartmentIdpublic String getSubnetCompartmentId() The OCID for the compartment where the cluster’s subnet is located.- Returns:
- the value
 
 - 
getFqdnpublic String getFqdn() The fully qualified domain name (FQDN) for the cluster’s API endpoint.- Returns:
- the value
 
 - 
getAvailabilityDomainspublic List<String> getAvailabilityDomains() The availability domains to distribute the cluser nodes across.- Returns:
- the value
 
 - 
getSecurityModepublic SecurityMode getSecurityMode() The security mode of the cluster.- Returns:
- the value
 
 - 
getSecurityMasterUserNamepublic String getSecurityMasterUserName() The name of the master user that are used to manage security config- Returns:
- the value
 
 - 
getSecurityMasterUserPasswordHashpublic String getSecurityMasterUserPasswordHash() The password hash of the master user that are used to manage security config- Returns:
- the value
 
 - 
getSecuritySamlConfigpublic SecuritySamlConfig getSecuritySamlConfig() 
 - 
getBackupPolicypublic BackupPolicy getBackupPolicy() 
 - 
getNsgIdpublic String getNsgId() The OCID of the NSG where the private endpoint vnic will be attached.- Returns:
- the value
 
 - 
getReverseConnectionEndpointCustomerIpspublic List<String> getReverseConnectionEndpointCustomerIps() The customer IP addresses of the endpoint in customer VCN- Returns:
- the value
 
 - 
getReverseConnectionEndpointspublic List<ReverseConnectionEndpoint> getReverseConnectionEndpoints() The list of reverse connection endpoints.- Returns:
- the value
 
 - 
getOutboundClusterConfigpublic OutboundClusterConfig getOutboundClusterConfig() 
 - 
getInboundClusterIdspublic List<String> getInboundClusterIds() List of inbound clusters for which this cluster is an outbound cluster- Returns:
- the value
 
 - 
getMaintenanceDetailspublic MaintenanceDetails getMaintenanceDetails() 
 - 
getCertificateConfigpublic CertificateConfig getCertificateConfig() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-