Interface GroupSetting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupSetting.Builder,,GroupSetting> SdkBuilder<GroupSetting.Builder,,GroupSetting> SdkPojo
- Enclosing class:
GroupSetting
@Mutable
@NotThreadSafe
public static interface GroupSetting.Builder
extends SdkPojo, CopyableBuilder<GroupSetting.Builder,GroupSetting>
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities(Collection<Capability> capabilities) Optional capabilities scoped to this group.capabilities(Consumer<Capability.Builder>... capabilities) Optional capabilities scoped to this group.capabilities(Capability... capabilities) Optional capabilities scoped to this group.settings(Collection<Setting> settings) The settings within this group.settings(Consumer<Setting.Builder>... settings) The settings within this group.The settings within this group.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
-
settings
The settings within this group.
- Parameters:
settings- The settings within this group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The settings within this group.
- Parameters:
settings- The settings within this group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The settings within this group.
This is a convenience method that creates an instance of theSetting.Builderavoiding the need to create one manually viaSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosettings(List<Setting>).- Parameters:
settings- a consumer that will call methods onSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capabilities
Optional capabilities scoped to this group.
- Parameters:
capabilities- Optional capabilities scoped to this group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Optional capabilities scoped to this group.
- Parameters:
capabilities- Optional capabilities scoped to this group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Optional capabilities scoped to this group.
This is a convenience method that creates an instance of theCapability.Builderavoiding the need to create one manually viaCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilities(List<Capability>).- Parameters:
capabilities- a consumer that will call methods onCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-