Class LocationState
- All Implemented Interfaces:
 Serializable,SdkPojo,ToCopyableBuilder<LocationState.Builder,LocationState> 
Represents a location and its corresponding stream capacity and status.
- See Also:
 
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerThis value is the number of compute resources that a stream group has provisioned and is ready to stream.final IntegerThe streaming capacity that is allocated and ready to handle stream requests without delay.static LocationState.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThis value is the amount of allocated capacity that is not currently streaming.final StringA location's name.final IntegerThe streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated.final IntegerThis value is the total number of compute resources that you request for a stream group.static Class<? extends LocationState.Builder> status()This value is set of locations, including their name, current status, and capacities.final StringThis value is set of locations, including their name, current status, and capacities.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
- 
Method Details
- 
allocatedCapacity
This value is the number of compute resources that a stream group has provisioned and is ready to stream. It includes resources that are currently streaming and resources that are idle and ready to respond to stream requests.
- Returns:
 - This value is the number of compute resources that a stream group has provisioned and is ready to stream. It includes resources that are currently streaming and resources that are idle and ready to respond to stream requests.
 
 - 
alwaysOnCapacity
The streaming capacity that is allocated and ready to handle stream requests without delay. You pay for this capacity whether it's in use or not. Best for quickest time from streaming request to streaming session.
- Returns:
 - The streaming capacity that is allocated and ready to handle stream requests without delay. You pay for this capacity whether it's in use or not. Best for quickest time from streaming request to streaming session.
 
 - 
idleCapacity
This value is the amount of allocated capacity that is not currently streaming. It represents the stream group's availability to respond to new stream requests, but not including on-demand capacity.
- Returns:
 - This value is the amount of allocated capacity that is not currently streaming. It represents the stream group's availability to respond to new stream requests, but not including on-demand capacity.
 
 - 
locationName
A location's name. For example,
us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions and quotas in the Amazon GameLift Streams Developer Guide.- Returns:
 - A location's name. For example, 
us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions and quotas in the Amazon GameLift Streams Developer Guide. 
 - 
onDemandCapacity
The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes).
- Returns:
 - The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes).
 
 - 
requestedCapacity
This value is the total number of compute resources that you request for a stream group. This includes resources that Amazon GameLift Streams has either already provisioned or is working to provision. You request capacity for each location in a stream group.
- Returns:
 - This value is the total number of compute resources that you request for a stream group. This includes resources that Amazon GameLift Streams has either already provisioned or is working to provision. You request capacity for each location in a stream group.
 
 - 
status
This value is set of locations, including their name, current status, and capacities.
A location can be in one of the following states:
- 
 
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet.
 - 
 
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location.
 - 
 
ERROR: Amazon GameLift Streams failed to set up this location. The StatusReason field describes the error. You can remove this location and try to add it again.
 - 
 
REMOVING: Amazon GameLift Streams is working to remove this location. It releases all provisioned capacity for this location in this stream group.
 
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStreamGroupLocationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
 - This value is set of locations, including their name, current status, and capacities. 
         
A location can be in one of the following states:
- 
         
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet.
 - 
         
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location.
 - 
         
ERROR: Amazon GameLift Streams failed to set up this location. The StatusReason field describes the error. You can remove this location and try to add it again.
 - 
         
REMOVING: Amazon GameLift Streams is working to remove this location. It releases all provisioned capacity for this location in this stream group.
 
 - 
         
 - See Also:
 
 - 
 
 - 
statusAsString
This value is set of locations, including their name, current status, and capacities.
A location can be in one of the following states:
- 
 
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet.
 - 
 
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location.
 - 
 
ERROR: Amazon GameLift Streams failed to set up this location. The StatusReason field describes the error. You can remove this location and try to add it again.
 - 
 
REMOVING: Amazon GameLift Streams is working to remove this location. It releases all provisioned capacity for this location in this stream group.
 
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStreamGroupLocationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
 - This value is set of locations, including their name, current status, and capacities. 
         
A location can be in one of the following states:
- 
         
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet.
 - 
         
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location.
 - 
         
ERROR: Amazon GameLift Streams failed to set up this location. The StatusReason field describes the error. You can remove this location and try to add it again.
 - 
         
REMOVING: Amazon GameLift Streams is working to remove this location. It releases all provisioned capacity for this location in this stream group.
 
 - 
         
 - See Also:
 
 - 
 
 - 
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<LocationState.Builder,LocationState> - Returns:
 - a builder for type T
 
 - 
builder
 - 
serializableBuilderClass
 - 
hashCode
 - 
equals
 - 
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
 equalsBySdkFieldsin interfaceSdkPojo- Parameters:
 obj- the object to be compared with- Returns:
 - true if the other object equals to this object by sdk fields, false otherwise.
 
 - 
toString
 - 
getValueForField
 - 
sdkFields
 - 
sdkFieldNameToField
- Specified by:
 sdkFieldNameToFieldin interfaceSdkPojo- Returns:
 - The mapping between the field name and its corresponding field.
 
 
 -