Interface ArraySetting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ArraySetting.Builder,,ArraySetting> SdkBuilder<ArraySetting.Builder,,ArraySetting> SdkPojo
- Enclosing class:
ArraySetting
@Mutable
@NotThreadSafe
public static interface ArraySetting.Builder
extends SdkPojo, CopyableBuilder<ArraySetting.Builder,ArraySetting>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ArraySetting.BuilderitemDefinition(Consumer<SettingDefinition.Builder> itemDefinition) The definition for each element in the array.itemDefinition(SettingDefinition itemDefinition) The definition for each element in the array.The most items the array may hold, between 1 and 100.The fewest items the array may hold.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
minLength
The fewest items the array may hold.
- Parameters:
minLength- The fewest items the array may hold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxLength
The most items the array may hold, between 1 and 100. Must be at least minLength.
- Parameters:
maxLength- The most items the array may hold, between 1 and 100. Must be at least minLength.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemDefinition
The definition for each element in the array.
- Parameters:
itemDefinition- The definition for each element in the array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemDefinition
The definition for each element in the array.
This is a convenience method that creates an instance of theSettingDefinition.Builderavoiding the need to create one manually viaSettingDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitemDefinition(SettingDefinition).- Parameters:
itemDefinition- a consumer that will call methods onSettingDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-