@Generated(value="software.amazon.awssdk:codegen") public final class CreateFleetRequest extends AppStreamRequest implements ToCopyableBuilder<CreateFleetRequest.Builder,CreateFleetRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateFleetRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateFleetRequest.Builder |
builder() |
ComputeCapacity |
computeCapacity()
The desired capacity for the fleet.
|
String |
description()
The description for display.
|
Integer |
disconnectTimeoutInSeconds()
The time after disconnection when a session is considered to have ended, in seconds.
|
String |
displayName()
The fleet name for display.
|
DomainJoinInfo |
domainJoinInfo()
The information needed to join a Microsoft Active Directory domain.
|
Boolean |
enableDefaultInternetAccess()
Enables or disables default internet access for the fleet.
|
boolean |
equals(Object obj) |
FleetType |
fleetType()
The fleet type.
|
String |
fleetTypeAsString()
The fleet type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
imageArn()
The ARN of the public, private, or shared image to use.
|
String |
imageName()
The name of the image used to create the fleet.
|
String |
instanceType()
The instance type to use when launching fleet instances.
|
Integer |
maxUserDurationInSeconds()
The maximum time that a streaming session can run, in seconds.
|
String |
name()
A unique name for the fleet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFleetRequest.Builder> |
serializableBuilderClass() |
CreateFleetRequest.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.
|
overrideConfiguration
copy
public String name()
A unique name for the fleet.
public String imageName()
The name of the image used to create the fleet.
public String imageArn()
The ARN of the public, private, or shared image to use.
public String instanceType()
The instance type to use when launching fleet instances. The following instance types are available:
stream.standard.medium
stream.standard.large
stream.compute.large
stream.compute.xlarge
stream.compute.2xlarge
stream.compute.4xlarge
stream.compute.8xlarge
stream.memory.large
stream.memory.xlarge
stream.memory.2xlarge
stream.memory.4xlarge
stream.memory.8xlarge
stream.graphics-design.large
stream.graphics-design.xlarge
stream.graphics-design.2xlarge
stream.graphics-design.4xlarge
stream.graphics-desktop.2xlarge
stream.graphics-pro.4xlarge
stream.graphics-pro.8xlarge
stream.graphics-pro.16xlarge
stream.standard.medium
stream.standard.large
stream.compute.large
stream.compute.xlarge
stream.compute.2xlarge
stream.compute.4xlarge
stream.compute.8xlarge
stream.memory.large
stream.memory.xlarge
stream.memory.2xlarge
stream.memory.4xlarge
stream.memory.8xlarge
stream.graphics-design.large
stream.graphics-design.xlarge
stream.graphics-design.2xlarge
stream.graphics-design.4xlarge
stream.graphics-desktop.2xlarge
stream.graphics-pro.4xlarge
stream.graphics-pro.8xlarge
stream.graphics-pro.16xlarge
public FleetType fleetType()
The fleet type.
Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.
Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.
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()
.
Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.
Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.
FleetType
public String fleetTypeAsString()
The fleet type.
Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.
Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.
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()
.
Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.
Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.
FleetType
public ComputeCapacity computeCapacity()
The desired capacity for the fleet.
public VpcConfig vpcConfig()
The VPC configuration 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 String description()
The description for display.
public String displayName()
The fleet name for display.
public Boolean enableDefaultInternetAccess()
Enables or disables default internet access for the fleet.
public DomainJoinInfo domainJoinInfo()
The information needed to join a Microsoft Active Directory domain.
public CreateFleetRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateFleetRequest.Builder,CreateFleetRequest>
toBuilder
in class AppStreamRequest
public static CreateFleetRequest.Builder builder()
public static Class<? extends CreateFleetRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.