Interface CreateScheduledActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateScheduledActionResponse.Builder,,CreateScheduledActionResponse> RedshiftServerlessResponse.Builder,SdkBuilder<CreateScheduledActionResponse.Builder,,CreateScheduledActionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateScheduledActionResponse
public static interface CreateScheduledActionResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<CreateScheduledActionResponse.Builder,CreateScheduledActionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionscheduledAction(Consumer<ScheduledActionResponse.Builder> scheduledAction) The returnedScheduledActionobject that describes the properties of a scheduled action.scheduledAction(ScheduledActionResponse scheduledAction) The returnedScheduledActionobject that describes the properties of a scheduled action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scheduledAction
The returned
ScheduledActionobject that describes the properties of a scheduled action.- Parameters:
scheduledAction- The returnedScheduledActionobject 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 theScheduledActionobject that describes the properties of a scheduled action.ScheduledActionResponse.Builderavoiding the need to create one manually viaScheduledActionResponse.builder().When the
Consumercompletes,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:
-