Interface LocationAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LocationAttributes.Builder,
,LocationAttributes> SdkBuilder<LocationAttributes.Builder,
,LocationAttributes> SdkPojo
- Enclosing class:
LocationAttributes
-
Method Summary
Modifier and TypeMethodDescriptiondefault LocationAttributes.Builder
locationState
(Consumer<LocationState.Builder> locationState) A fleet location and its current life-cycle state.locationState
(LocationState locationState) A fleet location and its current life-cycle state.stoppedActions
(Collection<FleetAction> stoppedActions) A list of fleet actions that have been suspended in the fleet location.stoppedActions
(FleetAction... stoppedActions) A list of fleet actions that have been suspended in the fleet location.stoppedActionsWithStrings
(String... stoppedActions) A list of fleet actions that have been suspended in the fleet location.stoppedActionsWithStrings
(Collection<String> stoppedActions) A list of fleet actions that have been suspended in the fleet location.updateStatus
(String updateStatus) The status of fleet activity updates to the location.updateStatus
(LocationUpdateStatus updateStatus) The status of fleet activity updates to the location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
locationState
A fleet location and its current life-cycle state.
- Parameters:
locationState
- A fleet location and its current life-cycle state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationState
A fleet location and its current life-cycle state.
This is a convenience method that creates an instance of theLocationState.Builder
avoiding the need to create one manually viaLocationState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocationState(LocationState)
.- Parameters:
locationState
- a consumer that will call methods onLocationState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stoppedActionsWithStrings
A list of fleet actions that have been suspended in the fleet location.
- Parameters:
stoppedActions
- A list of fleet actions that have been suspended in the fleet location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedActionsWithStrings
A list of fleet actions that have been suspended in the fleet location.
- Parameters:
stoppedActions
- A list of fleet actions that have been suspended in the fleet location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedActions
A list of fleet actions that have been suspended in the fleet location.
- Parameters:
stoppedActions
- A list of fleet actions that have been suspended in the fleet location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedActions
A list of fleet actions that have been suspended in the fleet location.
- Parameters:
stoppedActions
- A list of fleet actions that have been suspended in the fleet location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateStatus
The status of fleet activity updates to the location. The status
PENDING_UPDATE
indicates thatStopFleetActions
orStartFleetActions
has been requested but the update has not yet been completed for the location.- Parameters:
updateStatus
- The status of fleet activity updates to the location. The statusPENDING_UPDATE
indicates thatStopFleetActions
orStartFleetActions
has been requested but the update has not yet been completed for the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateStatus
The status of fleet activity updates to the location. The status
PENDING_UPDATE
indicates thatStopFleetActions
orStartFleetActions
has been requested but the update has not yet been completed for the location.- Parameters:
updateStatus
- The status of fleet activity updates to the location. The statusPENDING_UPDATE
indicates thatStopFleetActions
orStartFleetActions
has been requested but the update has not yet been completed for the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-