Class ResourceViolation
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ResourceViolation.Builder,
ResourceViolation>
Violation detail based on resource type.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AwsEc2InstanceViolation
Violation detail for an EC2 instance.Violation detail for a network interface.Violation detail for security groups.static ResourceViolation.Builder
builder()
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.Violation detail for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups.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.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.Contains details about the firewall subnet that violates the policy scope.The violation details for a third-party firewall's VPC endpoint subnet that was deleted.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
Violation detail for the entries in a network ACL resource.Returns the value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.Violation detail for the subnet for which internet traffic hasn't been inspected.The route configuration is invalid.Expected routes are missing from Network Firewall.Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.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.There's an unexpected firewall route.There's an unexpected gateway route.A list of possible remediation action lists.Contains details about the route endpoint that violates the policy scope.static Class
<? extends ResourceViolation.Builder> 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.The violation details for a third-party firewall that's been deleted.The violation details for a third-party firewall's subnet that's been deleted.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
awsVPCSecurityGroupViolation
Violation detail for security groups.
- Returns:
- Violation detail for security groups.
-
awsEc2NetworkInterfaceViolation
Violation detail for a network interface.
- Returns:
- Violation detail for a network interface.
-
awsEc2InstanceViolation
Violation detail for an EC2 instance.
- Returns:
- Violation detail for an EC2 instance.
-
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
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
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
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
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
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
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.
-
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
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
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
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.
-
invalidNetworkAclEntriesViolation
Violation detail for the entries in a network ACL resource.
- Returns:
- Violation detail for the entries in a network ACL resource.
-
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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ResourceViolation.Builder,
ResourceViolation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-