Class ComputeCapacity
- java.lang.Object
-
- software.amazon.awssdk.services.appstream.model.ComputeCapacity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ComputeCapacity.Builder,ComputeCapacity>
@Generated("software.amazon.awssdk:codegen") public final class ComputeCapacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComputeCapacity.Builder,ComputeCapacity>
Describes the capacity for a fleet.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceComputeCapacity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputeCapacity.Builderbuilder()IntegerdesiredInstances()The desired number of streaming instances.IntegerdesiredSessions()The desired number of user sessions for a multi-session fleet.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ComputeCapacity.Builder>serializableBuilderClass()ComputeCapacity.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
desiredInstances
public final Integer desiredInstances()
The desired number of streaming instances.
- Returns:
- The desired number of streaming instances.
-
desiredSessions
public final Integer desiredSessions()
The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.
- Returns:
- The desired number of user sessions for a multi-session fleet. This is not allowed for single-session
fleets.
When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.
-
toBuilder
public ComputeCapacity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ComputeCapacity.Builder,ComputeCapacity>
-
builder
public static ComputeCapacity.Builder builder()
-
serializableBuilderClass
public static Class<? extends ComputeCapacity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-