Interface CapabilityConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapabilityConfiguration.Builder,,CapabilityConfiguration> SdkBuilder<CapabilityConfiguration.Builder,,CapabilityConfiguration> SdkPojo
- Enclosing class:
CapabilityConfiguration
@Mutable
@NotThreadSafe
public static interface CapabilityConfiguration.Builder
extends SdkPojo, CopyableBuilder<CapabilityConfiguration.Builder,CapabilityConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionWhether the capability is enabled.triggerFilterGroups(Collection<TriggerFilterGroup> triggerFilterGroups) Optional trigger filter groups.triggerFilterGroups(Consumer<TriggerFilterGroup.Builder>... triggerFilterGroups) Optional trigger filter groups.triggerFilterGroups(TriggerFilterGroup... triggerFilterGroups) Optional trigger filter groups.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
-
enabled
Whether the capability is enabled.
- Parameters:
enabled- Whether the capability is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerFilterGroups
CapabilityConfiguration.Builder triggerFilterGroups(Collection<TriggerFilterGroup> triggerFilterGroups) Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.
- Parameters:
triggerFilterGroups- Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerFilterGroups
Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.
- Parameters:
triggerFilterGroups- Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerFilterGroups
CapabilityConfiguration.Builder triggerFilterGroups(Consumer<TriggerFilterGroup.Builder>... triggerFilterGroups) Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.
This is a convenience method that creates an instance of theTriggerFilterGroup.Builderavoiding the need to create one manually viaTriggerFilterGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totriggerFilterGroups(List<TriggerFilterGroup>).- Parameters:
triggerFilterGroups- a consumer that will call methods onTriggerFilterGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-