@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsDuplicateRuleGroupViolation extends Object implements Serializable, Cloneable, StructuredPojo
A DNS Firewall rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
| Constructor and Description | 
|---|
| DnsDuplicateRuleGroupViolation() | 
| Modifier and Type | Method and Description | 
|---|---|
| DnsDuplicateRuleGroupViolation | clone() | 
| boolean | equals(Object obj) | 
| String | getViolationTarget()
 Information about the VPC ID. | 
| String | getViolationTargetDescription()
 A description of the violation that specifies the rule group and VPC. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setViolationTarget(String violationTarget)
 Information about the VPC ID. | 
| void | setViolationTargetDescription(String violationTargetDescription)
 A description of the violation that specifies the rule group and VPC. | 
| String | toString()Returns a string representation of this object. | 
| DnsDuplicateRuleGroupViolation | withViolationTarget(String violationTarget)
 Information about the VPC ID. | 
| DnsDuplicateRuleGroupViolation | withViolationTargetDescription(String violationTargetDescription)
 A description of the violation that specifies the rule group and VPC. | 
public void setViolationTarget(String violationTarget)
Information about the VPC ID.
violationTarget - Information about the VPC ID.public String getViolationTarget()
Information about the VPC ID.
public DnsDuplicateRuleGroupViolation withViolationTarget(String violationTarget)
Information about the VPC ID.
violationTarget - Information about the VPC ID.public void setViolationTargetDescription(String violationTargetDescription)
A description of the violation that specifies the rule group and VPC.
violationTargetDescription - A description of the violation that specifies the rule group and VPC.public String getViolationTargetDescription()
A description of the violation that specifies the rule group and VPC.
public DnsDuplicateRuleGroupViolation withViolationTargetDescription(String violationTargetDescription)
A description of the violation that specifies the rule group and VPC.
violationTargetDescription - A description of the violation that specifies the rule group and VPC.public String toString()
toString in class ObjectObject.toString()public DnsDuplicateRuleGroupViolation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.