Package com.pulumi.aws.redshift.inputs
Class SnapshotScheduleState.Builder
- java.lang.Object
-
- com.pulumi.aws.redshift.inputs.SnapshotScheduleState.Builder
-
- Enclosing class:
- SnapshotScheduleState
public static final class SnapshotScheduleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SnapshotScheduleState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotScheduleState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)SnapshotScheduleState.Builderarn(java.lang.String arn)SnapshotScheduleStatebuild()SnapshotScheduleState.Builderdefinitions(com.pulumi.core.Output<java.util.List<java.lang.String>> definitions)SnapshotScheduleState.Builderdefinitions(java.lang.String... definitions)SnapshotScheduleState.Builderdefinitions(java.util.List<java.lang.String> definitions)SnapshotScheduleState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)SnapshotScheduleState.Builderdescription(java.lang.String description)SnapshotScheduleState.BuilderforceDestroy(com.pulumi.core.Output<java.lang.Boolean> forceDestroy)SnapshotScheduleState.BuilderforceDestroy(java.lang.Boolean forceDestroy)SnapshotScheduleState.Builderidentifier(com.pulumi.core.Output<java.lang.String> identifier)SnapshotScheduleState.Builderidentifier(java.lang.String identifier)SnapshotScheduleState.BuilderidentifierPrefix(com.pulumi.core.Output<java.lang.String> identifierPrefix)SnapshotScheduleState.BuilderidentifierPrefix(java.lang.String identifierPrefix)SnapshotScheduleState.Builderregion(com.pulumi.core.Output<java.lang.String> region)SnapshotScheduleState.Builderregion(java.lang.String region)SnapshotScheduleState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)SnapshotScheduleState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)SnapshotScheduleState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)SnapshotScheduleState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SnapshotScheduleState defaults)
-
-
Method Detail
-
arn
public SnapshotScheduleState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the Redshift Snapshot Schedule.- Returns:
- builder
-
arn
public SnapshotScheduleState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the Redshift Snapshot Schedule.- Returns:
- builder
-
definitions
public SnapshotScheduleState.Builder definitions(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> definitions)
- Parameters:
definitions- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`.- Returns:
- builder
-
definitions
public SnapshotScheduleState.Builder definitions(java.util.List<java.lang.String> definitions)
- Parameters:
definitions- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`.- Returns:
- builder
-
definitions
public SnapshotScheduleState.Builder definitions(java.lang.String... definitions)
- Parameters:
definitions- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`.- Returns:
- builder
-
description
public SnapshotScheduleState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- The description of the snapshot schedule.- Returns:
- builder
-
description
public SnapshotScheduleState.Builder description(java.lang.String description)
- Parameters:
description- The description of the snapshot schedule.- Returns:
- builder
-
forceDestroy
public SnapshotScheduleState.Builder forceDestroy(@Nullable com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
- Parameters:
forceDestroy- Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.- Returns:
- builder
-
forceDestroy
public SnapshotScheduleState.Builder forceDestroy(java.lang.Boolean forceDestroy)
- Parameters:
forceDestroy- Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.- Returns:
- builder
-
identifier
public SnapshotScheduleState.Builder identifier(@Nullable com.pulumi.core.Output<java.lang.String> identifier)
- Parameters:
identifier- The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier.- Returns:
- builder
-
identifier
public SnapshotScheduleState.Builder identifier(java.lang.String identifier)
- Parameters:
identifier- The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier.- Returns:
- builder
-
identifierPrefix
public SnapshotScheduleState.Builder identifierPrefix(@Nullable com.pulumi.core.Output<java.lang.String> identifierPrefix)
- Parameters:
identifierPrefix- Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.- Returns:
- builder
-
identifierPrefix
public SnapshotScheduleState.Builder identifierPrefix(java.lang.String identifierPrefix)
- Parameters:
identifierPrefix- Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.- Returns:
- builder
-
region
public SnapshotScheduleState.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 SnapshotScheduleState.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
-
tags
public SnapshotScheduleState.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 SnapshotScheduleState.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
-
tagsAll
public SnapshotScheduleState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public SnapshotScheduleState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public SnapshotScheduleState build()
-
-