Interface UpdateScheduledActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateScheduledActionResponse.Builder,,UpdateScheduledActionResponse> OpenSearchResponse.Builder,SdkBuilder<UpdateScheduledActionResponse.Builder,,UpdateScheduledActionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateScheduledActionResponse
public static interface UpdateScheduledActionResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<UpdateScheduledActionResponse.Builder,UpdateScheduledActionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionscheduledAction(Consumer<ScheduledAction.Builder> scheduledAction) Information about the rescheduled action.scheduledAction(ScheduledAction scheduledAction) Information about the rescheduled action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.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
Information about the rescheduled action.
- Parameters:
scheduledAction- Information about the rescheduled action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledAction
default UpdateScheduledActionResponse.Builder scheduledAction(Consumer<ScheduledAction.Builder> scheduledAction) Information about the rescheduled action.
This is a convenience method that creates an instance of theScheduledAction.Builderavoiding the need to create one manually viaScheduledAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledAction(ScheduledAction).- Parameters:
scheduledAction- a consumer that will call methods onScheduledAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-