Interface AwsVPCSecurityGroupViolation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsVPCSecurityGroupViolation.Builder,
,AwsVPCSecurityGroupViolation> SdkBuilder<AwsVPCSecurityGroupViolation.Builder,
,AwsVPCSecurityGroupViolation> SdkPojo
- Enclosing class:
AwsVPCSecurityGroupViolation
-
Method Summary
Modifier and TypeMethodDescriptionpartialMatches
(Collection<PartialMatch> partialMatches) List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTarget
rule.partialMatches
(Consumer<PartialMatch.Builder>... partialMatches) List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTarget
rule.partialMatches
(PartialMatch... partialMatches) List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTarget
rule.possibleSecurityGroupRemediationActions
(Collection<SecurityGroupRemediationAction> possibleSecurityGroupRemediationActions) Remediation options for the rule specified in theViolationTarget
.possibleSecurityGroupRemediationActions
(Consumer<SecurityGroupRemediationAction.Builder>... possibleSecurityGroupRemediationActions) Remediation options for the rule specified in theViolationTarget
.possibleSecurityGroupRemediationActions
(SecurityGroupRemediationAction... possibleSecurityGroupRemediationActions) Remediation options for the rule specified in theViolationTarget
.violationTarget
(String violationTarget) The security group rule that is being evaluated.violationTargetDescription
(String violationTargetDescription) A description of the security group that violates the policy.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
-
violationTarget
The security group rule that is being evaluated.
- Parameters:
violationTarget
- The security group rule that is being evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violationTargetDescription
A description of the security group that violates the policy.
- Parameters:
violationTargetDescription
- A description of the security group that violates the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partialMatches
List of rules specified in the security group of the Firewall Manager policy that partially match the
ViolationTarget
rule.- Parameters:
partialMatches
- List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTarget
rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partialMatches
List of rules specified in the security group of the Firewall Manager policy that partially match the
ViolationTarget
rule.- Parameters:
partialMatches
- List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTarget
rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partialMatches
AwsVPCSecurityGroupViolation.Builder partialMatches(Consumer<PartialMatch.Builder>... partialMatches) List of rules specified in the security group of the Firewall Manager policy that partially match the
This is a convenience method that creates an instance of theViolationTarget
rule.PartialMatch.Builder
avoiding the need to create one manually viaPartialMatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topartialMatches(List<PartialMatch>)
.- Parameters:
partialMatches
- a consumer that will call methods onPartialMatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
possibleSecurityGroupRemediationActions
AwsVPCSecurityGroupViolation.Builder possibleSecurityGroupRemediationActions(Collection<SecurityGroupRemediationAction> possibleSecurityGroupRemediationActions) Remediation options for the rule specified in the
ViolationTarget
.- Parameters:
possibleSecurityGroupRemediationActions
- Remediation options for the rule specified in theViolationTarget
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
possibleSecurityGroupRemediationActions
AwsVPCSecurityGroupViolation.Builder possibleSecurityGroupRemediationActions(SecurityGroupRemediationAction... possibleSecurityGroupRemediationActions) Remediation options for the rule specified in the
ViolationTarget
.- Parameters:
possibleSecurityGroupRemediationActions
- Remediation options for the rule specified in theViolationTarget
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
possibleSecurityGroupRemediationActions
AwsVPCSecurityGroupViolation.Builder possibleSecurityGroupRemediationActions(Consumer<SecurityGroupRemediationAction.Builder>... possibleSecurityGroupRemediationActions) Remediation options for the rule specified in the
This is a convenience method that creates an instance of theViolationTarget
.SecurityGroupRemediationAction.Builder
avoiding the need to create one manually viaSecurityGroupRemediationAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topossibleSecurityGroupRemediationActions(List<SecurityGroupRemediationAction>)
.- Parameters:
possibleSecurityGroupRemediationActions
- a consumer that will call methods onSecurityGroupRemediationAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-