@Generated(value="software.amazon.awssdk:codegen") public final class CreateReplaceRootVolumeTaskRequest extends Ec2Request implements ToCopyableBuilder<CreateReplaceRootVolumeTaskRequest.Builder,CreateReplaceRootVolumeTaskRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateReplaceRootVolumeTaskRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateReplaceRootVolumeTaskRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTagSpecifications()
Returns true if the TagSpecifications property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
instanceId()
The ID of the instance for which to replace the root volume.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateReplaceRootVolumeTaskRequest.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the snapshot from which to restore the replacement root volume.
|
List<TagSpecification> |
tagSpecifications()
The tags to apply to the root volume replacement task.
|
CreateReplaceRootVolumeTaskRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String instanceId()
The ID of the instance for which to replace the root volume.
public final String snapshotId()
The ID of the snapshot from which to restore the replacement root volume. If you want to restore the volume to the initial launch state, omit this parameter.
public final String clientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. For more information, see Ensuring Idempotency.
public final boolean hasTagSpecifications()
public final List<TagSpecification> tagSpecifications()
The tags to apply to the root volume replacement task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagSpecifications() to see if a value was sent in this field.
public CreateReplaceRootVolumeTaskRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateReplaceRootVolumeTaskRequest.Builder,CreateReplaceRootVolumeTaskRequest>toBuilder in class Ec2Requestpublic static CreateReplaceRootVolumeTaskRequest.Builder builder()
public static Class<? extends CreateReplaceRootVolumeTaskRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.