@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceViolation extends Object implements Serializable, Cloneable, StructuredPojo
Violation detail based on resource type.
Constructor and Description |
---|
ResourceViolation() |
Modifier and Type | Method and Description |
---|---|
ResourceViolation |
clone() |
boolean |
equals(Object obj) |
AwsEc2InstanceViolation |
getAwsEc2InstanceViolation()
Violation details for an EC2 instance.
|
AwsEc2NetworkInterfaceViolation |
getAwsEc2NetworkInterfaceViolation()
Violation details for network interface.
|
AwsVPCSecurityGroupViolation |
getAwsVPCSecurityGroupViolation()
Violation details for security groups.
|
DnsDuplicateRuleGroupViolation |
getDnsDuplicateRuleGroupViolation()
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC is already associated with the VPC and can't be associated again.
|
DnsRuleGroupLimitExceededViolation |
getDnsRuleGroupLimitExceededViolation()
Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS
Firewall rule groups.
|
DnsRuleGroupPriorityConflictViolation |
getDnsRuleGroupPriorityConflictViolation()
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC has the same priority as a rule group that's already associated.
|
NetworkFirewallMissingExpectedRTViolation |
getNetworkFirewallMissingExpectedRTViolation()
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected
Firewall Manager managed route table.
|
NetworkFirewallMissingFirewallViolation |
getNetworkFirewallMissingFirewallViolation()
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed
firewall in its VPC.
|
NetworkFirewallMissingSubnetViolation |
getNetworkFirewallMissingSubnetViolation()
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected
Firewall Manager managed subnet.
|
NetworkFirewallPolicyModifiedViolation |
getNetworkFirewallPolicyModifiedViolation()
Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account
has been modified in a way that makes it noncompliant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsEc2InstanceViolation(AwsEc2InstanceViolation awsEc2InstanceViolation)
Violation details for an EC2 instance.
|
void |
setAwsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation awsEc2NetworkInterfaceViolation)
Violation details for network interface.
|
void |
setAwsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation awsVPCSecurityGroupViolation)
Violation details for security groups.
|
void |
setDnsDuplicateRuleGroupViolation(DnsDuplicateRuleGroupViolation dnsDuplicateRuleGroupViolation)
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC is already associated with the VPC and can't be associated again.
|
void |
setDnsRuleGroupLimitExceededViolation(DnsRuleGroupLimitExceededViolation dnsRuleGroupLimitExceededViolation)
Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS
Firewall rule groups.
|
void |
setDnsRuleGroupPriorityConflictViolation(DnsRuleGroupPriorityConflictViolation dnsRuleGroupPriorityConflictViolation)
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC has the same priority as a rule group that's already associated.
|
void |
setNetworkFirewallMissingExpectedRTViolation(NetworkFirewallMissingExpectedRTViolation networkFirewallMissingExpectedRTViolation)
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected
Firewall Manager managed route table.
|
void |
setNetworkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation networkFirewallMissingFirewallViolation)
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed
firewall in its VPC.
|
void |
setNetworkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation networkFirewallMissingSubnetViolation)
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected
Firewall Manager managed subnet.
|
void |
setNetworkFirewallPolicyModifiedViolation(NetworkFirewallPolicyModifiedViolation networkFirewallPolicyModifiedViolation)
Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account
has been modified in a way that makes it noncompliant.
|
String |
toString()
Returns a string representation of this object.
|
ResourceViolation |
withAwsEc2InstanceViolation(AwsEc2InstanceViolation awsEc2InstanceViolation)
Violation details for an EC2 instance.
|
ResourceViolation |
withAwsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation awsEc2NetworkInterfaceViolation)
Violation details for network interface.
|
ResourceViolation |
withAwsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation awsVPCSecurityGroupViolation)
Violation details for security groups.
|
ResourceViolation |
withDnsDuplicateRuleGroupViolation(DnsDuplicateRuleGroupViolation dnsDuplicateRuleGroupViolation)
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC is already associated with the VPC and can't be associated again.
|
ResourceViolation |
withDnsRuleGroupLimitExceededViolation(DnsRuleGroupLimitExceededViolation dnsRuleGroupLimitExceededViolation)
Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS
Firewall rule groups.
|
ResourceViolation |
withDnsRuleGroupPriorityConflictViolation(DnsRuleGroupPriorityConflictViolation dnsRuleGroupPriorityConflictViolation)
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC has the same priority as a rule group that's already associated.
|
ResourceViolation |
withNetworkFirewallMissingExpectedRTViolation(NetworkFirewallMissingExpectedRTViolation networkFirewallMissingExpectedRTViolation)
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected
Firewall Manager managed route table.
|
ResourceViolation |
withNetworkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation networkFirewallMissingFirewallViolation)
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed
firewall in its VPC.
|
ResourceViolation |
withNetworkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation networkFirewallMissingSubnetViolation)
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected
Firewall Manager managed subnet.
|
ResourceViolation |
withNetworkFirewallPolicyModifiedViolation(NetworkFirewallPolicyModifiedViolation networkFirewallPolicyModifiedViolation)
Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account
has been modified in a way that makes it noncompliant.
|
public void setAwsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation awsVPCSecurityGroupViolation)
Violation details for security groups.
awsVPCSecurityGroupViolation
- Violation details for security groups.public AwsVPCSecurityGroupViolation getAwsVPCSecurityGroupViolation()
Violation details for security groups.
public ResourceViolation withAwsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation awsVPCSecurityGroupViolation)
Violation details for security groups.
awsVPCSecurityGroupViolation
- Violation details for security groups.public void setAwsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation awsEc2NetworkInterfaceViolation)
Violation details for network interface.
awsEc2NetworkInterfaceViolation
- Violation details for network interface.public AwsEc2NetworkInterfaceViolation getAwsEc2NetworkInterfaceViolation()
Violation details for network interface.
public ResourceViolation withAwsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation awsEc2NetworkInterfaceViolation)
Violation details for network interface.
awsEc2NetworkInterfaceViolation
- Violation details for network interface.public void setAwsEc2InstanceViolation(AwsEc2InstanceViolation awsEc2InstanceViolation)
Violation details for an EC2 instance.
awsEc2InstanceViolation
- Violation details for an EC2 instance.public AwsEc2InstanceViolation getAwsEc2InstanceViolation()
Violation details for an EC2 instance.
public ResourceViolation withAwsEc2InstanceViolation(AwsEc2InstanceViolation awsEc2InstanceViolation)
Violation details for an EC2 instance.
awsEc2InstanceViolation
- Violation details for an EC2 instance.public void setNetworkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation networkFirewallMissingFirewallViolation)
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
networkFirewallMissingFirewallViolation
- Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager
managed firewall in its VPC.public NetworkFirewallMissingFirewallViolation getNetworkFirewallMissingFirewallViolation()
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
public ResourceViolation withNetworkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation networkFirewallMissingFirewallViolation)
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
networkFirewallMissingFirewallViolation
- Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager
managed firewall in its VPC.public void setNetworkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation networkFirewallMissingSubnetViolation)
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
networkFirewallMissingSubnetViolation
- Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the
expected Firewall Manager managed subnet.public NetworkFirewallMissingSubnetViolation getNetworkFirewallMissingSubnetViolation()
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
public ResourceViolation withNetworkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation networkFirewallMissingSubnetViolation)
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
networkFirewallMissingSubnetViolation
- Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the
expected Firewall Manager managed subnet.public void setNetworkFirewallMissingExpectedRTViolation(NetworkFirewallMissingExpectedRTViolation networkFirewallMissingExpectedRTViolation)
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
networkFirewallMissingExpectedRTViolation
- Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the
expected Firewall Manager managed route table.public NetworkFirewallMissingExpectedRTViolation getNetworkFirewallMissingExpectedRTViolation()
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
public ResourceViolation withNetworkFirewallMissingExpectedRTViolation(NetworkFirewallMissingExpectedRTViolation networkFirewallMissingExpectedRTViolation)
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
networkFirewallMissingExpectedRTViolation
- Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the
expected Firewall Manager managed route table.public void setNetworkFirewallPolicyModifiedViolation(NetworkFirewallPolicyModifiedViolation networkFirewallPolicyModifiedViolation)
Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account has been modified in a way that makes it noncompliant. For example, the individual account owner might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy default action.
networkFirewallPolicyModifiedViolation
- Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual
account has been modified in a way that makes it noncompliant. For example, the individual account owner
might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy
default action.public NetworkFirewallPolicyModifiedViolation getNetworkFirewallPolicyModifiedViolation()
Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account has been modified in a way that makes it noncompliant. For example, the individual account owner might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy default action.
public ResourceViolation withNetworkFirewallPolicyModifiedViolation(NetworkFirewallPolicyModifiedViolation networkFirewallPolicyModifiedViolation)
Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account has been modified in a way that makes it noncompliant. For example, the individual account owner might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy default action.
networkFirewallPolicyModifiedViolation
- Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual
account has been modified in a way that makes it noncompliant. For example, the individual account owner
might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy
default action.public void setDnsRuleGroupPriorityConflictViolation(DnsRuleGroupPriorityConflictViolation dnsRuleGroupPriorityConflictViolation)
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.
dnsRuleGroupPriorityConflictViolation
- Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC has the same priority as a rule group that's already associated.public DnsRuleGroupPriorityConflictViolation getDnsRuleGroupPriorityConflictViolation()
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.
public ResourceViolation withDnsRuleGroupPriorityConflictViolation(DnsRuleGroupPriorityConflictViolation dnsRuleGroupPriorityConflictViolation)
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.
dnsRuleGroupPriorityConflictViolation
- Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC has the same priority as a rule group that's already associated.public void setDnsDuplicateRuleGroupViolation(DnsDuplicateRuleGroupViolation dnsDuplicateRuleGroupViolation)
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
dnsDuplicateRuleGroupViolation
- Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC is already associated with the VPC and can't be associated again.public DnsDuplicateRuleGroupViolation getDnsDuplicateRuleGroupViolation()
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
public ResourceViolation withDnsDuplicateRuleGroupViolation(DnsDuplicateRuleGroupViolation dnsDuplicateRuleGroupViolation)
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
dnsDuplicateRuleGroupViolation
- Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to
associate with a VPC is already associated with the VPC and can't be associated again.public void setDnsRuleGroupLimitExceededViolation(DnsRuleGroupLimitExceededViolation dnsRuleGroupLimitExceededViolation)
Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.
dnsRuleGroupLimitExceededViolation
- Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated
DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.public DnsRuleGroupLimitExceededViolation getDnsRuleGroupLimitExceededViolation()
Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.
public ResourceViolation withDnsRuleGroupLimitExceededViolation(DnsRuleGroupLimitExceededViolation dnsRuleGroupLimitExceededViolation)
Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.
dnsRuleGroupLimitExceededViolation
- Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated
DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.public String toString()
toString
in class Object
Object.toString()
public ResourceViolation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.