Interface RevokeSnapshotAccessRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RevokeSnapshotAccessRequest.Builder,RevokeSnapshotAccessRequest>,RedshiftRequest.Builder,SdkBuilder<RevokeSnapshotAccessRequest.Builder,RevokeSnapshotAccessRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RevokeSnapshotAccessRequest
public static interface RevokeSnapshotAccessRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<RevokeSnapshotAccessRequest.Builder,RevokeSnapshotAccessRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RevokeSnapshotAccessRequest.BuilderaccountWithRestoreAccess(String accountWithRestoreAccess)The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.RevokeSnapshotAccessRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RevokeSnapshotAccessRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RevokeSnapshotAccessRequest.BuildersnapshotArn(String snapshotArn)The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.RevokeSnapshotAccessRequest.BuildersnapshotClusterIdentifier(String snapshotClusterIdentifier)The identifier of the cluster the snapshot was created from.RevokeSnapshotAccessRequest.BuildersnapshotIdentifier(String snapshotIdentifier)The identifier of the snapshot that the account can no longer access.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
snapshotIdentifier
RevokeSnapshotAccessRequest.Builder snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access.
- Parameters:
snapshotIdentifier- The identifier of the snapshot that the account can no longer access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotArn
RevokeSnapshotAccessRequest.Builder snapshotArn(String snapshotArn)
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
- Parameters:
snapshotArn- The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotClusterIdentifier
RevokeSnapshotAccessRequest.Builder snapshotClusterIdentifier(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
accountWithRestoreAccess
RevokeSnapshotAccessRequest.Builder accountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
- Parameters:
accountWithRestoreAccess- The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RevokeSnapshotAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RevokeSnapshotAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-