Interface CreateScheduledActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateScheduledActionResponse.Builder,
,CreateScheduledActionResponse> RedshiftServerlessResponse.Builder
,SdkBuilder<CreateScheduledActionResponse.Builder,
,CreateScheduledActionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateScheduledActionResponse
@Mutable
@NotThreadSafe
public static interface CreateScheduledActionResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<CreateScheduledActionResponse.Builder,CreateScheduledActionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionscheduledAction
(Consumer<ScheduledActionResponse.Builder> scheduledAction) The returnedScheduledAction
object that describes the properties of a scheduled action.scheduledAction
(ScheduledActionResponse scheduledAction) The returnedScheduledAction
object that describes the properties of a scheduled action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scheduledAction
The returned
ScheduledAction
object that describes the properties of a scheduled action.- Parameters:
scheduledAction
- The returnedScheduledAction
object that describes the properties of a scheduled action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledAction
default CreateScheduledActionResponse.Builder scheduledAction(Consumer<ScheduledActionResponse.Builder> scheduledAction) The returned
This is a convenience method that creates an instance of theScheduledAction
object that describes the properties of a scheduled action.ScheduledActionResponse.Builder
avoiding the need to create one manually viaScheduledActionResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduledAction(ScheduledActionResponse)
.- Parameters:
scheduledAction
- a consumer that will call methods onScheduledActionResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-