@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStorediSCSIVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing one or more of the following fields:
NOOP
Constructor and Description |
---|
CreateStorediSCSIVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStorediSCSIVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDiskId()
The unique identifier for the gateway local disk that is configured as a stored volume.
|
String |
getGatewayARN() |
String |
getNetworkInterfaceId()
The network interface of the gateway on which to expose the iSCSI target.
|
Boolean |
getPreserveExistingData()
Specify this field as true if you want to preserve the data on the local disk.
|
String |
getSnapshotId()
The snapshot ID (e.g.
|
String |
getTargetName()
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN.
|
int |
hashCode() |
Boolean |
isPreserveExistingData()
Specify this field as true if you want to preserve the data on the local disk.
|
void |
setDiskId(String diskId)
The unique identifier for the gateway local disk that is configured as a stored volume.
|
void |
setGatewayARN(String gatewayARN) |
void |
setNetworkInterfaceId(String networkInterfaceId)
The network interface of the gateway on which to expose the iSCSI target.
|
void |
setPreserveExistingData(Boolean preserveExistingData)
Specify this field as true if you want to preserve the data on the local disk.
|
void |
setSnapshotId(String snapshotId)
The snapshot ID (e.g.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateStorediSCSIVolumeRequest |
withDiskId(String diskId)
The unique identifier for the gateway local disk that is configured as a stored volume.
|
CreateStorediSCSIVolumeRequest |
withGatewayARN(String gatewayARN) |
CreateStorediSCSIVolumeRequest |
withNetworkInterfaceId(String networkInterfaceId)
The network interface of the gateway on which to expose the iSCSI target.
|
CreateStorediSCSIVolumeRequest |
withPreserveExistingData(Boolean preserveExistingData)
Specify this field as true if you want to preserve the data on the local disk.
|
CreateStorediSCSIVolumeRequest |
withSnapshotId(String snapshotId)
The snapshot ID (e.g.
|
CreateStorediSCSIVolumeRequest |
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.
|
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 CreateStorediSCSIVolumeRequest withGatewayARN(String gatewayARN)
gatewayARN
- public void setDiskId(String diskId)
The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.
diskId
- The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.public String getDiskId()
The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.
public CreateStorediSCSIVolumeRequest withDiskId(String diskId)
The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.
diskId
- The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.public void setSnapshotId(String snapshotId)
The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new stored 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 stored 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 stored 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 CreateStorediSCSIVolumeRequest withSnapshotId(String snapshotId)
The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new stored 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 stored 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 setPreserveExistingData(Boolean preserveExistingData)
Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume.
Valid Values: true, false
preserveExistingData
- Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this
field as false creates an empty volume.
Valid Values: true, false
public Boolean getPreserveExistingData()
Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume.
Valid Values: true, false
Valid Values: true, false
public CreateStorediSCSIVolumeRequest withPreserveExistingData(Boolean preserveExistingData)
Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume.
Valid Values: true, false
preserveExistingData
- Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this
field as false creates an empty volume.
Valid Values: true, false
public Boolean isPreserveExistingData()
Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume.
Valid Values: true, false
Valid Values: true, false
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 CreateStorediSCSIVolumeRequest 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 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 CreateStorediSCSIVolumeRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateStorediSCSIVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.