@Generated(value="software.amazon.awssdk:codegen") public final class Fleet extends Object implements StructuredPojo, ToCopyableBuilder<Fleet.Builder,Fleet>
Contains the parameters for a fleet.
Modifier and Type | Class and Description |
---|---|
static interface |
Fleet.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN for the fleet.
|
static Fleet.Builder |
builder() |
ComputeCapacityStatus |
computeCapacityStatus()
The capacity status for the fleet.
|
Instant |
createdTime()
The time the fleet was created.
|
String |
description()
The description displayed to end users.
|
Integer |
disconnectTimeoutInSeconds()
The time after disconnection when a session is considered to have ended, in seconds.
|
String |
displayName()
The fleet name displayed to end users.
|
DomainJoinInfo |
domainJoinInfo()
The information needed for streaming instances to join a domain.
|
Boolean |
enableDefaultInternetAccess()
Indicates whether default internet access is enabled for the fleet.
|
boolean |
equals(Object obj) |
List<FleetError> |
fleetErrors()
The fleet errors.
|
FleetType |
fleetType()
Returns the value of the FleetType property for this object.
|
String |
fleetTypeAsString()
Returns the value of the FleetType property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageName()
The image used by the fleet.
|
String |
instanceType()
The instance type to use when launching fleet instances.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
maxUserDurationInSeconds()
The maximum time that a streaming session can run, in seconds.
|
String |
name()
The name of the fleet.
|
static Class<? extends Fleet.Builder> |
serializableBuilderClass() |
FleetState |
state()
The current state for the fleet.
|
String |
stateAsString()
The current state for the fleet.
|
Fleet.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
VpcConfig |
vpcConfig()
The VPC configuration for the fleet.
|
copy
public String arn()
The ARN for the fleet.
public String name()
The name of the fleet.
public String displayName()
The fleet name displayed to end users.
public String description()
The description displayed to end users.
public String imageName()
The image used by the fleet.
public String instanceType()
The instance type to use when launching fleet instances.
public FleetType fleetType()
If the service returns an enum value that is not available in the current SDK version, fleetType
will
return FleetType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
fleetTypeAsString()
.
FleetType
public String fleetTypeAsString()
If the service returns an enum value that is not available in the current SDK version, fleetType
will
return FleetType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
fleetTypeAsString()
.
FleetType
public ComputeCapacityStatus computeCapacityStatus()
The capacity status for the fleet.
public Integer maxUserDurationInSeconds()
The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.
public 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.
public FleetState state()
The current state for the fleet.
If the service returns an enum value that is not available in the current SDK version, state
will return
FleetState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
FleetState
public String stateAsString()
The current state for the fleet.
If the service returns an enum value that is not available in the current SDK version, state
will return
FleetState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
FleetState
public VpcConfig vpcConfig()
The VPC configuration for the fleet.
public Instant createdTime()
The time the fleet was created.
public List<FleetError> fleetErrors()
The fleet errors.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean enableDefaultInternetAccess()
Indicates whether default internet access is enabled for the fleet.
public DomainJoinInfo domainJoinInfo()
The information needed for streaming instances to join a domain.
public Fleet.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Fleet.Builder,Fleet>
public static Fleet.Builder builder()
public static Class<? extends Fleet.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.