Interface ComputeCapacity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeCapacity.Builder,ComputeCapacity>,SdkBuilder<ComputeCapacity.Builder,ComputeCapacity>,SdkPojo
- Enclosing class:
- ComputeCapacity
public static interface ComputeCapacity.Builder extends SdkPojo, CopyableBuilder<ComputeCapacity.Builder,ComputeCapacity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComputeCapacity.BuilderdesiredInstances(Integer desiredInstances)The desired number of streaming instances.ComputeCapacity.BuilderdesiredSessions(Integer desiredSessions)The desired number of user sessions for a multi-session fleet.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
desiredInstances
ComputeCapacity.Builder desiredInstances(Integer desiredInstances)
The desired number of streaming instances.
- Parameters:
desiredInstances- The desired number of streaming instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredSessions
ComputeCapacity.Builder desiredSessions(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-