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 interface
RevokeSnapshotAccessRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountWithRestoreAccess()
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.static RevokeSnapshotAccessRequest.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 RevokeSnapshotAccessRequest.Builder>
serializableBuilderClass()
String
snapshotArn()
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.String
snapshotClusterIdentifier()
The identifier of the cluster the snapshot was created from.String
snapshotIdentifier()
The identifier of the snapshot that the account can no longer access.RevokeSnapshotAccessRequest.Builder
toBuilder()
String
toString()
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:
toBuilder
in interfaceToCopyableBuilder<RevokeSnapshotAccessRequest.Builder,RevokeSnapshotAccessRequest>
- Specified by:
toBuilder
in classRedshiftRequest
-
builder
public static RevokeSnapshotAccessRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RevokeSnapshotAccessRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-