@Generated(value="software.amazon.awssdk:codegen") public final class DescribeSnapshotAttributeRequest extends Ec2Request implements ToCopyableBuilder<DescribeSnapshotAttributeRequest.Builder,DescribeSnapshotAttributeRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeSnapshotAttributeRequest.Builder |
Modifier and Type | Method and Description |
---|---|
SnapshotAttributeName |
attribute()
The snapshot attribute you would like to view.
|
String |
attributeAsString()
The snapshot attribute you would like to view.
|
static DescribeSnapshotAttributeRequest.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 DescribeSnapshotAttributeRequest.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the EBS snapshot.
|
DescribeSnapshotAttributeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final SnapshotAttributeName attribute()
The snapshot attribute you would like to view.
If the service returns an enum value that is not available in the current SDK version, attribute
will
return SnapshotAttributeName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from attributeAsString()
.
SnapshotAttributeName
public final String attributeAsString()
The snapshot attribute you would like to view.
If the service returns an enum value that is not available in the current SDK version, attribute
will
return SnapshotAttributeName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from attributeAsString()
.
SnapshotAttributeName
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 DescribeSnapshotAttributeRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DescribeSnapshotAttributeRequest.Builder,DescribeSnapshotAttributeRequest>
toBuilder
in class Ec2Request
public static DescribeSnapshotAttributeRequest.Builder builder()
public static Class<? extends DescribeSnapshotAttributeRequest.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.