@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageType extends Object implements Serializable, Cloneable, StructuredPojo
A list of storage types for an Amazon OpenSearch Service domain that are available for a given intance type.
| Constructor and Description |
|---|
StorageType() |
| Modifier and Type | Method and Description |
|---|---|
StorageType |
clone() |
boolean |
equals(Object obj) |
String |
getStorageSubTypeName()
The storage sub-type, such as
gp3 or io1. |
List<StorageTypeLimit> |
getStorageTypeLimits()
Limits that are applicable for the given storage type.
|
String |
getStorageTypeName()
The name of the storage type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setStorageSubTypeName(String storageSubTypeName)
The storage sub-type, such as
gp3 or io1. |
void |
setStorageTypeLimits(Collection<StorageTypeLimit> storageTypeLimits)
Limits that are applicable for the given storage type.
|
void |
setStorageTypeName(String storageTypeName)
The name of the storage type.
|
String |
toString()
Returns a string representation of this object.
|
StorageType |
withStorageSubTypeName(String storageSubTypeName)
The storage sub-type, such as
gp3 or io1. |
StorageType |
withStorageTypeLimits(Collection<StorageTypeLimit> storageTypeLimits)
Limits that are applicable for the given storage type.
|
StorageType |
withStorageTypeLimits(StorageTypeLimit... storageTypeLimits)
Limits that are applicable for the given storage type.
|
StorageType |
withStorageTypeName(String storageTypeName)
The name of the storage type.
|
public void setStorageTypeName(String storageTypeName)
The name of the storage type.
storageTypeName - The name of the storage type.public String getStorageTypeName()
The name of the storage type.
public StorageType withStorageTypeName(String storageTypeName)
The name of the storage type.
storageTypeName - The name of the storage type.public void setStorageSubTypeName(String storageSubTypeName)
The storage sub-type, such as gp3 or io1.
storageSubTypeName - The storage sub-type, such as gp3 or io1.public String getStorageSubTypeName()
The storage sub-type, such as gp3 or io1.
gp3 or io1.public StorageType withStorageSubTypeName(String storageSubTypeName)
The storage sub-type, such as gp3 or io1.
storageSubTypeName - The storage sub-type, such as gp3 or io1.public List<StorageTypeLimit> getStorageTypeLimits()
Limits that are applicable for the given storage type.
public void setStorageTypeLimits(Collection<StorageTypeLimit> storageTypeLimits)
Limits that are applicable for the given storage type.
storageTypeLimits - Limits that are applicable for the given storage type.public StorageType withStorageTypeLimits(StorageTypeLimit... storageTypeLimits)
Limits that are applicable for the given storage type.
NOTE: This method appends the values to the existing list (if any). Use
setStorageTypeLimits(java.util.Collection) or withStorageTypeLimits(java.util.Collection) if
you want to override the existing values.
storageTypeLimits - Limits that are applicable for the given storage type.public StorageType withStorageTypeLimits(Collection<StorageTypeLimit> storageTypeLimits)
Limits that are applicable for the given storage type.
storageTypeLimits - Limits that are applicable for the given storage type.public String toString()
toString in class ObjectObject.toString()public StorageType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.