Interface Entitlement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Entitlement.Builder,Entitlement>,SdkBuilder<Entitlement.Builder,Entitlement>,SdkPojo
- Enclosing class:
- Entitlement
public static interface Entitlement.Builder extends SdkPojo, CopyableBuilder<Entitlement.Builder,Entitlement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entitlement.BuilderallowCheckIn(Boolean allowCheckIn)Indicates whether check-ins are allowed.Entitlement.BuildermaxCount(Long maxCount)Maximum entitlement count.Entitlement.Buildername(String name)Entitlement name.Entitlement.Builderoverage(Boolean overage)Indicates whether overages are allowed.Entitlement.Builderunit(String unit)Entitlement unit.Entitlement.Builderunit(EntitlementUnit unit)Entitlement unit.Entitlement.Buildervalue(String value)Entitlement resource.-
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
-
name
Entitlement.Builder name(String name)
Entitlement name.
- Parameters:
name- Entitlement name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Entitlement.Builder value(String value)
Entitlement resource. Use only if the unit is None.
- Parameters:
value- Entitlement resource. Use only if the unit is None.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCount
Entitlement.Builder maxCount(Long maxCount)
Maximum entitlement count. Use if the unit is not None.
- Parameters:
maxCount- Maximum entitlement count. Use if the unit is not None.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overage
Entitlement.Builder overage(Boolean overage)
Indicates whether overages are allowed.
- Parameters:
overage- Indicates whether overages are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
Entitlement.Builder unit(String unit)
Entitlement unit.
- Parameters:
unit- Entitlement unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EntitlementUnit,EntitlementUnit
-
unit
Entitlement.Builder unit(EntitlementUnit unit)
Entitlement unit.
- Parameters:
unit- Entitlement unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EntitlementUnit,EntitlementUnit
-
allowCheckIn
Entitlement.Builder allowCheckIn(Boolean allowCheckIn)
Indicates whether check-ins are allowed.
- Parameters:
allowCheckIn- Indicates whether check-ins are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-