Class GetSnapshotRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest
-
- software.amazon.awssdk.services.redshiftserverless.model.GetSnapshotRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetSnapshotRequest.Builder,GetSnapshotRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetSnapshotRequest extends RedshiftServerlessRequest implements ToCopyableBuilder<GetSnapshotRequest.Builder,GetSnapshotRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSnapshotRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSnapshotRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringownerAccount()The owner Amazon Web Services account of a snapshot shared with another user.List<SdkField<?>>sdkFields()static Class<? extends GetSnapshotRequest.Builder>serializableBuilderClass()StringsnapshotArn()The Amazon Resource Name (ARN) of the snapshot to return.StringsnapshotName()The name of the snapshot to return.GetSnapshotRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ownerAccount
public final String ownerAccount()
The owner Amazon Web Services account of a snapshot shared with another user.
- Returns:
- The owner Amazon Web Services account of a snapshot shared with another user.
-
snapshotArn
public final String snapshotArn()
The Amazon Resource Name (ARN) of the snapshot to return.
- Returns:
- The Amazon Resource Name (ARN) of the snapshot to return.
-
snapshotName
public final String snapshotName()
The name of the snapshot to return.
- Returns:
- The name of the snapshot to return.
-
toBuilder
public GetSnapshotRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSnapshotRequest.Builder,GetSnapshotRequest>- Specified by:
toBuilderin classRedshiftServerlessRequest
-
builder
public static GetSnapshotRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSnapshotRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-