Interface LocationAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LocationAttributes.Builder,LocationAttributes>,SdkBuilder<LocationAttributes.Builder,LocationAttributes>,SdkPojo
- Enclosing class:
- LocationAttributes
public static interface LocationAttributes.Builder extends SdkPojo, CopyableBuilder<LocationAttributes.Builder,LocationAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LocationAttributes.BuilderlocationState(Consumer<LocationState.Builder> locationState)A fleet location and its current life-cycle state.LocationAttributes.BuilderlocationState(LocationState locationState)A fleet location and its current life-cycle state.LocationAttributes.BuilderstoppedActions(Collection<FleetAction> stoppedActions)A list of fleet actions that have been suspended in the fleet location.LocationAttributes.BuilderstoppedActions(FleetAction... stoppedActions)A list of fleet actions that have been suspended in the fleet location.LocationAttributes.BuilderstoppedActionsWithStrings(String... stoppedActions)A list of fleet actions that have been suspended in the fleet location.LocationAttributes.BuilderstoppedActionsWithStrings(Collection<String> stoppedActions)A list of fleet actions that have been suspended in the fleet location.LocationAttributes.BuilderupdateStatus(String updateStatus)The status of fleet activity updates to the location.LocationAttributes.BuilderupdateStatus(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, sdkFields
-
-
-
-
Method Detail
-
locationState
LocationAttributes.Builder locationState(LocationState 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
default LocationAttributes.Builder locationState(Consumer<LocationState.Builder> locationState)
A fleet location and its current life-cycle state.
This is a convenience method that creates an instance of theLocationState.Builderavoiding the need to create one manually viaLocationState.builder().When the
Consumercompletes,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:
locationState(LocationState)
-
stoppedActionsWithStrings
LocationAttributes.Builder stoppedActionsWithStrings(Collection<String> 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.
-
stoppedActionsWithStrings
LocationAttributes.Builder stoppedActionsWithStrings(String... 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
LocationAttributes.Builder stoppedActions(Collection<FleetAction> 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
LocationAttributes.Builder stoppedActions(FleetAction... 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
LocationAttributes.Builder updateStatus(String updateStatus)
The status of fleet activity updates to the location. The status
PENDING_UPDATEindicates thatStopFleetActionsorStartFleetActionshas 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_UPDATEindicates thatStopFleetActionsorStartFleetActionshas 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:
LocationUpdateStatus,LocationUpdateStatus
-
updateStatus
LocationAttributes.Builder updateStatus(LocationUpdateStatus updateStatus)
The status of fleet activity updates to the location. The status
PENDING_UPDATEindicates thatStopFleetActionsorStartFleetActionshas 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_UPDATEindicates thatStopFleetActionsorStartFleetActionshas 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:
LocationUpdateStatus,LocationUpdateStatus
-
-