@Generated(value="software.amazon.awssdk:codegen") public final class ResetSnapshotAttributeRequest extends Ec2Request implements ToCopyableBuilder<ResetSnapshotAttributeRequest.Builder,ResetSnapshotAttributeRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ResetSnapshotAttributeRequest.Builder |
Modifier and Type | Method and Description |
---|---|
SnapshotAttributeName |
attribute()
The attribute to reset.
|
String |
attributeAsString()
The attribute to reset.
|
static ResetSnapshotAttributeRequest.Builder |
builder() |
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 ResetSnapshotAttributeRequest.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the snapshot.
|
ResetSnapshotAttributeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public SnapshotAttributeName attribute()
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
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 String attributeAsString()
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
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 String snapshotId()
The ID of the snapshot.
public ResetSnapshotAttributeRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ResetSnapshotAttributeRequest.Builder,ResetSnapshotAttributeRequest>
toBuilder
in class Ec2Request
public static ResetSnapshotAttributeRequest.Builder builder()
public static Class<? extends ResetSnapshotAttributeRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.