Interface CreateNetworkAclEntriesAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateNetworkAclEntriesAction.Builder,
,CreateNetworkAclEntriesAction> SdkBuilder<CreateNetworkAclEntriesAction.Builder,
,CreateNetworkAclEntriesAction> SdkPojo
- Enclosing class:
CreateNetworkAclEntriesAction
-
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.networkAclEntriesToBeCreated
(Collection<EntryDescription> networkAclEntriesToBeCreated) Lists the entries that the remediation action would create.networkAclEntriesToBeCreated
(Consumer<EntryDescription.Builder>... networkAclEntriesToBeCreated) Lists the entries that the remediation action would create.networkAclEntriesToBeCreated
(EntryDescription... networkAclEntriesToBeCreated) Lists the entries that the remediation action would create.networkAclId
(Consumer<ActionTarget.Builder> networkAclId) The network ACL that's associated with the remediation action.networkAclId
(ActionTarget networkAclId) The network ACL 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, sdkFieldNameToField, 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.
-
networkAclId
The network ACL that's associated with the remediation action.
- Parameters:
networkAclId
- The network ACL that's associated with the remediation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkAclId
default CreateNetworkAclEntriesAction.Builder networkAclId(Consumer<ActionTarget.Builder> networkAclId) The network ACL 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 tonetworkAclId(ActionTarget)
.- Parameters:
networkAclId
- 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:
-
networkAclEntriesToBeCreated
CreateNetworkAclEntriesAction.Builder networkAclEntriesToBeCreated(Collection<EntryDescription> networkAclEntriesToBeCreated) Lists the entries that the remediation action would create.
- Parameters:
networkAclEntriesToBeCreated
- Lists the entries that the remediation action would create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkAclEntriesToBeCreated
CreateNetworkAclEntriesAction.Builder networkAclEntriesToBeCreated(EntryDescription... networkAclEntriesToBeCreated) Lists the entries that the remediation action would create.
- Parameters:
networkAclEntriesToBeCreated
- Lists the entries that the remediation action would create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkAclEntriesToBeCreated
CreateNetworkAclEntriesAction.Builder networkAclEntriesToBeCreated(Consumer<EntryDescription.Builder>... networkAclEntriesToBeCreated) Lists the entries that the remediation action would create.
This is a convenience method that creates an instance of theEntryDescription.Builder
avoiding the need to create one manually viaEntryDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkAclEntriesToBeCreated(List<EntryDescription>)
.- Parameters:
networkAclEntriesToBeCreated
- a consumer that will call methods onEntryDescription.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.
-