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