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 Deprecated Methods Modifier and Type Method Description SnapshotScheduleState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
SnapshotScheduleState.Builder
arn(java.lang.String arn)
SnapshotScheduleState
build()
SnapshotScheduleState.Builder
definitions(com.pulumi.core.Output<java.util.List<java.lang.String>> definitions)
SnapshotScheduleState.Builder
definitions(java.lang.String... definitions)
SnapshotScheduleState.Builder
definitions(java.util.List<java.lang.String> definitions)
SnapshotScheduleState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
SnapshotScheduleState.Builder
description(java.lang.String description)
SnapshotScheduleState.Builder
forceDestroy(com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
SnapshotScheduleState.Builder
forceDestroy(java.lang.Boolean forceDestroy)
SnapshotScheduleState.Builder
identifier(com.pulumi.core.Output<java.lang.String> identifier)
SnapshotScheduleState.Builder
identifier(java.lang.String identifier)
SnapshotScheduleState.Builder
identifierPrefix(com.pulumi.core.Output<java.lang.String> identifierPrefix)
SnapshotScheduleState.Builder
identifierPrefix(java.lang.String identifierPrefix)
SnapshotScheduleState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
SnapshotScheduleState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
SnapshotScheduleState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.SnapshotScheduleState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.
-
-
-
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
- Amazon Resource Name (ARN) of the Redshift Snapshot Schedule.- Returns:
- builder
-
arn
public SnapshotScheduleState.Builder arn(java.lang.String arn)
- Parameters:
arn
- Amazon Resource Name (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
-
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 `default_tags` 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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public SnapshotScheduleState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public SnapshotScheduleState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
build
public SnapshotScheduleState build()
-
-