@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateKxVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateKxVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateKxVolumeRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateKxVolumeRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateKxVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZoneIds()
The identifier of the availability zones.
|
String |
getAzMode()
The number of availability zones you want to assign per cluster.
|
String |
getClientToken()
A token that ensures idempotency.
|
String |
getDescription()
A description of the volume.
|
String |
getEnvironmentId()
A unique identifier for the kdb environment, whose clusters can attach to the volume.
|
KxNAS1Configuration |
getNas1Configuration()
Specifies the configuration for the Network attached storage (NAS_1) file system volume.
|
Map<String,String> |
getTags()
A list of key-value pairs to label the volume.
|
String |
getVolumeName()
A unique identifier for the volume.
|
String |
getVolumeType()
The type of file system volume.
|
int |
hashCode() |
void |
setAvailabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
|
void |
setAzMode(String azMode)
The number of availability zones you want to assign per cluster.
|
void |
setClientToken(String clientToken)
A token that ensures idempotency.
|
void |
setDescription(String description)
A description of the volume.
|
void |
setEnvironmentId(String environmentId)
A unique identifier for the kdb environment, whose clusters can attach to the volume.
|
void |
setNas1Configuration(KxNAS1Configuration nas1Configuration)
Specifies the configuration for the Network attached storage (NAS_1) file system volume.
|
void |
setTags(Map<String,String> tags)
A list of key-value pairs to label the volume.
|
void |
setVolumeName(String volumeName)
A unique identifier for the volume.
|
void |
setVolumeType(String volumeType)
The type of file system volume.
|
String |
toString()
Returns a string representation of this object.
|
CreateKxVolumeRequest |
withAvailabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
|
CreateKxVolumeRequest |
withAvailabilityZoneIds(String... availabilityZoneIds)
The identifier of the availability zones.
|
CreateKxVolumeRequest |
withAzMode(KxAzMode azMode)
The number of availability zones you want to assign per cluster.
|
CreateKxVolumeRequest |
withAzMode(String azMode)
The number of availability zones you want to assign per cluster.
|
CreateKxVolumeRequest |
withClientToken(String clientToken)
A token that ensures idempotency.
|
CreateKxVolumeRequest |
withDescription(String description)
A description of the volume.
|
CreateKxVolumeRequest |
withEnvironmentId(String environmentId)
A unique identifier for the kdb environment, whose clusters can attach to the volume.
|
CreateKxVolumeRequest |
withNas1Configuration(KxNAS1Configuration nas1Configuration)
Specifies the configuration for the Network attached storage (NAS_1) file system volume.
|
CreateKxVolumeRequest |
withTags(Map<String,String> tags)
A list of key-value pairs to label the volume.
|
CreateKxVolumeRequest |
withVolumeName(String volumeName)
A unique identifier for the volume.
|
CreateKxVolumeRequest |
withVolumeType(KxVolumeType volumeType)
The type of file system volume.
|
CreateKxVolumeRequest |
withVolumeType(String volumeType)
The type of file system volume.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
A token that ensures idempotency. This token expires in 10 minutes.
clientToken
- A token that ensures idempotency. This token expires in 10 minutes.public String getClientToken()
A token that ensures idempotency. This token expires in 10 minutes.
public CreateKxVolumeRequest withClientToken(String clientToken)
A token that ensures idempotency. This token expires in 10 minutes.
clientToken
- A token that ensures idempotency. This token expires in 10 minutes.public void setEnvironmentId(String environmentId)
A unique identifier for the kdb environment, whose clusters can attach to the volume.
environmentId
- A unique identifier for the kdb environment, whose clusters can attach to the volume.public String getEnvironmentId()
A unique identifier for the kdb environment, whose clusters can attach to the volume.
public CreateKxVolumeRequest withEnvironmentId(String environmentId)
A unique identifier for the kdb environment, whose clusters can attach to the volume.
environmentId
- A unique identifier for the kdb environment, whose clusters can attach to the volume.public void setVolumeType(String volumeType)
The type of file system volume. Currently, FinSpace only supports NAS_1
volume type. When you select
NAS_1
volume type, you must also provide nas1Configuration
.
volumeType
- The type of file system volume. Currently, FinSpace only supports NAS_1
volume type. When you
select NAS_1
volume type, you must also provide nas1Configuration
.KxVolumeType
public String getVolumeType()
The type of file system volume. Currently, FinSpace only supports NAS_1
volume type. When you select
NAS_1
volume type, you must also provide nas1Configuration
.
NAS_1
volume type. When
you select NAS_1
volume type, you must also provide nas1Configuration
.KxVolumeType
public CreateKxVolumeRequest withVolumeType(String volumeType)
The type of file system volume. Currently, FinSpace only supports NAS_1
volume type. When you select
NAS_1
volume type, you must also provide nas1Configuration
.
volumeType
- The type of file system volume. Currently, FinSpace only supports NAS_1
volume type. When you
select NAS_1
volume type, you must also provide nas1Configuration
.KxVolumeType
public CreateKxVolumeRequest withVolumeType(KxVolumeType volumeType)
The type of file system volume. Currently, FinSpace only supports NAS_1
volume type. When you select
NAS_1
volume type, you must also provide nas1Configuration
.
volumeType
- The type of file system volume. Currently, FinSpace only supports NAS_1
volume type. When you
select NAS_1
volume type, you must also provide nas1Configuration
.KxVolumeType
public void setVolumeName(String volumeName)
A unique identifier for the volume.
volumeName
- A unique identifier for the volume.public String getVolumeName()
A unique identifier for the volume.
public CreateKxVolumeRequest withVolumeName(String volumeName)
A unique identifier for the volume.
volumeName
- A unique identifier for the volume.public void setDescription(String description)
A description of the volume.
description
- A description of the volume.public String getDescription()
A description of the volume.
public CreateKxVolumeRequest withDescription(String description)
A description of the volume.
description
- A description of the volume.public void setNas1Configuration(KxNAS1Configuration nas1Configuration)
Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is
required when you choose volumeType
as NAS_1.
nas1Configuration
- Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is
required when you choose volumeType
as NAS_1.public KxNAS1Configuration getNas1Configuration()
Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is
required when you choose volumeType
as NAS_1.
volumeType
as NAS_1.public CreateKxVolumeRequest withNas1Configuration(KxNAS1Configuration nas1Configuration)
Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is
required when you choose volumeType
as NAS_1.
nas1Configuration
- Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is
required when you choose volumeType
as NAS_1.public void setAzMode(String azMode)
The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLE
for volumes.
azMode
- The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLE
for volumes.KxAzMode
public String getAzMode()
The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLE
for volumes.
SINGLE
for volumes.KxAzMode
public CreateKxVolumeRequest withAzMode(String azMode)
The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLE
for volumes.
azMode
- The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLE
for volumes.KxAzMode
public CreateKxVolumeRequest withAzMode(KxAzMode azMode)
The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLE
for volumes.
azMode
- The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLE
for volumes.KxAzMode
public List<String> getAvailabilityZoneIds()
The identifier of the availability zones.
public void setAvailabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
availabilityZoneIds
- The identifier of the availability zones.public CreateKxVolumeRequest withAvailabilityZoneIds(String... availabilityZoneIds)
The identifier of the availability zones.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZoneIds(java.util.Collection)
or withAvailabilityZoneIds(java.util.Collection)
if you want to override the existing values.
availabilityZoneIds
- The identifier of the availability zones.public CreateKxVolumeRequest withAvailabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
availabilityZoneIds
- The identifier of the availability zones.public Map<String,String> getTags()
A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.
public void setTags(Map<String,String> tags)
A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.
tags
- A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.public CreateKxVolumeRequest withTags(Map<String,String> tags)
A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.
tags
- A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.public CreateKxVolumeRequest addTagsEntry(String key, String value)
public CreateKxVolumeRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateKxVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()