@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartialMatch extends Object implements Serializable, Cloneable, StructuredPojo
The reference rule that partially matches the ViolationTarget rule and violation reason.
| Constructor and Description |
|---|
PartialMatch() |
| Modifier and Type | Method and Description |
|---|---|
PartialMatch |
clone() |
boolean |
equals(Object obj) |
String |
getReference()
The reference rule from the master security group of the AWS Firewall Manager policy.
|
List<String> |
getTargetViolationReasons()
The violation reason.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setReference(String reference)
The reference rule from the master security group of the AWS Firewall Manager policy.
|
void |
setTargetViolationReasons(Collection<String> targetViolationReasons)
The violation reason.
|
String |
toString()
Returns a string representation of this object.
|
PartialMatch |
withReference(String reference)
The reference rule from the master security group of the AWS Firewall Manager policy.
|
PartialMatch |
withTargetViolationReasons(Collection<String> targetViolationReasons)
The violation reason.
|
PartialMatch |
withTargetViolationReasons(String... targetViolationReasons)
The violation reason.
|
public void setReference(String reference)
The reference rule from the master security group of the AWS Firewall Manager policy.
reference - The reference rule from the master security group of the AWS Firewall Manager policy.public String getReference()
The reference rule from the master security group of the AWS Firewall Manager policy.
public PartialMatch withReference(String reference)
The reference rule from the master security group of the AWS Firewall Manager policy.
reference - The reference rule from the master security group of the AWS Firewall Manager policy.public List<String> getTargetViolationReasons()
The violation reason.
public void setTargetViolationReasons(Collection<String> targetViolationReasons)
The violation reason.
targetViolationReasons - The violation reason.public PartialMatch withTargetViolationReasons(String... targetViolationReasons)
The violation reason.
NOTE: This method appends the values to the existing list (if any). Use
setTargetViolationReasons(java.util.Collection) or
withTargetViolationReasons(java.util.Collection) if you want to override the existing values.
targetViolationReasons - The violation reason.public PartialMatch withTargetViolationReasons(Collection<String> targetViolationReasons)
The violation reason.
targetViolationReasons - The violation reason.public String toString()
toString in class ObjectObject.toString()public PartialMatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.