@Generated(value="software.amazon.awssdk:codegen") public final class AwsVPCSecurityGroupViolation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsVPCSecurityGroupViolation.Builder,AwsVPCSecurityGroupViolation>
Details of the rule violation in a security group when compared to the master security group of the AWS Firewall Manager policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsVPCSecurityGroupViolation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsVPCSecurityGroupViolation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPartialMatches()
Returns true if the PartialMatches property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasPossibleSecurityGroupRemediationActions()
Returns true if the PossibleSecurityGroupRemediationActions property was specified by the sender (it may be
empty), or false if the sender did not specify the value (it will be empty).
|
List<PartialMatch> |
partialMatches()
List of rules specified in the security group of the AWS Firewall Manager policy that partially match the
ViolationTarget rule. |
List<SecurityGroupRemediationAction> |
possibleSecurityGroupRemediationActions()
Remediation options for the rule specified in the
ViolationTarget. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsVPCSecurityGroupViolation.Builder> |
serializableBuilderClass() |
AwsVPCSecurityGroupViolation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
violationTarget()
The security group rule that is being evaluated.
|
String |
violationTargetDescription()
A description of the security group that violates the policy.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String violationTarget()
The security group rule that is being evaluated.
public String violationTargetDescription()
A description of the security group that violates the policy.
public boolean hasPartialMatches()
public List<PartialMatch> partialMatches()
List of rules specified in the security group of the AWS Firewall Manager policy that partially match the
ViolationTarget rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPartialMatches() to see if a value was sent in this field.
ViolationTarget rule.public boolean hasPossibleSecurityGroupRemediationActions()
public List<SecurityGroupRemediationAction> possibleSecurityGroupRemediationActions()
Remediation options for the rule specified in the ViolationTarget.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPossibleSecurityGroupRemediationActions() to see if a value was sent in this field.
ViolationTarget.public AwsVPCSecurityGroupViolation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsVPCSecurityGroupViolation.Builder,AwsVPCSecurityGroupViolation>public static AwsVPCSecurityGroupViolation.Builder builder()
public static Class<? extends AwsVPCSecurityGroupViolation.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.