Class SnapshotArgs.Builder

  • Enclosing class:
    SnapshotArgs

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

      • Builder

        public Builder()
    • Method Detail

      • description

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

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

        public SnapshotArgs.Builder outpostArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> outpostArn)
        Parameters:
        outpostArn - ARN of the Outpost on which to create a local snapshot.
        Returns:
        builder
      • outpostArn

        public SnapshotArgs.Builder outpostArn​(java.lang.String outpostArn)
        Parameters:
        outpostArn - ARN of the Outpost on which to create a local snapshot.
        Returns:
        builder
      • permanentRestore

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

        public SnapshotArgs.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 SnapshotArgs.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
      • storageTier

        public SnapshotArgs.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 SnapshotArgs.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 SnapshotArgs.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 snapshot. 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 SnapshotArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the snapshot. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • temporaryRestoreDays

        public SnapshotArgs.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 SnapshotArgs.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
      • volumeId

        public SnapshotArgs.Builder volumeId​(com.pulumi.core.Output<java.lang.String> volumeId)
        Parameters:
        volumeId - The Volume ID of which to make a snapshot.
        Returns:
        builder
      • volumeId

        public SnapshotArgs.Builder volumeId​(java.lang.String volumeId)
        Parameters:
        volumeId - The Volume ID of which to make a snapshot.
        Returns:
        builder