@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.
|
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 |
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 |
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 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.