Interface FirewallSyncReason.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FirewallSyncReason.Builder,,FirewallSyncReason> SdkBuilder<FirewallSyncReason.Builder,,FirewallSyncReason> SdkPojo
- Enclosing class:
FirewallSyncReason
@Mutable
@NotThreadSafe
public static interface FirewallSyncReason.Builder
extends SdkPojo, CopyableBuilder<FirewallSyncReason.Builder,FirewallSyncReason>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FirewallSyncReason.BuilderinvalidFirewall(Consumer<InvalidFirewallReasons.Builder> invalidFirewall) Details about a firewall whose configuration does not match the intended configuration.invalidFirewall(InvalidFirewallReasons invalidFirewall) Details about a firewall whose configuration does not match the intended configuration.missingFirewall(String missingFirewall) Indicates that an expected firewall is missing.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
-
missingFirewall
Indicates that an expected firewall is missing. The value describes the missing firewall.
- Parameters:
missingFirewall- Indicates that an expected firewall is missing. The value describes the missing firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invalidFirewall
Details about a firewall whose configuration does not match the intended configuration.
- Parameters:
invalidFirewall- Details about a firewall whose configuration does not match the intended configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invalidFirewall
default FirewallSyncReason.Builder invalidFirewall(Consumer<InvalidFirewallReasons.Builder> invalidFirewall) Details about a firewall whose configuration does not match the intended configuration.
This is a convenience method that creates an instance of theInvalidFirewallReasons.Builderavoiding the need to create one manually viaInvalidFirewallReasons.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvalidFirewall(InvalidFirewallReasons).- Parameters:
invalidFirewall- a consumer that will call methods onInvalidFirewallReasons.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-