@Generated(value="software.amazon.awssdk:codegen") public final class CreateCachediScsiVolumeRequest extends StorageGatewayRequest implements ToCopyableBuilder<CreateCachediScsiVolumeRequest.Builder,CreateCachediScsiVolumeRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateCachediScsiVolumeRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateCachediScsiVolumeRequest.Builder |
builder() |
String |
clientToken()
Returns the value of the ClientToken property for this object.
|
boolean |
equals(Object obj) |
String |
gatewayARN()
Returns the value of the GatewayARN property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
networkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.
|
static Class<? extends CreateCachediScsiVolumeRequest.Builder> |
serializableBuilderClass() |
String |
snapshotId()
Returns the value of the SnapshotId property for this object.
|
String |
sourceVolumeARN()
The ARN for an existing volume.
|
String |
targetName()
Returns the value of the TargetName property for this object.
|
CreateCachediScsiVolumeRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
volumeSizeInBytes()
Returns the value of the VolumeSizeInBytes property for this object.
|
overrideConfiguration
copy
public String gatewayARN()
public Long volumeSizeInBytes()
public String snapshotId()
public String targetName()
public 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.
VolumeSizeInBytes
value for this new
volume must be equal to or larger than the size of the existing volume, in bytes.public String networkInterfaceId()
public String clientToken()
public CreateCachediScsiVolumeRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateCachediScsiVolumeRequest.Builder,CreateCachediScsiVolumeRequest>
toBuilder
in class StorageGatewayRequest
public static CreateCachediScsiVolumeRequest.Builder builder()
public static Class<? extends CreateCachediScsiVolumeRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.