Package com.pulumi.aws.redshift
Class SnapshotCopyGrantArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.redshift.SnapshotCopyGrantArgs.Builder
-
- Enclosing class:
- SnapshotCopyGrantArgs
public static final class SnapshotCopyGrantArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SnapshotCopyGrantArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotCopyGrantArgsbuild()SnapshotCopyGrantArgs.BuilderkmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)SnapshotCopyGrantArgs.BuilderkmsKeyId(java.lang.String kmsKeyId)SnapshotCopyGrantArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)SnapshotCopyGrantArgs.Builderregion(java.lang.String region)SnapshotCopyGrantArgs.BuildersnapshotCopyGrantName(com.pulumi.core.Output<java.lang.String> snapshotCopyGrantName)SnapshotCopyGrantArgs.BuildersnapshotCopyGrantName(java.lang.String snapshotCopyGrantName)SnapshotCopyGrantArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)SnapshotCopyGrantArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SnapshotCopyGrantArgs defaults)
-
-
Method Detail
-
kmsKeyId
public SnapshotCopyGrantArgs.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId- Unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the ARN of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used.- Returns:
- builder
-
kmsKeyId
public SnapshotCopyGrantArgs.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId- Unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the ARN of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used.- Returns:
- builder
-
region
public SnapshotCopyGrantArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public SnapshotCopyGrantArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
snapshotCopyGrantName
public SnapshotCopyGrantArgs.Builder snapshotCopyGrantName(com.pulumi.core.Output<java.lang.String> snapshotCopyGrantName)
- Parameters:
snapshotCopyGrantName- A friendly name for identifying the grant.- Returns:
- builder
-
snapshotCopyGrantName
public SnapshotCopyGrantArgs.Builder snapshotCopyGrantName(java.lang.String snapshotCopyGrantName)
- Parameters:
snapshotCopyGrantName- A friendly name for identifying the grant.- Returns:
- builder
-
tags
public SnapshotCopyGrantArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public SnapshotCopyGrantArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public SnapshotCopyGrantArgs build()
-
-