Class ArchiveState.Builder

  • Enclosing class:
    ArchiveState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ArchiveState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the archive.
        Returns:
        builder
      • arn

        public ArchiveState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the archive.
        Returns:
        builder
      • createdTimestamp

        public ArchiveState.Builder createdTimestamp​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> createdTimestamp)
        Parameters:
        createdTimestamp - Timestamp of when the archive was created.
        Returns:
        builder
      • createdTimestamp

        public ArchiveState.Builder createdTimestamp​(java.lang.String createdTimestamp)
        Parameters:
        createdTimestamp - Timestamp of when the archive was created.
        Returns:
        builder
      • kmsKeyArn

        public ArchiveState.Builder kmsKeyArn​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt the archive.
        Returns:
        builder
      • kmsKeyArn

        public ArchiveState.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt the archive.
        Returns:
        builder
      • lastUpdatedTimestamp

        public ArchiveState.Builder lastUpdatedTimestamp​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> lastUpdatedTimestamp)
        Parameters:
        lastUpdatedTimestamp - Timestamp of when the archive was updated.
        Returns:
        builder
      • lastUpdatedTimestamp

        public ArchiveState.Builder lastUpdatedTimestamp​(java.lang.String lastUpdatedTimestamp)
        Parameters:
        lastUpdatedTimestamp - Timestamp of when the archive was updated.
        Returns:
        builder
      • name

        public ArchiveState.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the archive. The following arguments are optional:
        Returns:
        builder
      • name

        public ArchiveState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the archive. The following arguments are optional:
        Returns:
        builder
      • region

        public ArchiveState.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 ArchiveState.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
      • retention

        public ArchiveState.Builder retention​(@Nullable
                                              com.pulumi.core.Output<ArchiveRetentionArgs> retention)
        Parameters:
        retention - Retention policy for the archive. See `retention` Block.
        Returns:
        builder
      • retentionActuals

        public ArchiveState.Builder retentionActuals​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<ArchiveRetentionActualArgs>> retentionActuals)
        Parameters:
        retentionActuals - Effective retention policy for the archive, including the default (`SIX_MONTHS`) when no `retention` block is configured. See `retentionActual` Block below.
        Returns:
        builder
      • retentionActuals

        public ArchiveState.Builder retentionActuals​(java.util.List<ArchiveRetentionActualArgs> retentionActuals)
        Parameters:
        retentionActuals - Effective retention policy for the archive, including the default (`SIX_MONTHS`) when no `retention` block is configured. See `retentionActual` Block below.
        Returns:
        builder
      • retentionActuals

        public ArchiveState.Builder retentionActuals​(ArchiveRetentionActualArgs... retentionActuals)
        Parameters:
        retentionActuals - Effective retention policy for the archive, including the default (`SIX_MONTHS`) when no `retention` block is configured. See `retentionActual` Block below.
        Returns:
        builder
      • state

        public ArchiveState.Builder state​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - Current state of the archive. Always set to `ACTIVE` and will only be set to `PENDING_DELETION` when the archive is deleted.
        Returns:
        builder
      • state

        public ArchiveState.Builder state​(java.lang.String state)
        Parameters:
        state - Current state of the archive. Always set to `ACTIVE` and will only be set to `PENDING_DELETION` when the archive is deleted.
        Returns:
        builder
      • tags

        public ArchiveState.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags assigned 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 ArchiveState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags assigned 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
      • tagsAll

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

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