Interface AuthorizeSnapshotAccessRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AuthorizeSnapshotAccessRequest.Builder,AuthorizeSnapshotAccessRequest>,RedshiftRequest.Builder,SdkBuilder<AuthorizeSnapshotAccessRequest.Builder,AuthorizeSnapshotAccessRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AuthorizeSnapshotAccessRequest
public static interface AuthorizeSnapshotAccessRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<AuthorizeSnapshotAccessRequest.Builder,AuthorizeSnapshotAccessRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizeSnapshotAccessRequest.BuilderaccountWithRestoreAccess(String accountWithRestoreAccess)The identifier of the Amazon Web Services account authorized to restore the specified snapshot.AuthorizeSnapshotAccessRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AuthorizeSnapshotAccessRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AuthorizeSnapshotAccessRequest.BuildersnapshotArn(String snapshotArn)The Amazon Resource Name (ARN) of the snapshot to authorize access to.AuthorizeSnapshotAccessRequest.BuildersnapshotClusterIdentifier(String snapshotClusterIdentifier)The identifier of the cluster the snapshot was created from.AuthorizeSnapshotAccessRequest.BuildersnapshotIdentifier(String snapshotIdentifier)The identifier of the snapshot the account is authorized to restore.-
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
AuthorizeSnapshotAccessRequest.Builder snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore.
- Parameters:
snapshotIdentifier- The identifier of the snapshot the account is authorized to restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotArn
AuthorizeSnapshotAccessRequest.Builder snapshotArn(String snapshotArn)
The Amazon Resource Name (ARN) of the snapshot to authorize access to.
- Parameters:
snapshotArn- The Amazon Resource Name (ARN) of the snapshot to authorize access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotClusterIdentifier
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.
- 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
AuthorizeSnapshotAccessRequest.Builder accountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the Amazon Web Services account authorized to restore the specified snapshot.
To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.
- Parameters:
accountWithRestoreAccess- The identifier of the Amazon Web Services account authorized to restore the specified snapshot.To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AuthorizeSnapshotAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AuthorizeSnapshotAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-