Interface CreateScheduledActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateScheduledActionRequest.Builder,,CreateScheduledActionRequest> RedshiftRequest.Builder,SdkBuilder<CreateScheduledActionRequest.Builder,,CreateScheduledActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateScheduledActionRequest
-
Method Summary
Modifier and TypeMethodDescriptionIf true, the schedule is enabled.The end time in UTC of the scheduled action.The IAM role to assume to run the target action.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The schedule inat( )orcron( )format.scheduledActionDescription(String scheduledActionDescription) The description of the scheduled action.scheduledActionName(String scheduledActionName) The name of the scheduled action.The start time in UTC of the scheduled action.targetAction(Consumer<ScheduledActionType.Builder> targetAction) A JSON format string of the Amazon Redshift API operation with input parameters.targetAction(ScheduledActionType targetAction) A JSON format string of the Amazon Redshift API operation with input parameters.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, sdkFields
-
Method Details
-
scheduledActionName
The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.
- Parameters:
scheduledActionName- The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetAction
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
- Parameters:
targetAction- A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetAction
default CreateScheduledActionRequest.Builder targetAction(Consumer<ScheduledActionType.Builder> targetAction) A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
This is a convenience method that creates an instance of theScheduledActionType.Builderavoiding the need to create one manually viaScheduledActionType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetAction(ScheduledActionType).- Parameters:
targetAction- a consumer that will call methods onScheduledActionType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The schedule in
at( )orcron( )format. For more information about this parameter, see ScheduledAction.- Parameters:
schedule- The schedule inat( )orcron( )format. For more information about this parameter, see ScheduledAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRole
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
- Parameters:
iamRole- The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledActionDescription
The description of the scheduled action.
- Parameters:
scheduledActionDescription- The description of the scheduled action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
- Parameters:
startTime- The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
- Parameters:
endTime- The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enable
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about
stateof the scheduled action, see ScheduledAction.- Parameters:
enable- If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information aboutstateof the scheduled action, see ScheduledAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateScheduledActionRequest.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
CreateScheduledActionRequest.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.
-