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 theViolationTargetrule.partialMatches(Consumer<PartialMatch.Builder>... partialMatches) List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTargetrule.partialMatches(PartialMatch... partialMatches) List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTargetrule.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
ViolationTargetrule.- Parameters:
partialMatches- List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTargetrule.- 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
ViolationTargetrule.- Parameters:
partialMatches- List of rules specified in the security group of the Firewall Manager policy that partially match theViolationTargetrule.- 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 theViolationTargetrule.PartialMatch.Builderavoiding the need to create one manually viaPartialMatch.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSecurityGroupRemediationAction.builder().When the
Consumercompletes,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:
-