Interface SnapshotCopyGrant.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotCopyGrant.Builder,
,SnapshotCopyGrant> SdkBuilder<SnapshotCopyGrant.Builder,
,SnapshotCopyGrant> SdkPojo
- Enclosing class:
SnapshotCopyGrant
public static interface SnapshotCopyGrant.Builder
extends SdkPojo, CopyableBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.snapshotCopyGrantName
(String snapshotCopyGrantName) The name of the snapshot copy grant.tags
(Collection<Tag> tags) A list of tag instances.tags
(Consumer<Tag.Builder>... tags) A list of tag instances.A list of tag instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
snapshotCopyGrantName
The name of the snapshot copy grant.
- Parameters:
snapshotCopyGrantName
- The name of the snapshot copy grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.
- Parameters:
kmsKeyId
- The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tag instances.
- Parameters:
tags
- A list of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tag instances.
- Parameters:
tags
- A list of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tag instances.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-