Class SnapshotCopyGrantArgs.Builder

  • Enclosing class:
    SnapshotCopyGrantArgs

    public static final class SnapshotCopyGrantArgs.Builder
    extends java.lang.Object
    • 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