@Generated(value="software.amazon.awssdk:codegen") public class DescribeSnapshotAttributeRequest extends EC2Request implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeSnapshotAttributeRequest.Builder,DescribeSnapshotAttributeRequest>
Contains the parameters for DescribeSnapshotAttribute.
| 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 |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends DescribeSnapshotAttributeRequest.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the EBS snapshot.
|
DescribeSnapshotAttributeRequest.Builder |
toBuilder() |
String |
toString() |
requestOverrideConfigpublic 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().
SnapshotAttributeNamepublic 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().
SnapshotAttributeNamepublic String snapshotId()
The ID of the EBS snapshot.
public DescribeSnapshotAttributeRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeSnapshotAttributeRequest.Builder,DescribeSnapshotAttributeRequest>toBuilder in class EC2Requestpublic static DescribeSnapshotAttributeRequest.Builder builder()
public static Class<? extends DescribeSnapshotAttributeRequest.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.