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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subscription.BuilderinstanceCount(Long instanceCount)The total amount of running instances using this subscription.Subscription.Buildername(String name)The name of the subscription.Subscription.Buildertype(String type)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 Detail
-
instanceCount
Subscription.Builder instanceCount(Long 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
Subscription.Builder name(String 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
Subscription.Builder type(String 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.
-
-