Interface UpdateScheduledActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateScheduledActionRequest.Builder,,UpdateScheduledActionRequest> OpenSearchRequest.Builder,SdkBuilder<UpdateScheduledActionRequest.Builder,,UpdateScheduledActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateScheduledActionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the action to reschedule.actionType(String actionType) The type of action to reschedule.actionType(ActionType actionType) The type of action to reschedule.desiredStartTime(Long desiredStartTime) The time to implement the change, in Coordinated Universal Time (UTC).domainName(String domainName) The name of the domain to reschedule an action for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scheduleAt(String scheduleAt) When to schedule the action.scheduleAt(ScheduleAt scheduleAt) When to schedule the action.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.opensearch.model.OpenSearchRequest.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
-
domainName
The name of the domain to reschedule an action for.
- Parameters:
domainName- The name of the domain to reschedule an action for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionID
The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request.
- Parameters:
actionID- The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionType
The type of action to reschedule. Can be one of
SERVICE_SOFTWARE_UPDATE,JVM_HEAP_SIZE_TUNING, orJVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request.- Parameters:
actionType- The type of action to reschedule. Can be one ofSERVICE_SOFTWARE_UPDATE,JVM_HEAP_SIZE_TUNING, orJVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionType
The type of action to reschedule. Can be one of
SERVICE_SOFTWARE_UPDATE,JVM_HEAP_SIZE_TUNING, orJVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request.- Parameters:
actionType- The type of action to reschedule. Can be one ofSERVICE_SOFTWARE_UPDATE,JVM_HEAP_SIZE_TUNING, orJVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleAt
When to schedule the action.
-
NOW- Immediately schedules the update to happen in the current hour if there's capacity available. -
TIMESTAMP- Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value forDesiredStartTime. -
OFF_PEAK_WINDOW- Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days.
- Parameters:
scheduleAt- When to schedule the action.-
NOW- Immediately schedules the update to happen in the current hour if there's capacity available. -
TIMESTAMP- Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value forDesiredStartTime. -
OFF_PEAK_WINDOW- Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
scheduleAt
When to schedule the action.
-
NOW- Immediately schedules the update to happen in the current hour if there's capacity available. -
TIMESTAMP- Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value forDesiredStartTime. -
OFF_PEAK_WINDOW- Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days.
- Parameters:
scheduleAt- When to schedule the action.-
NOW- Immediately schedules the update to happen in the current hour if there's capacity available. -
TIMESTAMP- Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value forDesiredStartTime. -
OFF_PEAK_WINDOW- Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
desiredStartTime
The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you set
ScheduleAttoTIMESTAMP.- Parameters:
desiredStartTime- The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you setScheduleAttoTIMESTAMP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateScheduledActionRequest.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
UpdateScheduledActionRequest.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.
-