Interface EksAnywhereSubscriptionTerm.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EksAnywhereSubscriptionTerm.Builder,EksAnywhereSubscriptionTerm>,SdkBuilder<EksAnywhereSubscriptionTerm.Builder,EksAnywhereSubscriptionTerm>,SdkPojo
- Enclosing class:
- EksAnywhereSubscriptionTerm
public static interface EksAnywhereSubscriptionTerm.Builder extends SdkPojo, CopyableBuilder<EksAnywhereSubscriptionTerm.Builder,EksAnywhereSubscriptionTerm>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EksAnywhereSubscriptionTerm.Builderduration(Integer duration)The duration of the subscription term.EksAnywhereSubscriptionTerm.Builderunit(String unit)The term unit of the subscription.EksAnywhereSubscriptionTerm.Builderunit(EksAnywhereSubscriptionTermUnit unit)The term unit of the 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
duration
EksAnywhereSubscriptionTerm.Builder duration(Integer duration)
The duration of the subscription term. Valid values are 12 and 36, indicating a 12 month or 36 month subscription.
- Parameters:
duration- The duration of the subscription term. Valid values are 12 and 36, indicating a 12 month or 36 month subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
EksAnywhereSubscriptionTerm.Builder unit(String unit)
The term unit of the subscription. Valid value is
MONTHS.- Parameters:
unit- The term unit of the subscription. Valid value isMONTHS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EksAnywhereSubscriptionTermUnit,EksAnywhereSubscriptionTermUnit
-
unit
EksAnywhereSubscriptionTerm.Builder unit(EksAnywhereSubscriptionTermUnit unit)
The term unit of the subscription. Valid value is
MONTHS.- Parameters:
unit- The term unit of the subscription. Valid value isMONTHS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EksAnywhereSubscriptionTermUnit,EksAnywhereSubscriptionTermUnit
-
-