Class SnapshotState.Builder

  • Enclosing class:
    SnapshotState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

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

        public SnapshotState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the snapshot.
        Returns:
        builder
      • clusterConfigurations

        public SnapshotState.Builder clusterConfigurations​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<SnapshotClusterConfigurationArgs>> clusterConfigurations)
        Parameters:
        clusterConfigurations - Configuration of the cluster from which the snapshot was taken.
        Returns:
        builder
      • clusterConfigurations

        public SnapshotState.Builder clusterConfigurations​(java.util.List<SnapshotClusterConfigurationArgs> clusterConfigurations)
        Parameters:
        clusterConfigurations - Configuration of the cluster from which the snapshot was taken.
        Returns:
        builder
      • clusterName

        public SnapshotState.Builder clusterName​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> clusterName)
        Parameters:
        clusterName - Name of the MemoryDB cluster to take a snapshot of.
        Returns:
        builder
      • clusterName

        public SnapshotState.Builder clusterName​(java.lang.String clusterName)
        Parameters:
        clusterName - Name of the MemoryDB cluster to take a snapshot of.
        Returns:
        builder
      • kmsKeyArn

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

        public SnapshotState.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt the snapshot at rest.
        Returns:
        builder
      • name

        public SnapshotState.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
        Returns:
        builder
      • name

        public SnapshotState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
        Returns:
        builder
      • namePrefix

        public SnapshotState.Builder namePrefix​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public SnapshotState.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • region

        public SnapshotState.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 SnapshotState.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
      • source

        public SnapshotState.Builder source​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> source)
        Parameters:
        source - Whether the snapshot is from an automatic backup (`automated`) or was created manually (`manual`).
        Returns:
        builder
      • source

        public SnapshotState.Builder source​(java.lang.String source)
        Parameters:
        source - Whether the snapshot is from an automatic backup (`automated`) or was created manually (`manual`).
        Returns:
        builder
      • tags

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

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