Interface GetFleetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFleetResponse.Builder,
,GetFleetResponse> DeadlineResponse.Builder
,SdkBuilder<GetFleetResponse.Builder,
,GetFleetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFleetResponse
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingStatus
(String autoScalingStatus) The Auto Scaling status of the fleet.autoScalingStatus
(AutoScalingStatus autoScalingStatus) The Auto Scaling status of the fleet.default GetFleetResponse.Builder
capabilities
(Consumer<FleetCapabilities.Builder> capabilities) Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.capabilities
(FleetCapabilities capabilities) Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.default GetFleetResponse.Builder
configuration
(Consumer<FleetConfiguration.Builder> configuration) The configuration setting for the fleet.configuration
(FleetConfiguration configuration) The configuration setting for the fleet.The date and time the resource was created.The user or system that created this resource.description
(String description) The description of the fleet.displayName
(String displayName) The display name of the fleet.The farm ID of the farm in the fleet.The fleet ID.default GetFleetResponse.Builder
hostConfiguration
(Consumer<HostConfiguration.Builder> hostConfiguration) The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.hostConfiguration
(HostConfiguration hostConfiguration) The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.maxWorkerCount
(Integer maxWorkerCount) The maximum number of workers specified in the fleet.minWorkerCount
(Integer minWorkerCount) The minimum number of workers specified in the fleet.The IAM role ARN.The status of the fleet.status
(FleetStatus status) The status of the fleet.targetWorkerCount
(Integer targetWorkerCount) The number of target workers in the fleet.The date and time the resource was updated.The user or system that updated this resource.workerCount
(Integer workerCount) The number of workers in the fleet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fleetId
The fleet ID.
- Parameters:
fleetId
- The fleet ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
The farm ID of the farm in the fleet.
- Parameters:
farmId
- The farm ID of the farm in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the fleet.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
displayName
- The display name of the fleet.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the fleet.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
description
- The description of the fleet.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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:
-
autoScalingStatus
The Auto Scaling status of the fleet. Either
GROWING
,STEADY
, orSHRINKING
.- Parameters:
autoScalingStatus
- The Auto Scaling status of the fleet. EitherGROWING
,STEADY
, orSHRINKING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoScalingStatus
The Auto Scaling status of the fleet. Either
GROWING
,STEADY
, orSHRINKING
.- Parameters:
autoScalingStatus
- The Auto Scaling status of the fleet. EitherGROWING
,STEADY
, orSHRINKING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetWorkerCount
The number of target workers in the fleet.
- Parameters:
targetWorkerCount
- The number of target workers in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerCount
The number of workers in the fleet.
- Parameters:
workerCount
- The number of workers in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minWorkerCount
The minimum number of workers specified in the fleet.
- Parameters:
minWorkerCount
- The minimum number of workers specified in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
configuration
The configuration setting for the fleet.
- Parameters:
configuration
- The configuration setting for the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration setting for the fleet.
This is a convenience method that creates an instance of theFleetConfiguration.Builder
avoiding the need to create one manually viaFleetConfiguration.builder()
.When the
Consumer
completes,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:
-
hostConfiguration
The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
- Parameters:
hostConfiguration
- The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostConfiguration
default GetFleetResponse.Builder hostConfiguration(Consumer<HostConfiguration.Builder> hostConfiguration) The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
This is a convenience method that creates an instance of theHostConfiguration.Builder
avoiding the need to create one manually viaHostConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohostConfiguration(HostConfiguration)
.- Parameters:
hostConfiguration
- a consumer that will call methods onHostConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capabilities
Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
- Parameters:
capabilities
- Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
This is a convenience method that creates an instance of theFleetCapabilities.Builder
avoiding the need to create one manually viaFleetCapabilities.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilities(FleetCapabilities)
.- Parameters:
capabilities
- a consumer that will call methods onFleetCapabilities.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The IAM role ARN.
- Parameters:
roleArn
- The IAM role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.
-
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
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.
-