Interface Subscription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Subscription.Builder,
,Subscription> SdkBuilder<Subscription.Builder,
,Subscription> SdkPojo
- Enclosing class:
Subscription
public static interface Subscription.Builder
extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceCount
(Long instanceCount) The total amount of running instances using this subscription.The name of the subscription.The type of subscription.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
-
instanceCount
The total amount of running instances using this subscription.
- Parameters:
instanceCount
- The total amount of running instances using this subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the subscription.
- Parameters:
name
- The name of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
- Parameters:
type
- The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-