Interface BatchDeleteFirewallRuleOutputItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchDeleteFirewallRuleOutputItem.Builder,,BatchDeleteFirewallRuleOutputItem> SdkBuilder<BatchDeleteFirewallRuleOutputItem.Builder,,BatchDeleteFirewallRuleOutputItem> SdkPojo
- Enclosing class:
BatchDeleteFirewallRuleOutputItem
@Mutable
@NotThreadSafe
public static interface BatchDeleteFirewallRuleOutputItem.Builder
extends SdkPojo, CopyableBuilder<BatchDeleteFirewallRuleOutputItem.Builder,BatchDeleteFirewallRuleOutputItem>
-
Method Summary
Modifier and TypeMethodDescriptionThe response code for the delete operation.firewallRule(Consumer<BatchDeleteFirewallRuleResult.Builder> firewallRule) The firewall rule that was deleted in the batch operation.firewallRule(BatchDeleteFirewallRuleResult firewallRule) The firewall rule that was deleted in the batch operation.The response message for the delete operation.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
-
firewallRule
The firewall rule that was deleted in the batch operation.
- Parameters:
firewallRule- The firewall rule that was deleted in the batch operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallRule
default BatchDeleteFirewallRuleOutputItem.Builder firewallRule(Consumer<BatchDeleteFirewallRuleResult.Builder> firewallRule) The firewall rule that was deleted in the batch operation.
This is a convenience method that creates an instance of theBatchDeleteFirewallRuleResult.Builderavoiding the need to create one manually viaBatchDeleteFirewallRuleResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofirewallRule(BatchDeleteFirewallRuleResult).- Parameters:
firewallRule- a consumer that will call methods onBatchDeleteFirewallRuleResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The response code for the delete operation.
- Parameters:
code- The response code for the delete operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
The response message for the delete operation.
- Parameters:
message- The response message for the delete operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-