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