Interface RestrictedPeriods.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RestrictedPeriods.Builder,RestrictedPeriods>,SdkBuilder<RestrictedPeriods.Builder,RestrictedPeriods>,SdkPojo
- Enclosing class:
- RestrictedPeriods
public static interface RestrictedPeriods.Builder extends SdkPojo, CopyableBuilder<RestrictedPeriods.Builder,RestrictedPeriods>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestrictedPeriods.BuilderrestrictedPeriodList(Collection<RestrictedPeriod> restrictedPeriodList)Sets the value of the RestrictedPeriodList property for this object.RestrictedPeriods.BuilderrestrictedPeriodList(Consumer<RestrictedPeriod.Builder>... restrictedPeriodList)Sets the value of the RestrictedPeriodList property for this object.RestrictedPeriods.BuilderrestrictedPeriodList(RestrictedPeriod... restrictedPeriodList)Sets the value of the RestrictedPeriodList property for this object.-
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
-
restrictedPeriodList
RestrictedPeriods.Builder restrictedPeriodList(Collection<RestrictedPeriod> restrictedPeriodList)
Sets the value of the RestrictedPeriodList property for this object.- Parameters:
restrictedPeriodList- The new value for the RestrictedPeriodList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictedPeriodList
RestrictedPeriods.Builder restrictedPeriodList(RestrictedPeriod... restrictedPeriodList)
Sets the value of the RestrictedPeriodList property for this object.- Parameters:
restrictedPeriodList- The new value for the RestrictedPeriodList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictedPeriodList
RestrictedPeriods.Builder restrictedPeriodList(Consumer<RestrictedPeriod.Builder>... restrictedPeriodList)
Sets the value of the RestrictedPeriodList property for this object. This is a convenience method that creates an instance of theRestrictedPeriod.Builderavoiding the need to create one manually viaRestrictedPeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#restrictedPeriodList(List.) - Parameters:
restrictedPeriodList- a consumer that will call methods onRestrictedPeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#restrictedPeriodList(java.util.Collection)
-
-