public static interface CreateSnapshotScheduleRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotScheduleRequest.Builder,CreateSnapshotScheduleRequest>
Modifier and Type | Method and Description |
---|---|
CreateSnapshotScheduleRequest.Builder |
dryRun(Boolean dryRun)
Sets the value of the DryRun property for this object.
|
CreateSnapshotScheduleRequest.Builder |
nextInvocations(Integer nextInvocations)
Sets the value of the NextInvocations property for this object.
|
CreateSnapshotScheduleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateSnapshotScheduleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateSnapshotScheduleRequest.Builder |
scheduleDefinitions(Collection<String> scheduleDefinitions)
The definition of the snapshot schedule.
|
CreateSnapshotScheduleRequest.Builder |
scheduleDefinitions(String... scheduleDefinitions)
The definition of the snapshot schedule.
|
CreateSnapshotScheduleRequest.Builder |
scheduleDescription(String scheduleDescription)
The description of the snapshot schedule.
|
CreateSnapshotScheduleRequest.Builder |
scheduleIdentifier(String scheduleIdentifier)
A unique identifier for a snapshot schedule.
|
CreateSnapshotScheduleRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CreateSnapshotScheduleRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CreateSnapshotScheduleRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
build
overrideConfiguration
copy
applyMutation, build
CreateSnapshotScheduleRequest.Builder scheduleDefinitions(Collection<String> scheduleDefinitions)
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
scheduleDefinitions
- The definition of the snapshot schedule. The definition is made up of schedule expressions, for
example "cron(30 12 *)" or "rate(12 hours)".CreateSnapshotScheduleRequest.Builder scheduleDefinitions(String... scheduleDefinitions)
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
scheduleDefinitions
- The definition of the snapshot schedule. The definition is made up of schedule expressions, for
example "cron(30 12 *)" or "rate(12 hours)".CreateSnapshotScheduleRequest.Builder scheduleIdentifier(String scheduleIdentifier)
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
scheduleIdentifier
- A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the
identifier.CreateSnapshotScheduleRequest.Builder scheduleDescription(String scheduleDescription)
The description of the snapshot schedule.
scheduleDescription
- The description of the snapshot schedule.CreateSnapshotScheduleRequest.Builder tags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.CreateSnapshotScheduleRequest.Builder tags(Tag... tags)
tags
- The new value for the Tags property for this object.CreateSnapshotScheduleRequest.Builder tags(Consumer<Tag.Builder>... tags)
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateSnapshotScheduleRequest.Builder dryRun(Boolean dryRun)
dryRun
- The new value for the DryRun property for this object.CreateSnapshotScheduleRequest.Builder nextInvocations(Integer nextInvocations)
nextInvocations
- The new value for the NextInvocations property for this object.CreateSnapshotScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateSnapshotScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.