@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()
The ID of the VPC.
|
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)
The ID of the VPC.
|
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)
The ID of the VPC.
|
DnsDuplicateRuleGroupViolation |
withViolationTargetDescription(String violationTargetDescription)
A description of the violation that specifies the rule group and VPC.
|
public void setViolationTarget(String violationTarget)
The ID of the VPC.
violationTarget
- The ID of the VPC.public String getViolationTarget()
The ID of the VPC.
public DnsDuplicateRuleGroupViolation withViolationTarget(String violationTarget)
The ID of the VPC.
violationTarget
- The ID of the VPC.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 Object
Object.toString()
public DnsDuplicateRuleGroupViolation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.