Interface CreateNetworkAclAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateNetworkAclAction.Builder,
,CreateNetworkAclAction> SdkBuilder<CreateNetworkAclAction.Builder,
,CreateNetworkAclAction> SdkPojo
- Enclosing class:
CreateNetworkAclAction
public static interface CreateNetworkAclAction.Builder
extends SdkPojo, CopyableBuilder<CreateNetworkAclAction.Builder,CreateNetworkAclAction>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) Brief description of this remediation action.fmsCanRemediate
(Boolean fmsCanRemediate) Indicates whether it is possible for Firewall Manager to perform this remediation action.default CreateNetworkAclAction.Builder
vpc
(Consumer<ActionTarget.Builder> vpc) The VPC that's associated with the remediation action.vpc
(ActionTarget vpc) The VPC that's associated with the remediation action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
description
Brief description of this remediation action.
- Parameters:
description
- Brief description of this remediation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
The VPC that's associated with the remediation action.
- Parameters:
vpc
- The VPC that's associated with the remediation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
The VPC that's associated with the remediation action.
This is a convenience method that creates an instance of theActionTarget.Builder
avoiding the need to create one manually viaActionTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpc(ActionTarget)
.- Parameters:
vpc
- a consumer that will call methods onActionTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fmsCanRemediate
Indicates whether it is possible for Firewall Manager to perform this remediation action. A false value indicates that auto remediation is disabled or Firewall Manager is unable to perform the action due to a conflict of some kind.
- Parameters:
fmsCanRemediate
- Indicates whether it is possible for Firewall Manager to perform this remediation action. A false value indicates that auto remediation is disabled or Firewall Manager is unable to perform the action due to a conflict of some kind.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-