Interface CreateSnapshotScheduleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSnapshotScheduleRequest.Builder,CreateSnapshotScheduleRequest>
,RedshiftRequest.Builder
,SdkBuilder<CreateSnapshotScheduleRequest.Builder,CreateSnapshotScheduleRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateSnapshotScheduleRequest
public static interface CreateSnapshotScheduleRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotScheduleRequest.Builder,CreateSnapshotScheduleRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
scheduleDefinitions
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)".
- Parameters:
scheduleDefinitions
- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleDefinitions
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)".
- Parameters:
scheduleDefinitions
- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleIdentifier
CreateSnapshotScheduleRequest.Builder scheduleIdentifier(String scheduleIdentifier)
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
- Parameters:
scheduleIdentifier
- A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleDescription
CreateSnapshotScheduleRequest.Builder scheduleDescription(String scheduleDescription)
The description of the snapshot schedule.
- Parameters:
scheduleDescription
- The description of the snapshot schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateSnapshotScheduleRequest.Builder tags(Collection<Tag> tags)
An optional set of tags you can use to search for the schedule.
- Parameters:
tags
- An optional set of tags you can use to search for the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateSnapshotScheduleRequest.Builder tags(Tag... tags)
An optional set of tags you can use to search for the schedule.
- Parameters:
tags
- An optional set of tags you can use to search for the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateSnapshotScheduleRequest.Builder tags(Consumer<Tag.Builder>... tags)
An optional set of tags you can use to search for the schedule.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
dryRun
CreateSnapshotScheduleRequest.Builder dryRun(Boolean dryRun)
- Parameters:
dryRun
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextInvocations
CreateSnapshotScheduleRequest.Builder nextInvocations(Integer nextInvocations)
- Parameters:
nextInvocations
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSnapshotScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSnapshotScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-