Class SnapshotCopyArgs.Builder

  • Enclosing class:
    SnapshotCopyArgs

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

      • Builder

        public Builder()
    • Method Detail

      • completionDurationMinutes

        public SnapshotCopyArgs.Builder completionDurationMinutes​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> completionDurationMinutes)
        Parameters:
        completionDurationMinutes - Specifies a completion duration to initiate a time-based snapshot copy. Time-based snapshot copy operations complete within the specified duration. Value must be between 15 and 2880 minutes, in 15 minute increments only.
        Returns:
        builder
      • completionDurationMinutes

        public SnapshotCopyArgs.Builder completionDurationMinutes​(java.lang.Integer completionDurationMinutes)
        Parameters:
        completionDurationMinutes - Specifies a completion duration to initiate a time-based snapshot copy. Time-based snapshot copy operations complete within the specified duration. Value must be between 15 and 2880 minutes, in 15 minute increments only.
        Returns:
        builder
      • description

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

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

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

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

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

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

        public SnapshotCopyArgs.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 SnapshotCopyArgs.Builder permanentRestore​(java.lang.Boolean permanentRestore)
        Parameters:
        permanentRestore - Indicates whether to permanently restore an archived snapshot.
        Returns:
        builder
      • region

        public SnapshotCopyArgs.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 SnapshotCopyArgs.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
      • sourceRegion

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

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

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

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

        public SnapshotCopyArgs.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 SnapshotCopyArgs.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 SnapshotCopyArgs.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags for the snapshot.
        Returns:
        builder
      • tags

        public SnapshotCopyArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags for the snapshot.
        Returns:
        builder
      • temporaryRestoreDays

        public SnapshotCopyArgs.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 SnapshotCopyArgs.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