@Generated(value="software.amazon.awssdk:codegen") public final class DeleteSnapshotRequest extends Ec2Request implements ToCopyableBuilder<DeleteSnapshotRequest.Builder,DeleteSnapshotRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DeleteSnapshotRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DeleteSnapshotRequest.Builder |
builder() |
Boolean |
dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteSnapshotRequest.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the EBS snapshot.
|
DeleteSnapshotRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String snapshotId()
The ID of the EBS snapshot.
public final Boolean dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.public DeleteSnapshotRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DeleteSnapshotRequest.Builder,DeleteSnapshotRequest>
toBuilder
in class Ec2Request
public static DeleteSnapshotRequest.Builder builder()
public static Class<? extends DeleteSnapshotRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.