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
Modifier and TypeMethodDescriptiondesiredInstances
(Integer desiredInstances) The desired number of streaming instances.desiredSessions
(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, sdkFields
-
Method Details
-
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
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.
-