Class CreateStorediSCSIVolumeRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A JSON object containing one or more of the following fields:
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The unique identifier for the gateway local disk that is configured as a stored volume.The network interface of the gateway on which to expose the iSCSI target.Specify this field as true if you want to preserve the data on the local disk.The snapshot ID (e.g.The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN.int
hashCode()
Specify this field as true if you want to preserve the data on the local disk.void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withDiskId
(String diskId) The unique identifier for the gateway local disk that is configured as a stored volume.withGatewayARN
(String gatewayARN) withNetworkInterfaceId
(String networkInterfaceId) The network interface of the gateway on which to expose the iSCSI target.withPreserveExistingData
(Boolean preserveExistingData) Specify this field as true if you want to preserve the data on the local disk.withSnapshotId
(String snapshotId) The snapshot ID (e.g.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.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateStorediSCSIVolumeRequest
public CreateStorediSCSIVolumeRequest()
-
-
Method Details
-
setGatewayARN
- Parameters:
gatewayARN
-
-
getGatewayARN
- Returns:
-
withGatewayARN
- Parameters:
gatewayARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiskId
The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.
- Parameters:
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.
-
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.
- Returns:
- The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.
-
withDiskId
The unique identifier for the gateway local disk that is configured as a stored volume. Use ListLocalDisks to list disk IDs for a gateway.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotId
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withSnapshotId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreserveExistingData
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
- Parameters:
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
-
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
- Returns:
- 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
-
withPreserveExistingData
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Returns:
- 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
-
setTargetName
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-1:111122223333:gateway/sgw-12A3456B/target/ iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway.- Parameters:
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, specifyingTargetName
as myvolume results in the target ARN of arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12 A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway.
-
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-1:111122223333:gateway/sgw-12A3456B/target/ iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway.- Returns:
- 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-1:111122223333:gateway /sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway.
-
withTargetName
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-1:111122223333:gateway/sgw-12A3456B/target/ iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway.- Parameters:
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, specifyingTargetName
as myvolume results in the target ARN of arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12 A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfaceId
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withNetworkInterfaceId
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-