Class SnapshotCopyState.Builder

  • Enclosing class:
    SnapshotCopyState

    public static final class SnapshotCopyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public SnapshotCopyState.Builder arn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the EBS Snapshot.
        Returns:
        builder
      • arn

        public SnapshotCopyState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the EBS Snapshot.
        Returns:
        builder
      • dataEncryptionKeyId

        public SnapshotCopyState.Builder dataEncryptionKeyId​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> dataEncryptionKeyId)
        Parameters:
        dataEncryptionKeyId - The data encryption key identifier for the snapshot.
        Returns:
        builder
      • dataEncryptionKeyId

        public SnapshotCopyState.Builder dataEncryptionKeyId​(java.lang.String dataEncryptionKeyId)
        Parameters:
        dataEncryptionKeyId - The data encryption key identifier for the snapshot.
        Returns:
        builder
      • description

        public SnapshotCopyState.Builder description​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description of what the snapshot is.
        Returns:
        builder
      • description

        public SnapshotCopyState.Builder description​(java.lang.String description)
        Parameters:
        description - A description of what the snapshot is.
        Returns:
        builder
      • encrypted

        public SnapshotCopyState.Builder encrypted​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> encrypted)
        Parameters:
        encrypted - Whether the snapshot is encrypted.
        Returns:
        builder
      • encrypted

        public SnapshotCopyState.Builder encrypted​(java.lang.Boolean encrypted)
        Parameters:
        encrypted - Whether the snapshot is encrypted.
        Returns:
        builder
      • kmsKeyId

        public SnapshotCopyState.Builder kmsKeyId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - The ARN for the KMS encryption key.
        Returns:
        builder
      • kmsKeyId

        public SnapshotCopyState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - The ARN for the KMS encryption key.
        Returns:
        builder
      • outpostArn

        public SnapshotCopyState.Builder outpostArn​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> outpostArn)
      • ownerAlias

        public SnapshotCopyState.Builder ownerAlias​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> ownerAlias)
        Parameters:
        ownerAlias - Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners.
        Returns:
        builder
      • ownerAlias

        public SnapshotCopyState.Builder ownerAlias​(java.lang.String ownerAlias)
        Parameters:
        ownerAlias - Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners.
        Returns:
        builder
      • ownerId

        public SnapshotCopyState.Builder ownerId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - The AWS account ID of the snapshot owner.
        Returns:
        builder
      • ownerId

        public SnapshotCopyState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - The AWS account ID of the snapshot owner.
        Returns:
        builder
      • permanentRestore

        public SnapshotCopyState.Builder permanentRestore​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> permanentRestore)
        Parameters:
        permanentRestore - Indicates whether to permanently restore an archived snapshot.
        Returns:
        builder
      • permanentRestore

        public SnapshotCopyState.Builder permanentRestore​(java.lang.Boolean permanentRestore)
        Parameters:
        permanentRestore - Indicates whether to permanently restore an archived snapshot.
        Returns:
        builder
      • sourceRegion

        public SnapshotCopyState.Builder sourceRegion​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> sourceRegion)
        Parameters:
        sourceRegion - The region of the source snapshot.
        Returns:
        builder
      • sourceRegion

        public SnapshotCopyState.Builder sourceRegion​(java.lang.String sourceRegion)
        Parameters:
        sourceRegion - The region of the source snapshot.
        Returns:
        builder
      • sourceSnapshotId

        public SnapshotCopyState.Builder sourceSnapshotId​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> sourceSnapshotId)
        Parameters:
        sourceSnapshotId - The ARN for the snapshot to be copied.
        Returns:
        builder
      • sourceSnapshotId

        public SnapshotCopyState.Builder sourceSnapshotId​(java.lang.String sourceSnapshotId)
        Parameters:
        sourceSnapshotId - The ARN for the snapshot to be copied.
        Returns:
        builder
      • storageTier

        public SnapshotCopyState.Builder storageTier​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> storageTier)
        Parameters:
        storageTier - The name of the storage tier. Valid values are `archive` and `standard`. Default value is `standard`.
        Returns:
        builder
      • storageTier

        public SnapshotCopyState.Builder storageTier​(java.lang.String storageTier)
        Parameters:
        storageTier - The name of the storage tier. Valid values are `archive` and `standard`. Default value is `standard`.
        Returns:
        builder
      • tags

        public SnapshotCopyState.Builder tags​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
      • tagsAll

        public SnapshotCopyState.Builder tagsAll​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        public SnapshotCopyState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • temporaryRestoreDays

        public SnapshotCopyState.Builder temporaryRestoreDays​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Integer> temporaryRestoreDays)
        Parameters:
        temporaryRestoreDays - Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
        Returns:
        builder
      • temporaryRestoreDays

        public SnapshotCopyState.Builder temporaryRestoreDays​(java.lang.Integer temporaryRestoreDays)
        Parameters:
        temporaryRestoreDays - Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
        Returns:
        builder
      • volumeSize

        public SnapshotCopyState.Builder volumeSize​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> volumeSize)
        Parameters:
        volumeSize - The size of the drive in GiBs.
        Returns:
        builder
      • volumeSize

        public SnapshotCopyState.Builder volumeSize​(java.lang.Integer volumeSize)
        Parameters:
        volumeSize - The size of the drive in GiBs.
        Returns:
        builder