public static interface Fleet.Builder extends CopyableBuilder<Fleet.Builder,Fleet>
Modifier and Type | Method and Description |
---|---|
Fleet.Builder |
arn(String arn)
The ARN for the fleet.
|
Fleet.Builder |
computeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity status for the fleet.
|
default Fleet.Builder |
computeCapacityStatus(Consumer<ComputeCapacityStatus.Builder> computeCapacityStatus)
The capacity status for the fleet.
|
Fleet.Builder |
createdTime(Instant createdTime)
The time the fleet was created.
|
Fleet.Builder |
description(String description)
The description displayed to end users.
|
Fleet.Builder |
disconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended, in seconds.
|
Fleet.Builder |
displayName(String displayName)
The fleet name displayed to end users.
|
default Fleet.Builder |
domainJoinInfo(Consumer<DomainJoinInfo.Builder> domainJoinInfo)
The information needed for streaming instances to join a domain.
|
Fleet.Builder |
domainJoinInfo(DomainJoinInfo domainJoinInfo)
The information needed for streaming instances to join a domain.
|
Fleet.Builder |
enableDefaultInternetAccess(Boolean enableDefaultInternetAccess)
Indicates whether default internet access is enabled for the fleet.
|
Fleet.Builder |
fleetErrors(Collection<FleetError> fleetErrors)
The fleet errors.
|
Fleet.Builder |
fleetErrors(FleetError... fleetErrors)
The fleet errors.
|
Fleet.Builder |
fleetType(FleetType fleetType)
Sets the value of the FleetType property for this object.
|
Fleet.Builder |
fleetType(String fleetType)
Sets the value of the FleetType property for this object.
|
Fleet.Builder |
imageName(String imageName)
The image used by the fleet.
|
Fleet.Builder |
instanceType(String instanceType)
The instance type to use when launching fleet instances.
|
Fleet.Builder |
maxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time that a streaming session can run, in seconds.
|
Fleet.Builder |
name(String name)
The name of the fleet.
|
Fleet.Builder |
state(FleetState state)
The current state for the fleet.
|
Fleet.Builder |
state(String state)
The current state for the fleet.
|
default Fleet.Builder |
vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
The VPC configuration for the fleet.
|
Fleet.Builder |
vpcConfig(VpcConfig vpcConfig)
The VPC configuration for the fleet.
|
copy
apply, build
Fleet.Builder arn(String arn)
The ARN for the fleet.
arn
- The ARN for the fleet.Fleet.Builder name(String name)
The name of the fleet.
name
- The name of the fleet.Fleet.Builder displayName(String displayName)
The fleet name displayed to end users.
displayName
- The fleet name displayed to end users.Fleet.Builder description(String description)
The description displayed to end users.
description
- The description displayed to end users.Fleet.Builder imageName(String imageName)
The image used by the fleet.
imageName
- The image used by the fleet.Fleet.Builder instanceType(String instanceType)
The instance type to use when launching fleet instances.
instanceType
- The instance type to use when launching fleet instances.Fleet.Builder fleetType(String fleetType)
Fleet.Builder fleetType(FleetType fleetType)
Fleet.Builder computeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity status for the fleet.
computeCapacityStatus
- The capacity status for the fleet.default Fleet.Builder computeCapacityStatus(Consumer<ComputeCapacityStatus.Builder> computeCapacityStatus)
The capacity status for the fleet.
This is a convenience that creates an instance of theComputeCapacityStatus.Builder
avoiding the need
to create one manually via ComputeCapacityStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to computeCapacityStatus(ComputeCapacityStatus)
.computeCapacityStatus
- a consumer that will call methods on ComputeCapacityStatus.Builder
computeCapacityStatus(ComputeCapacityStatus)
Fleet.Builder maxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.
maxUserDurationInSeconds
- The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.Fleet.Builder disconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended, in seconds. If a user who was disconnected reconnects within this time interval, the user is connected to their previous session. Specify a value between 60 and 57600.
disconnectTimeoutInSeconds
- The time after disconnection when a session is considered to have ended, in seconds. If a user who was
disconnected reconnects within this time interval, the user is connected to their previous session.
Specify a value between 60 and 57600.Fleet.Builder state(String state)
The current state for the fleet.
state
- The current state for the fleet.FleetState
,
FleetState
Fleet.Builder state(FleetState state)
The current state for the fleet.
state
- The current state for the fleet.FleetState
,
FleetState
Fleet.Builder vpcConfig(VpcConfig vpcConfig)
The VPC configuration for the fleet.
vpcConfig
- The VPC configuration for the fleet.default Fleet.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
The VPC configuration for the fleet.
This is a convenience that creates an instance of theVpcConfig.Builder
avoiding the need to create
one manually via VpcConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to vpcConfig(VpcConfig)
.vpcConfig
- a consumer that will call methods on VpcConfig.Builder
vpcConfig(VpcConfig)
Fleet.Builder createdTime(Instant createdTime)
The time the fleet was created.
createdTime
- The time the fleet was created.Fleet.Builder fleetErrors(Collection<FleetError> fleetErrors)
The fleet errors.
fleetErrors
- The fleet errors.Fleet.Builder fleetErrors(FleetError... fleetErrors)
The fleet errors.
fleetErrors
- The fleet errors.Fleet.Builder enableDefaultInternetAccess(Boolean enableDefaultInternetAccess)
Indicates whether default internet access is enabled for the fleet.
enableDefaultInternetAccess
- Indicates whether default internet access is enabled for the fleet.Fleet.Builder domainJoinInfo(DomainJoinInfo domainJoinInfo)
The information needed for streaming instances to join a domain.
domainJoinInfo
- The information needed for streaming instances to join a domain.default Fleet.Builder domainJoinInfo(Consumer<DomainJoinInfo.Builder> domainJoinInfo)
The information needed for streaming instances to join a domain.
This is a convenience that creates an instance of theDomainJoinInfo.Builder
avoiding the need to
create one manually via DomainJoinInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to domainJoinInfo(DomainJoinInfo)
.domainJoinInfo
- a consumer that will call methods on DomainJoinInfo.Builder
domainJoinInfo(DomainJoinInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.