Class ClusterSnapshotArgs.Builder

  • Enclosing class:
    ClusterSnapshotArgs

    public static final class ClusterSnapshotArgs.Builder
    extends java.lang.Object
    • Method Detail

      • clusterIdentifier

        public ClusterSnapshotArgs.Builder clusterIdentifier​(com.pulumi.core.Output<java.lang.String> clusterIdentifier)
        Parameters:
        clusterIdentifier - The cluster identifier for which you want a snapshot.
        Returns:
        builder
      • clusterIdentifier

        public ClusterSnapshotArgs.Builder clusterIdentifier​(java.lang.String clusterIdentifier)
        Parameters:
        clusterIdentifier - The cluster identifier for which you want a snapshot.
        Returns:
        builder
      • manualSnapshotRetentionPeriod

        public ClusterSnapshotArgs.Builder manualSnapshotRetentionPeriod​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)
        Parameters:
        manualSnapshotRetentionPeriod - The number of days that a manual snapshot is retained. If the value is `-1`, the manual snapshot is retained indefinitely. Valid values are -1 and between `1` and `3653`.
        Returns:
        builder
      • manualSnapshotRetentionPeriod

        public ClusterSnapshotArgs.Builder manualSnapshotRetentionPeriod​(java.lang.Integer manualSnapshotRetentionPeriod)
        Parameters:
        manualSnapshotRetentionPeriod - The number of days that a manual snapshot is retained. If the value is `-1`, the manual snapshot is retained indefinitely. Valid values are -1 and between `1` and `3653`.
        Returns:
        builder
      • region

        public ClusterSnapshotArgs.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 ClusterSnapshotArgs.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
      • snapshotIdentifier

        public ClusterSnapshotArgs.Builder snapshotIdentifier​(com.pulumi.core.Output<java.lang.String> snapshotIdentifier)
        Parameters:
        snapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.
        Returns:
        builder
      • snapshotIdentifier

        public ClusterSnapshotArgs.Builder snapshotIdentifier​(java.lang.String snapshotIdentifier)
        Parameters:
        snapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.
        Returns:
        builder
      • tags

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