Class RevokeSnapshotAccessRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshift.model.RedshiftRequest
-
- software.amazon.awssdk.services.redshift.model.RevokeSnapshotAccessRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RevokeSnapshotAccessRequest.Builder,RevokeSnapshotAccessRequest>
@Generated("software.amazon.awssdk:codegen") public final class RevokeSnapshotAccessRequest extends RedshiftRequest implements ToCopyableBuilder<RevokeSnapshotAccessRequest.Builder,RevokeSnapshotAccessRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRevokeSnapshotAccessRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountWithRestoreAccess()The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.static RevokeSnapshotAccessRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RevokeSnapshotAccessRequest.Builder>serializableBuilderClass()StringsnapshotArn()The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.StringsnapshotClusterIdentifier()The identifier of the cluster the snapshot was created from.StringsnapshotIdentifier()The identifier of the snapshot that the account can no longer access.RevokeSnapshotAccessRequest.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
-
snapshotIdentifier
public final String snapshotIdentifier()
The identifier of the snapshot that the account can no longer access.
- Returns:
- The identifier of the snapshot that the account can no longer access.
-
snapshotArn
public final String snapshotArn()
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
- Returns:
- The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
-
snapshotClusterIdentifier
public final String snapshotClusterIdentifier()
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
- Returns:
- The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
-
accountWithRestoreAccess
public final String accountWithRestoreAccess()
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
- Returns:
- The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
-
toBuilder
public RevokeSnapshotAccessRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RevokeSnapshotAccessRequest.Builder,RevokeSnapshotAccessRequest>- Specified by:
toBuilderin classRedshiftRequest
-
builder
public static RevokeSnapshotAccessRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RevokeSnapshotAccessRequest.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
-
-