Interface CreateSnapshotScheduleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSnapshotScheduleRequest.Builder,,CreateSnapshotScheduleRequest> RedshiftRequest.Builder,SdkBuilder<CreateSnapshotScheduleRequest.Builder,,CreateSnapshotScheduleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSnapshotScheduleRequest
-
Method Summary
Modifier and TypeMethodDescriptionnextInvocations(Integer nextInvocations) overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scheduleDefinitions(String... scheduleDefinitions) The definition of the snapshot schedule.scheduleDefinitions(Collection<String> scheduleDefinitions) The definition of the snapshot schedule.scheduleDescription(String scheduleDescription) The description of the snapshot schedule.scheduleIdentifier(String scheduleIdentifier) A unique identifier for a snapshot schedule.tags(Collection<Tag> tags) An optional set of tags you can use to search for the schedule.tags(Consumer<Tag.Builder>... tags) An optional set of tags you can use to search for the schedule.An optional set of tags you can use to search for the schedule.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
An optional set of tags you can use to search for the schedule.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- 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:
-
dryRun
- Parameters:
dryRun-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextInvocations
- Parameters:
nextInvocations-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSnapshotScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSnapshotScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-