Class ResourceViolation
- java.lang.Object
-
- software.amazon.awssdk.services.fms.model.ResourceViolation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceViolation.Builder,ResourceViolation>
@Generated("software.amazon.awssdk:codegen") public final class ResourceViolation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceViolation.Builder,ResourceViolation>
Violation detail based on resource type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceViolation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsEc2InstanceViolationawsEc2InstanceViolation()Violation detail for an EC2 instance.AwsEc2NetworkInterfaceViolationawsEc2NetworkInterfaceViolation()Violation detail for a network interface.AwsVPCSecurityGroupViolationawsVPCSecurityGroupViolation()Violation detail for security groups.static ResourceViolation.Builderbuilder()DnsDuplicateRuleGroupViolationdnsDuplicateRuleGroupViolation()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.DnsRuleGroupLimitExceededViolationdnsRuleGroupLimitExceededViolation()Violation detail for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups.DnsRuleGroupPriorityConflictViolationdnsRuleGroupPriorityConflictViolation()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.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FirewallSubnetIsOutOfScopeViolationfirewallSubnetIsOutOfScopeViolation()Contains details about the firewall subnet that violates the policy scope.FirewallSubnetMissingVPCEndpointViolationfirewallSubnetMissingVPCEndpointViolation()The violation details for a third-party firewall's VPC endpoint subnet that was deleted.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NetworkFirewallBlackHoleRouteDetectedViolationnetworkFirewallBlackHoleRouteDetectedViolation()Returns the value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.NetworkFirewallInternetTrafficNotInspectedViolationnetworkFirewallInternetTrafficNotInspectedViolation()Violation detail for the subnet for which internet traffic hasn't been inspected.NetworkFirewallInvalidRouteConfigurationViolationnetworkFirewallInvalidRouteConfigurationViolation()The route configuration is invalid.NetworkFirewallMissingExpectedRoutesViolationnetworkFirewallMissingExpectedRoutesViolation()Expected routes are missing from Network Firewall.NetworkFirewallMissingExpectedRTViolationnetworkFirewallMissingExpectedRTViolation()Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.NetworkFirewallMissingFirewallViolationnetworkFirewallMissingFirewallViolation()Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.NetworkFirewallMissingSubnetViolationnetworkFirewallMissingSubnetViolation()Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.NetworkFirewallPolicyModifiedViolationnetworkFirewallPolicyModifiedViolation()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.NetworkFirewallUnexpectedFirewallRoutesViolationnetworkFirewallUnexpectedFirewallRoutesViolation()There's an unexpected firewall route.NetworkFirewallUnexpectedGatewayRoutesViolationnetworkFirewallUnexpectedGatewayRoutesViolation()There's an unexpected gateway route.PossibleRemediationActionspossibleRemediationActions()A list of possible remediation action lists.RouteHasOutOfScopeEndpointViolationrouteHasOutOfScopeEndpointViolation()Contains details about the route endpoint that violates the policy scope.List<SdkField<?>>sdkFields()static Class<? extends ResourceViolation.Builder>serializableBuilderClass()ThirdPartyFirewallMissingExpectedRouteTableViolationthirdPartyFirewallMissingExpectedRouteTableViolation()The violation details for a third-party firewall that has the Firewall Manager managed route table that was associated with the third-party firewall has been deleted.ThirdPartyFirewallMissingFirewallViolationthirdPartyFirewallMissingFirewallViolation()The violation details for a third-party firewall that's been deleted.ThirdPartyFirewallMissingSubnetViolationthirdPartyFirewallMissingSubnetViolation()The violation details for a third-party firewall's subnet that's been deleted.ResourceViolation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
awsVPCSecurityGroupViolation
public final AwsVPCSecurityGroupViolation awsVPCSecurityGroupViolation()
Violation detail for security groups.
- Returns:
- Violation detail for security groups.
-
awsEc2NetworkInterfaceViolation
public final AwsEc2NetworkInterfaceViolation awsEc2NetworkInterfaceViolation()
Violation detail for a network interface.
- Returns:
- Violation detail for a network interface.
-
awsEc2InstanceViolation
public final AwsEc2InstanceViolation awsEc2InstanceViolation()
Violation detail for an EC2 instance.
- Returns:
- Violation detail for an EC2 instance.
-
networkFirewallMissingFirewallViolation
public final NetworkFirewallMissingFirewallViolation networkFirewallMissingFirewallViolation()
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
- Returns:
- Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
-
networkFirewallMissingSubnetViolation
public final NetworkFirewallMissingSubnetViolation networkFirewallMissingSubnetViolation()
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
- Returns:
- Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
-
networkFirewallMissingExpectedRTViolation
public final 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.
- Returns:
- Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
-
networkFirewallPolicyModifiedViolation
public final 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.
- Returns:
- 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.
-
networkFirewallInternetTrafficNotInspectedViolation
public final NetworkFirewallInternetTrafficNotInspectedViolation networkFirewallInternetTrafficNotInspectedViolation()
Violation detail for the subnet for which internet traffic hasn't been inspected.
- Returns:
- Violation detail for the subnet for which internet traffic hasn't been inspected.
-
networkFirewallInvalidRouteConfigurationViolation
public final NetworkFirewallInvalidRouteConfigurationViolation networkFirewallInvalidRouteConfigurationViolation()
The route configuration is invalid.
- Returns:
- The route configuration is invalid.
-
networkFirewallBlackHoleRouteDetectedViolation
public final NetworkFirewallBlackHoleRouteDetectedViolation networkFirewallBlackHoleRouteDetectedViolation()
Returns the value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.- Returns:
- The value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.
-
networkFirewallUnexpectedFirewallRoutesViolation
public final NetworkFirewallUnexpectedFirewallRoutesViolation networkFirewallUnexpectedFirewallRoutesViolation()
There's an unexpected firewall route.
- Returns:
- There's an unexpected firewall route.
-
networkFirewallUnexpectedGatewayRoutesViolation
public final NetworkFirewallUnexpectedGatewayRoutesViolation networkFirewallUnexpectedGatewayRoutesViolation()
There's an unexpected gateway route.
- Returns:
- There's an unexpected gateway route.
-
networkFirewallMissingExpectedRoutesViolation
public final NetworkFirewallMissingExpectedRoutesViolation networkFirewallMissingExpectedRoutesViolation()
Expected routes are missing from Network Firewall.
- Returns:
- Expected routes are missing from Network Firewall.
-
dnsRuleGroupPriorityConflictViolation
public final 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.
- Returns:
- 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.
-
dnsDuplicateRuleGroupViolation
public final 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.
- Returns:
- 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
public final DnsRuleGroupLimitExceededViolation dnsRuleGroupLimitExceededViolation()
Violation detail 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.
- Returns:
- Violation detail 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.
-
possibleRemediationActions
public final PossibleRemediationActions possibleRemediationActions()
A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
- Returns:
- A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
-
firewallSubnetIsOutOfScopeViolation
public final FirewallSubnetIsOutOfScopeViolation firewallSubnetIsOutOfScopeViolation()
Contains details about the firewall subnet that violates the policy scope.
- Returns:
- Contains details about the firewall subnet that violates the policy scope.
-
routeHasOutOfScopeEndpointViolation
public final RouteHasOutOfScopeEndpointViolation routeHasOutOfScopeEndpointViolation()
Contains details about the route endpoint that violates the policy scope.
- Returns:
- Contains details about the route endpoint that violates the policy scope.
-
thirdPartyFirewallMissingFirewallViolation
public final ThirdPartyFirewallMissingFirewallViolation thirdPartyFirewallMissingFirewallViolation()
The violation details for a third-party firewall that's been deleted.
- Returns:
- The violation details for a third-party firewall that's been deleted.
-
thirdPartyFirewallMissingSubnetViolation
public final ThirdPartyFirewallMissingSubnetViolation thirdPartyFirewallMissingSubnetViolation()
The violation details for a third-party firewall's subnet that's been deleted.
- Returns:
- The violation details for a third-party firewall's subnet that's been deleted.
-
thirdPartyFirewallMissingExpectedRouteTableViolation
public final ThirdPartyFirewallMissingExpectedRouteTableViolation thirdPartyFirewallMissingExpectedRouteTableViolation()
The violation details for a third-party firewall that has the Firewall Manager managed route table that was associated with the third-party firewall has been deleted.
- Returns:
- The violation details for a third-party firewall that has the Firewall Manager managed route table that was associated with the third-party firewall has been deleted.
-
firewallSubnetMissingVPCEndpointViolation
public final FirewallSubnetMissingVPCEndpointViolation firewallSubnetMissingVPCEndpointViolation()
The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
- Returns:
- The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
-
toBuilder
public ResourceViolation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceViolation.Builder,ResourceViolation>
-
builder
public static ResourceViolation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceViolation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-