public static interface AuthorizeSnapshotAccessRequest.Builder extends RedshiftRequest.Builder, CopyableBuilder<AuthorizeSnapshotAccessRequest.Builder,AuthorizeSnapshotAccessRequest>
Modifier and Type | Method and Description |
---|---|
AuthorizeSnapshotAccessRequest.Builder |
accountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to restore the specified snapshot.
|
AuthorizeSnapshotAccessRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AuthorizeSnapshotAccessRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
AuthorizeSnapshotAccessRequest.Builder |
snapshotClusterIdentifier(String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from.
|
AuthorizeSnapshotAccessRequest.Builder |
snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore.
|
build
requestOverrideConfig
copy
apply, build
AuthorizeSnapshotAccessRequest.Builder snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore.
snapshotIdentifier
- The identifier of the snapshot the account is authorized to restore.AuthorizeSnapshotAccessRequest.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.
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.AuthorizeSnapshotAccessRequest.Builder accountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to restore the specified snapshot.
To share a snapshot with AWS support, specify amazon-redshift-support.
accountWithRestoreAccess
- The identifier of the AWS customer account authorized to restore the specified snapshot.
To share a snapshot with AWS support, specify amazon-redshift-support.
AuthorizeSnapshotAccessRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.AuthorizeSnapshotAccessRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.