@Generated(value="software.amazon.awssdk:codegen") public final class DBSnapshotAttributesResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBSnapshotAttributesResult.Builder,DBSnapshotAttributesResult>
Contains the results of a successful call to the DescribeDBSnapshotAttributes API action.
Manual DB snapshot attributes are used to authorize other AWS accounts to copy or restore a manual DB snapshot. For
more information, see the ModifyDBSnapshotAttribute API action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DBSnapshotAttributesResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DBSnapshotAttributesResult.Builder |
builder() |
List<DBSnapshotAttribute> |
dbSnapshotAttributes()
The list of attributes and values for the manual DB snapshot.
|
String |
dbSnapshotIdentifier()
The identifier of the manual DB snapshot that the attributes apply to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDbSnapshotAttributes()
Returns true if the DBSnapshotAttributes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DBSnapshotAttributesResult.Builder> |
serializableBuilderClass() |
DBSnapshotAttributesResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dbSnapshotIdentifier()
The identifier of the manual DB snapshot that the attributes apply to.
public final boolean hasDbSnapshotAttributes()
public final List<DBSnapshotAttribute> dbSnapshotAttributes()
The list of attributes and values for the manual DB snapshot.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDbSnapshotAttributes() to see if a value was sent in this field.
public DBSnapshotAttributesResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DBSnapshotAttributesResult.Builder,DBSnapshotAttributesResult>public static DBSnapshotAttributesResult.Builder builder()
public static Class<? extends DBSnapshotAttributesResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.