@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCachediSCSIVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCachediSCSIVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCachediSCSIVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique identifier that you use to retry a request.
|
String |
getGatewayARN() |
Boolean |
getKMSEncrypted()
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon
S3.
|
String |
getKMSKey()
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
String |
getNetworkInterfaceId()
The network interface of the gateway on which to expose the iSCSI target.
|
String |
getSnapshotId()
The snapshot ID (e.g.
|
String |
getSourceVolumeARN()
The ARN for an existing volume.
|
String |
getTargetName()
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN.
|
Long |
getVolumeSizeInBytes()
The size of the volume in bytes.
|
int |
hashCode() |
Boolean |
isKMSEncrypted()
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon
S3.
|
void |
setClientToken(String clientToken)
A unique identifier that you use to retry a request.
|
void |
setGatewayARN(String gatewayARN) |
void |
setKMSEncrypted(Boolean kMSEncrypted)
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon
S3.
|
void |
setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The network interface of the gateway on which to expose the iSCSI target.
|
void |
setSnapshotId(String snapshotId)
The snapshot ID (e.g.
|
void |
setSourceVolumeARN(String sourceVolumeARN)
The ARN for an existing volume.
|
void |
setTargetName(String targetName)
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN.
|
void |
setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateCachediSCSIVolumeRequest |
withClientToken(String clientToken)
A unique identifier that you use to retry a request.
|
CreateCachediSCSIVolumeRequest |
withGatewayARN(String gatewayARN) |
CreateCachediSCSIVolumeRequest |
withKMSEncrypted(Boolean kMSEncrypted)
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon
S3.
|
CreateCachediSCSIVolumeRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
CreateCachediSCSIVolumeRequest |
withNetworkInterfaceId(String networkInterfaceId)
The network interface of the gateway on which to expose the iSCSI target.
|
CreateCachediSCSIVolumeRequest |
withSnapshotId(String snapshotId)
The snapshot ID (e.g.
|
CreateCachediSCSIVolumeRequest |
withSourceVolumeARN(String sourceVolumeARN)
The ARN for an existing volume.
|
CreateCachediSCSIVolumeRequest |
withTargetName(String targetName)
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN.
|
CreateCachediSCSIVolumeRequest |
withVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
|
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 setGatewayARN(String gatewayARN)
gatewayARN
- public String getGatewayARN()
public CreateCachediSCSIVolumeRequest withGatewayARN(String gatewayARN)
gatewayARN
- public void setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
volumeSizeInBytes
- The size of the volume in bytes.public Long getVolumeSizeInBytes()
The size of the volume in bytes.
public CreateCachediSCSIVolumeRequest withVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
volumeSizeInBytes
- The size of the volume in bytes.public void setSnapshotId(String snapshotId)
The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new cached volume. Specify this field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.
snapshotId
- The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new cached volume. Specify this
field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field.
To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.public String getSnapshotId()
The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new cached volume. Specify this field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.
public CreateCachediSCSIVolumeRequest withSnapshotId(String snapshotId)
The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new cached volume. Specify this field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field. To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.
snapshotId
- The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new cached volume. Specify this
field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field.
To list snapshots for your account use DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.public void setTargetName(String targetName)
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. For
example, specifying TargetName
as myvolume results in the target ARN of
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The
target name must be unique across all volumes of a gateway.
targetName
- The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target
ARN. For example, specifying TargetName
as myvolume results in the target ARN of
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.
The target name must be unique across all volumes of a gateway.public String getTargetName()
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. For
example, specifying TargetName
as myvolume results in the target ARN of
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The
target name must be unique across all volumes of a gateway.
TargetName
as myvolume results in the target ARN of
arn:aws
:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The
target name must be unique across all volumes of a gateway.public CreateCachediSCSIVolumeRequest withTargetName(String targetName)
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. For
example, specifying TargetName
as myvolume results in the target ARN of
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The
target name must be unique across all volumes of a gateway.
targetName
- The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target
ARN. For example, specifying TargetName
as myvolume results in the target ARN of
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.
The target name must be unique across all volumes of a gateway.public void setSourceVolumeARN(String sourceVolumeARN)
The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified
existing volume's latest recovery point. The VolumeSizeInBytes
value for this new volume must be
equal to or larger than the size of the existing volume, in bytes.
sourceVolumeARN
- The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the
specified existing volume's latest recovery point. The VolumeSizeInBytes
value for this new
volume must be equal to or larger than the size of the existing volume, in bytes.public String getSourceVolumeARN()
The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified
existing volume's latest recovery point. The VolumeSizeInBytes
value for this new volume must be
equal to or larger than the size of the existing volume, in bytes.
VolumeSizeInBytes
value for this new
volume must be equal to or larger than the size of the existing volume, in bytes.public CreateCachediSCSIVolumeRequest withSourceVolumeARN(String sourceVolumeARN)
The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified
existing volume's latest recovery point. The VolumeSizeInBytes
value for this new volume must be
equal to or larger than the size of the existing volume, in bytes.
sourceVolumeARN
- The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the
specified existing volume's latest recovery point. The VolumeSizeInBytes
value for this new
volume must be equal to or larger than the size of the existing volume, in bytes.public void setNetworkInterfaceId(String networkInterfaceId)
The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway.
Valid Values: A valid IP address.
networkInterfaceId
- The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are
accepted. Use DescribeGatewayInformation to get a list of the network interfaces available on a
gateway.
Valid Values: A valid IP address.
public String getNetworkInterfaceId()
The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway.
Valid Values: A valid IP address.
Valid Values: A valid IP address.
public CreateCachediSCSIVolumeRequest withNetworkInterfaceId(String networkInterfaceId)
The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway.
Valid Values: A valid IP address.
networkInterfaceId
- The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are
accepted. Use DescribeGatewayInformation to get a list of the network interfaces available on a
gateway.
Valid Values: A valid IP address.
public void setClientToken(String clientToken)
A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
clientToken
- A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.public String getClientToken()
A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
ClientToken
you specified in the initial request.public CreateCachediSCSIVolumeRequest withClientToken(String clientToken)
A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
clientToken
- A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.public void setKMSEncrypted(Boolean kMSEncrypted)
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
kMSEncrypted
- True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by
Amazon S3. Optional.public Boolean getKMSEncrypted()
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
public CreateCachediSCSIVolumeRequest withKMSEncrypted(Boolean kMSEncrypted)
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
kMSEncrypted
- True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by
Amazon S3. Optional.public Boolean isKMSEncrypted()
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
public void setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
kMSKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value
can only be set when KMSEncrypted is true. Optional.public String getKMSKey()
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
public CreateCachediSCSIVolumeRequest withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
kMSKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value
can only be set when KMSEncrypted is true. Optional.public String toString()
toString
in class Object
Object.toString()
public CreateCachediSCSIVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.