@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceTypeDetails extends Object implements Serializable, Cloneable, StructuredPojo
Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
Constructor and Description |
---|
InstanceTypeDetails() |
Modifier and Type | Method and Description |
---|---|
InstanceTypeDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAdvancedSecurityEnabled()
Whether fine-grained access control is supported for the instance type.
|
Boolean |
getAppLogsEnabled()
Whether logging is supported for the instance type.
|
List<String> |
getAvailabilityZones()
The supported Availability Zones for the instance type.
|
Boolean |
getCognitoEnabled()
Whether Amazon Cognito access is supported for the instance type.
|
Boolean |
getEncryptionEnabled()
Whether encryption at rest and node-to-node encryption are supported for the instance type.
|
List<String> |
getInstanceRole()
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
|
String |
getInstanceType()
The instance type.
|
Boolean |
getWarmEnabled()
Whether UltraWarm is supported for the instance type.
|
int |
hashCode() |
Boolean |
isAdvancedSecurityEnabled()
Whether fine-grained access control is supported for the instance type.
|
Boolean |
isAppLogsEnabled()
Whether logging is supported for the instance type.
|
Boolean |
isCognitoEnabled()
Whether Amazon Cognito access is supported for the instance type.
|
Boolean |
isEncryptionEnabled()
Whether encryption at rest and node-to-node encryption are supported for the instance type.
|
Boolean |
isWarmEnabled()
Whether UltraWarm is supported for the instance type.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdvancedSecurityEnabled(Boolean advancedSecurityEnabled)
Whether fine-grained access control is supported for the instance type.
|
void |
setAppLogsEnabled(Boolean appLogsEnabled)
Whether logging is supported for the instance type.
|
void |
setAvailabilityZones(Collection<String> availabilityZones)
The supported Availability Zones for the instance type.
|
void |
setCognitoEnabled(Boolean cognitoEnabled)
Whether Amazon Cognito access is supported for the instance type.
|
void |
setEncryptionEnabled(Boolean encryptionEnabled)
Whether encryption at rest and node-to-node encryption are supported for the instance type.
|
void |
setInstanceRole(Collection<String> instanceRole)
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
|
void |
setInstanceType(String instanceType)
The instance type.
|
void |
setWarmEnabled(Boolean warmEnabled)
Whether UltraWarm is supported for the instance type.
|
String |
toString()
Returns a string representation of this object.
|
InstanceTypeDetails |
withAdvancedSecurityEnabled(Boolean advancedSecurityEnabled)
Whether fine-grained access control is supported for the instance type.
|
InstanceTypeDetails |
withAppLogsEnabled(Boolean appLogsEnabled)
Whether logging is supported for the instance type.
|
InstanceTypeDetails |
withAvailabilityZones(Collection<String> availabilityZones)
The supported Availability Zones for the instance type.
|
InstanceTypeDetails |
withAvailabilityZones(String... availabilityZones)
The supported Availability Zones for the instance type.
|
InstanceTypeDetails |
withCognitoEnabled(Boolean cognitoEnabled)
Whether Amazon Cognito access is supported for the instance type.
|
InstanceTypeDetails |
withEncryptionEnabled(Boolean encryptionEnabled)
Whether encryption at rest and node-to-node encryption are supported for the instance type.
|
InstanceTypeDetails |
withInstanceRole(Collection<String> instanceRole)
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
|
InstanceTypeDetails |
withInstanceRole(String... instanceRole)
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
|
InstanceTypeDetails |
withInstanceType(OpenSearchPartitionInstanceType instanceType)
The instance type.
|
InstanceTypeDetails |
withInstanceType(String instanceType)
The instance type.
|
InstanceTypeDetails |
withWarmEnabled(Boolean warmEnabled)
Whether UltraWarm is supported for the instance type.
|
public void setInstanceType(String instanceType)
The instance type.
instanceType
- The instance type.OpenSearchPartitionInstanceType
public String getInstanceType()
The instance type.
OpenSearchPartitionInstanceType
public InstanceTypeDetails withInstanceType(String instanceType)
The instance type.
instanceType
- The instance type.OpenSearchPartitionInstanceType
public InstanceTypeDetails withInstanceType(OpenSearchPartitionInstanceType instanceType)
The instance type.
instanceType
- The instance type.OpenSearchPartitionInstanceType
public void setEncryptionEnabled(Boolean encryptionEnabled)
Whether encryption at rest and node-to-node encryption are supported for the instance type.
encryptionEnabled
- Whether encryption at rest and node-to-node encryption are supported for the instance type.public Boolean getEncryptionEnabled()
Whether encryption at rest and node-to-node encryption are supported for the instance type.
public InstanceTypeDetails withEncryptionEnabled(Boolean encryptionEnabled)
Whether encryption at rest and node-to-node encryption are supported for the instance type.
encryptionEnabled
- Whether encryption at rest and node-to-node encryption are supported for the instance type.public Boolean isEncryptionEnabled()
Whether encryption at rest and node-to-node encryption are supported for the instance type.
public void setCognitoEnabled(Boolean cognitoEnabled)
Whether Amazon Cognito access is supported for the instance type.
cognitoEnabled
- Whether Amazon Cognito access is supported for the instance type.public Boolean getCognitoEnabled()
Whether Amazon Cognito access is supported for the instance type.
public InstanceTypeDetails withCognitoEnabled(Boolean cognitoEnabled)
Whether Amazon Cognito access is supported for the instance type.
cognitoEnabled
- Whether Amazon Cognito access is supported for the instance type.public Boolean isCognitoEnabled()
Whether Amazon Cognito access is supported for the instance type.
public void setAppLogsEnabled(Boolean appLogsEnabled)
Whether logging is supported for the instance type.
appLogsEnabled
- Whether logging is supported for the instance type.public Boolean getAppLogsEnabled()
Whether logging is supported for the instance type.
public InstanceTypeDetails withAppLogsEnabled(Boolean appLogsEnabled)
Whether logging is supported for the instance type.
appLogsEnabled
- Whether logging is supported for the instance type.public Boolean isAppLogsEnabled()
Whether logging is supported for the instance type.
public void setAdvancedSecurityEnabled(Boolean advancedSecurityEnabled)
Whether fine-grained access control is supported for the instance type.
advancedSecurityEnabled
- Whether fine-grained access control is supported for the instance type.public Boolean getAdvancedSecurityEnabled()
Whether fine-grained access control is supported for the instance type.
public InstanceTypeDetails withAdvancedSecurityEnabled(Boolean advancedSecurityEnabled)
Whether fine-grained access control is supported for the instance type.
advancedSecurityEnabled
- Whether fine-grained access control is supported for the instance type.public Boolean isAdvancedSecurityEnabled()
Whether fine-grained access control is supported for the instance type.
public void setWarmEnabled(Boolean warmEnabled)
Whether UltraWarm is supported for the instance type.
warmEnabled
- Whether UltraWarm is supported for the instance type.public Boolean getWarmEnabled()
Whether UltraWarm is supported for the instance type.
public InstanceTypeDetails withWarmEnabled(Boolean warmEnabled)
Whether UltraWarm is supported for the instance type.
warmEnabled
- Whether UltraWarm is supported for the instance type.public Boolean isWarmEnabled()
Whether UltraWarm is supported for the instance type.
public List<String> getInstanceRole()
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
public void setInstanceRole(Collection<String> instanceRole)
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
instanceRole
- Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.public InstanceTypeDetails withInstanceRole(String... instanceRole)
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceRole(java.util.Collection)
or withInstanceRole(java.util.Collection)
if you want to
override the existing values.
instanceRole
- Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.public InstanceTypeDetails withInstanceRole(Collection<String> instanceRole)
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
instanceRole
- Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.public List<String> getAvailabilityZones()
The supported Availability Zones for the instance type.
public void setAvailabilityZones(Collection<String> availabilityZones)
The supported Availability Zones for the instance type.
availabilityZones
- The supported Availability Zones for the instance type.public InstanceTypeDetails withAvailabilityZones(String... availabilityZones)
The supported Availability Zones for the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The supported Availability Zones for the instance type.public InstanceTypeDetails withAvailabilityZones(Collection<String> availabilityZones)
The supported Availability Zones for the instance type.
availabilityZones
- The supported Availability Zones for the instance type.public String toString()
toString
in class Object
Object.toString()
public InstanceTypeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.