Interface FleetSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FleetSummary.Builder,FleetSummary>,SdkBuilder<FleetSummary.Builder,FleetSummary>,SdkPojo
- Enclosing class:
- FleetSummary
public static interface FleetSummary.Builder extends SdkPojo, CopyableBuilder<FleetSummary.Builder,FleetSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FleetSummary.BuilderautoScalingStatus(String autoScalingStatus)The Auto Scaling status of a fleet.FleetSummary.BuilderautoScalingStatus(AutoScalingStatus autoScalingStatus)The Auto Scaling status of a fleet.default FleetSummary.Builderconfiguration(Consumer<FleetConfiguration.Builder> configuration)The configuration details for the fleet.FleetSummary.Builderconfiguration(FleetConfiguration configuration)The configuration details for the fleet.FleetSummary.BuildercreatedAt(Instant createdAt)The date and time the resource was created.FleetSummary.BuildercreatedBy(String createdBy)The user or system that created this resource.FleetSummary.BuilderdisplayName(String displayName)The display name of the fleet summary to update.FleetSummary.BuilderfarmId(String farmId)The farm ID.FleetSummary.BuilderfleetId(String fleetId)The fleet ID.FleetSummary.BuildermaxWorkerCount(Integer maxWorkerCount)The maximum number of workers specified in the fleet.FleetSummary.BuilderminWorkerCount(Integer minWorkerCount)The minimum number of workers in the fleet.FleetSummary.Builderstatus(String status)The status of the fleet.FleetSummary.Builderstatus(FleetStatus status)The status of the fleet.FleetSummary.BuildertargetWorkerCount(Integer targetWorkerCount)The target number of workers in a fleet.FleetSummary.BuilderupdatedAt(Instant updatedAt)The date and time the resource was updated.FleetSummary.BuilderupdatedBy(String updatedBy)The user or system that updated this resource.FleetSummary.BuilderworkerCount(Integer workerCount)The number of workers in the fleet summary.-
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
-
autoScalingStatus
FleetSummary.Builder autoScalingStatus(String autoScalingStatus)
The Auto Scaling status of a fleet.
- Parameters:
autoScalingStatus- The Auto Scaling status of a fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoScalingStatus,AutoScalingStatus
-
autoScalingStatus
FleetSummary.Builder autoScalingStatus(AutoScalingStatus autoScalingStatus)
The Auto Scaling status of a fleet.
- Parameters:
autoScalingStatus- The Auto Scaling status of a fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoScalingStatus,AutoScalingStatus
-
configuration
FleetSummary.Builder configuration(FleetConfiguration configuration)
The configuration details for the fleet.
- Parameters:
configuration- The configuration details for the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default FleetSummary.Builder configuration(Consumer<FleetConfiguration.Builder> configuration)
The configuration details for the fleet.
This is a convenience method that creates an instance of theFleetConfiguration.Builderavoiding the need to create one manually viaFleetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(FleetConfiguration).- Parameters:
configuration- a consumer that will call methods onFleetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(FleetConfiguration)
-
createdAt
FleetSummary.Builder createdAt(Instant createdAt)
The date and time the resource was created.
- Parameters:
createdAt- The date and time the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
FleetSummary.Builder createdBy(String createdBy)
The user or system that created this resource.
- Parameters:
createdBy- The user or system that created this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
FleetSummary.Builder displayName(String displayName)
The display name of the fleet summary to update.
- Parameters:
displayName- The display name of the fleet summary to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
FleetSummary.Builder farmId(String farmId)
The farm ID.
- Parameters:
farmId- The farm ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetId
FleetSummary.Builder fleetId(String fleetId)
The fleet ID.
- Parameters:
fleetId- The fleet ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxWorkerCount
FleetSummary.Builder maxWorkerCount(Integer maxWorkerCount)
The maximum number of workers specified in the fleet.
- Parameters:
maxWorkerCount- The maximum number of workers specified in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minWorkerCount
FleetSummary.Builder minWorkerCount(Integer minWorkerCount)
The minimum number of workers in the fleet.
- Parameters:
minWorkerCount- The minimum number of workers in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
FleetSummary.Builder status(String status)
The status of the fleet.
- Parameters:
status- The status of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FleetStatus,FleetStatus
-
status
FleetSummary.Builder status(FleetStatus status)
The status of the fleet.
- Parameters:
status- The status of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FleetStatus,FleetStatus
-
targetWorkerCount
FleetSummary.Builder targetWorkerCount(Integer targetWorkerCount)
The target number of workers in a fleet.
- Parameters:
targetWorkerCount- The target number of workers in a fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
FleetSummary.Builder updatedAt(Instant updatedAt)
The date and time the resource was updated.
- Parameters:
updatedAt- The date and time the resource was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
FleetSummary.Builder updatedBy(String updatedBy)
The user or system that updated this resource.
- Parameters:
updatedBy- The user or system that updated this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerCount
FleetSummary.Builder workerCount(Integer workerCount)
The number of workers in the fleet summary.
- Parameters:
workerCount- The number of workers in the fleet summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-