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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
ScheduleAt
toTIMESTAMP
.- Parameters:
desiredStartTime
- The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you setScheduleAt
toTIMESTAMP
.- 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-