Interface ResourceViolation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceViolation.Builder,
,ResourceViolation> SdkBuilder<ResourceViolation.Builder,
,ResourceViolation> SdkPojo
- Enclosing class:
ResourceViolation
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceViolation.Builder
awsEc2InstanceViolation
(Consumer<AwsEc2InstanceViolation.Builder> awsEc2InstanceViolation) Violation detail for an EC2 instance.awsEc2InstanceViolation
(AwsEc2InstanceViolation awsEc2InstanceViolation) Violation detail for an EC2 instance.default ResourceViolation.Builder
awsEc2NetworkInterfaceViolation
(Consumer<AwsEc2NetworkInterfaceViolation.Builder> awsEc2NetworkInterfaceViolation) Violation detail for a network interface.awsEc2NetworkInterfaceViolation
(AwsEc2NetworkInterfaceViolation awsEc2NetworkInterfaceViolation) Violation detail for a network interface.default ResourceViolation.Builder
awsVPCSecurityGroupViolation
(Consumer<AwsVPCSecurityGroupViolation.Builder> awsVPCSecurityGroupViolation) Violation detail for security groups.awsVPCSecurityGroupViolation
(AwsVPCSecurityGroupViolation awsVPCSecurityGroupViolation) Violation detail for security groups.default ResourceViolation.Builder
dnsDuplicateRuleGroupViolation
(Consumer<DnsDuplicateRuleGroupViolation.Builder> 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
(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.default ResourceViolation.Builder
dnsRuleGroupLimitExceededViolation
(Consumer<DnsRuleGroupLimitExceededViolation.Builder> dnsRuleGroupLimitExceededViolation) Violation detail for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups.dnsRuleGroupLimitExceededViolation
(DnsRuleGroupLimitExceededViolation dnsRuleGroupLimitExceededViolation) Violation detail for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups.default ResourceViolation.Builder
dnsRuleGroupPriorityConflictViolation
(Consumer<DnsRuleGroupPriorityConflictViolation.Builder> 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
(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.default ResourceViolation.Builder
firewallSubnetIsOutOfScopeViolation
(Consumer<FirewallSubnetIsOutOfScopeViolation.Builder> firewallSubnetIsOutOfScopeViolation) Contains details about the firewall subnet that violates the policy scope.firewallSubnetIsOutOfScopeViolation
(FirewallSubnetIsOutOfScopeViolation firewallSubnetIsOutOfScopeViolation) Contains details about the firewall subnet that violates the policy scope.default ResourceViolation.Builder
firewallSubnetMissingVPCEndpointViolation
(Consumer<FirewallSubnetMissingVPCEndpointViolation.Builder> firewallSubnetMissingVPCEndpointViolation) The violation details for a third-party firewall's VPC endpoint subnet that was deleted.firewallSubnetMissingVPCEndpointViolation
(FirewallSubnetMissingVPCEndpointViolation firewallSubnetMissingVPCEndpointViolation) The violation details for a third-party firewall's VPC endpoint subnet that was deleted.default ResourceViolation.Builder
invalidNetworkAclEntriesViolation
(Consumer<InvalidNetworkAclEntriesViolation.Builder> invalidNetworkAclEntriesViolation) Violation detail for the entries in a network ACL resource.invalidNetworkAclEntriesViolation
(InvalidNetworkAclEntriesViolation invalidNetworkAclEntriesViolation) Violation detail for the entries in a network ACL resource.default ResourceViolation.Builder
networkFirewallBlackHoleRouteDetectedViolation
(Consumer<NetworkFirewallBlackHoleRouteDetectedViolation.Builder> networkFirewallBlackHoleRouteDetectedViolation) Sets the value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.networkFirewallBlackHoleRouteDetectedViolation
(NetworkFirewallBlackHoleRouteDetectedViolation networkFirewallBlackHoleRouteDetectedViolation) Sets the value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.default ResourceViolation.Builder
networkFirewallInternetTrafficNotInspectedViolation
(Consumer<NetworkFirewallInternetTrafficNotInspectedViolation.Builder> networkFirewallInternetTrafficNotInspectedViolation) Violation detail for the subnet for which internet traffic hasn't been inspected.networkFirewallInternetTrafficNotInspectedViolation
(NetworkFirewallInternetTrafficNotInspectedViolation networkFirewallInternetTrafficNotInspectedViolation) Violation detail for the subnet for which internet traffic hasn't been inspected.default ResourceViolation.Builder
networkFirewallInvalidRouteConfigurationViolation
(Consumer<NetworkFirewallInvalidRouteConfigurationViolation.Builder> networkFirewallInvalidRouteConfigurationViolation) The route configuration is invalid.networkFirewallInvalidRouteConfigurationViolation
(NetworkFirewallInvalidRouteConfigurationViolation networkFirewallInvalidRouteConfigurationViolation) The route configuration is invalid.default ResourceViolation.Builder
networkFirewallMissingExpectedRoutesViolation
(Consumer<NetworkFirewallMissingExpectedRoutesViolation.Builder> networkFirewallMissingExpectedRoutesViolation) Expected routes are missing from Network Firewall.networkFirewallMissingExpectedRoutesViolation
(NetworkFirewallMissingExpectedRoutesViolation networkFirewallMissingExpectedRoutesViolation) Expected routes are missing from Network Firewall.default ResourceViolation.Builder
networkFirewallMissingExpectedRTViolation
(Consumer<NetworkFirewallMissingExpectedRTViolation.Builder> 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
(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.default ResourceViolation.Builder
networkFirewallMissingFirewallViolation
(Consumer<NetworkFirewallMissingFirewallViolation.Builder> networkFirewallMissingFirewallViolation) Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.networkFirewallMissingFirewallViolation
(NetworkFirewallMissingFirewallViolation networkFirewallMissingFirewallViolation) Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.default ResourceViolation.Builder
networkFirewallMissingSubnetViolation
(Consumer<NetworkFirewallMissingSubnetViolation.Builder> networkFirewallMissingSubnetViolation) Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.networkFirewallMissingSubnetViolation
(NetworkFirewallMissingSubnetViolation networkFirewallMissingSubnetViolation) Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.default ResourceViolation.Builder
networkFirewallPolicyModifiedViolation
(Consumer<NetworkFirewallPolicyModifiedViolation.Builder> 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.networkFirewallPolicyModifiedViolation
(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.default ResourceViolation.Builder
networkFirewallUnexpectedFirewallRoutesViolation
(Consumer<NetworkFirewallUnexpectedFirewallRoutesViolation.Builder> networkFirewallUnexpectedFirewallRoutesViolation) There's an unexpected firewall route.networkFirewallUnexpectedFirewallRoutesViolation
(NetworkFirewallUnexpectedFirewallRoutesViolation networkFirewallUnexpectedFirewallRoutesViolation) There's an unexpected firewall route.default ResourceViolation.Builder
networkFirewallUnexpectedGatewayRoutesViolation
(Consumer<NetworkFirewallUnexpectedGatewayRoutesViolation.Builder> networkFirewallUnexpectedGatewayRoutesViolation) There's an unexpected gateway route.networkFirewallUnexpectedGatewayRoutesViolation
(NetworkFirewallUnexpectedGatewayRoutesViolation networkFirewallUnexpectedGatewayRoutesViolation) There's an unexpected gateway route.default ResourceViolation.Builder
possibleRemediationActions
(Consumer<PossibleRemediationActions.Builder> possibleRemediationActions) A list of possible remediation action lists.possibleRemediationActions
(PossibleRemediationActions possibleRemediationActions) A list of possible remediation action lists.default ResourceViolation.Builder
routeHasOutOfScopeEndpointViolation
(Consumer<RouteHasOutOfScopeEndpointViolation.Builder> routeHasOutOfScopeEndpointViolation) Contains details about the route endpoint that violates the policy scope.routeHasOutOfScopeEndpointViolation
(RouteHasOutOfScopeEndpointViolation routeHasOutOfScopeEndpointViolation) Contains details about the route endpoint that violates the policy scope.default ResourceViolation.Builder
thirdPartyFirewallMissingExpectedRouteTableViolation
(Consumer<ThirdPartyFirewallMissingExpectedRouteTableViolation.Builder> 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.thirdPartyFirewallMissingExpectedRouteTableViolation
(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.default ResourceViolation.Builder
thirdPartyFirewallMissingFirewallViolation
(Consumer<ThirdPartyFirewallMissingFirewallViolation.Builder> thirdPartyFirewallMissingFirewallViolation) The violation details for a third-party firewall that's been deleted.thirdPartyFirewallMissingFirewallViolation
(ThirdPartyFirewallMissingFirewallViolation thirdPartyFirewallMissingFirewallViolation) The violation details for a third-party firewall that's been deleted.default ResourceViolation.Builder
thirdPartyFirewallMissingSubnetViolation
(Consumer<ThirdPartyFirewallMissingSubnetViolation.Builder> thirdPartyFirewallMissingSubnetViolation) The violation details for a third-party firewall's subnet that's been deleted.thirdPartyFirewallMissingSubnetViolation
(ThirdPartyFirewallMissingSubnetViolation thirdPartyFirewallMissingSubnetViolation) The violation details for a third-party firewall's subnet that's been deleted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
awsVPCSecurityGroupViolation
ResourceViolation.Builder awsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation awsVPCSecurityGroupViolation) Violation detail for security groups.
- Parameters:
awsVPCSecurityGroupViolation
- Violation detail for security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsVPCSecurityGroupViolation
default ResourceViolation.Builder awsVPCSecurityGroupViolation(Consumer<AwsVPCSecurityGroupViolation.Builder> awsVPCSecurityGroupViolation) Violation detail for security groups.
This is a convenience method that creates an instance of theAwsVPCSecurityGroupViolation.Builder
avoiding the need to create one manually viaAwsVPCSecurityGroupViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation)
.- Parameters:
awsVPCSecurityGroupViolation
- a consumer that will call methods onAwsVPCSecurityGroupViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsEc2NetworkInterfaceViolation
ResourceViolation.Builder awsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation awsEc2NetworkInterfaceViolation) Violation detail for a network interface.
- Parameters:
awsEc2NetworkInterfaceViolation
- Violation detail for a network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsEc2NetworkInterfaceViolation
default ResourceViolation.Builder awsEc2NetworkInterfaceViolation(Consumer<AwsEc2NetworkInterfaceViolation.Builder> awsEc2NetworkInterfaceViolation) Violation detail for a network interface.
This is a convenience method that creates an instance of theAwsEc2NetworkInterfaceViolation.Builder
avoiding the need to create one manually viaAwsEc2NetworkInterfaceViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation)
.- Parameters:
awsEc2NetworkInterfaceViolation
- a consumer that will call methods onAwsEc2NetworkInterfaceViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsEc2InstanceViolation
Violation detail for an EC2 instance.
- Parameters:
awsEc2InstanceViolation
- Violation detail for an EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsEc2InstanceViolation
default ResourceViolation.Builder awsEc2InstanceViolation(Consumer<AwsEc2InstanceViolation.Builder> awsEc2InstanceViolation) Violation detail for an EC2 instance.
This is a convenience method that creates an instance of theAwsEc2InstanceViolation.Builder
avoiding the need to create one manually viaAwsEc2InstanceViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsEc2InstanceViolation(AwsEc2InstanceViolation)
.- Parameters:
awsEc2InstanceViolation
- a consumer that will call methods onAwsEc2InstanceViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallMissingFirewallViolation
ResourceViolation.Builder networkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation networkFirewallMissingFirewallViolation) Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
- Parameters:
networkFirewallMissingFirewallViolation
- Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallMissingFirewallViolation
default ResourceViolation.Builder networkFirewallMissingFirewallViolation(Consumer<NetworkFirewallMissingFirewallViolation.Builder> networkFirewallMissingFirewallViolation) Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
This is a convenience method that creates an instance of theNetworkFirewallMissingFirewallViolation.Builder
avoiding the need to create one manually viaNetworkFirewallMissingFirewallViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation)
.- Parameters:
networkFirewallMissingFirewallViolation
- a consumer that will call methods onNetworkFirewallMissingFirewallViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallMissingSubnetViolation
ResourceViolation.Builder networkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation networkFirewallMissingSubnetViolation) Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
- Parameters:
networkFirewallMissingSubnetViolation
- Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallMissingSubnetViolation
default ResourceViolation.Builder networkFirewallMissingSubnetViolation(Consumer<NetworkFirewallMissingSubnetViolation.Builder> networkFirewallMissingSubnetViolation) Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
This is a convenience method that creates an instance of theNetworkFirewallMissingSubnetViolation.Builder
avoiding the need to create one manually viaNetworkFirewallMissingSubnetViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation)
.- Parameters:
networkFirewallMissingSubnetViolation
- a consumer that will call methods onNetworkFirewallMissingSubnetViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallMissingExpectedRTViolation
ResourceViolation.Builder networkFirewallMissingExpectedRTViolation(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallMissingExpectedRTViolation
default ResourceViolation.Builder networkFirewallMissingExpectedRTViolation(Consumer<NetworkFirewallMissingExpectedRTViolation.Builder> networkFirewallMissingExpectedRTViolation) Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
This is a convenience method that creates an instance of theNetworkFirewallMissingExpectedRTViolation.Builder
avoiding the need to create one manually viaNetworkFirewallMissingExpectedRTViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallMissingExpectedRTViolation(NetworkFirewallMissingExpectedRTViolation)
.- Parameters:
networkFirewallMissingExpectedRTViolation
- a consumer that will call methods onNetworkFirewallMissingExpectedRTViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallPolicyModifiedViolation
ResourceViolation.Builder networkFirewallPolicyModifiedViolation(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallPolicyModifiedViolation
default ResourceViolation.Builder networkFirewallPolicyModifiedViolation(Consumer<NetworkFirewallPolicyModifiedViolation.Builder> 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.
This is a convenience method that creates an instance of theNetworkFirewallPolicyModifiedViolation.Builder
avoiding the need to create one manually viaNetworkFirewallPolicyModifiedViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallPolicyModifiedViolation(NetworkFirewallPolicyModifiedViolation)
.- Parameters:
networkFirewallPolicyModifiedViolation
- a consumer that will call methods onNetworkFirewallPolicyModifiedViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallInternetTrafficNotInspectedViolation
ResourceViolation.Builder networkFirewallInternetTrafficNotInspectedViolation(NetworkFirewallInternetTrafficNotInspectedViolation networkFirewallInternetTrafficNotInspectedViolation) Violation detail for the subnet for which internet traffic hasn't been inspected.
- Parameters:
networkFirewallInternetTrafficNotInspectedViolation
- Violation detail for the subnet for which internet traffic hasn't been inspected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallInternetTrafficNotInspectedViolation
default ResourceViolation.Builder networkFirewallInternetTrafficNotInspectedViolation(Consumer<NetworkFirewallInternetTrafficNotInspectedViolation.Builder> networkFirewallInternetTrafficNotInspectedViolation) Violation detail for the subnet for which internet traffic hasn't been inspected.
This is a convenience method that creates an instance of theNetworkFirewallInternetTrafficNotInspectedViolation.Builder
avoiding the need to create one manually viaNetworkFirewallInternetTrafficNotInspectedViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallInternetTrafficNotInspectedViolation(NetworkFirewallInternetTrafficNotInspectedViolation)
.- Parameters:
networkFirewallInternetTrafficNotInspectedViolation
- a consumer that will call methods onNetworkFirewallInternetTrafficNotInspectedViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallInvalidRouteConfigurationViolation
ResourceViolation.Builder networkFirewallInvalidRouteConfigurationViolation(NetworkFirewallInvalidRouteConfigurationViolation networkFirewallInvalidRouteConfigurationViolation) The route configuration is invalid.
- Parameters:
networkFirewallInvalidRouteConfigurationViolation
- The route configuration is invalid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallInvalidRouteConfigurationViolation
default ResourceViolation.Builder networkFirewallInvalidRouteConfigurationViolation(Consumer<NetworkFirewallInvalidRouteConfigurationViolation.Builder> networkFirewallInvalidRouteConfigurationViolation) The route configuration is invalid.
This is a convenience method that creates an instance of theNetworkFirewallInvalidRouteConfigurationViolation.Builder
avoiding the need to create one manually viaNetworkFirewallInvalidRouteConfigurationViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallInvalidRouteConfigurationViolation(NetworkFirewallInvalidRouteConfigurationViolation)
.- Parameters:
networkFirewallInvalidRouteConfigurationViolation
- a consumer that will call methods onNetworkFirewallInvalidRouteConfigurationViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallBlackHoleRouteDetectedViolation
ResourceViolation.Builder networkFirewallBlackHoleRouteDetectedViolation(NetworkFirewallBlackHoleRouteDetectedViolation networkFirewallBlackHoleRouteDetectedViolation) Sets the value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.- Parameters:
networkFirewallBlackHoleRouteDetectedViolation
- The new value for the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallBlackHoleRouteDetectedViolation
default ResourceViolation.Builder networkFirewallBlackHoleRouteDetectedViolation(Consumer<NetworkFirewallBlackHoleRouteDetectedViolation.Builder> networkFirewallBlackHoleRouteDetectedViolation) Sets the value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object. This is a convenience method that creates an instance of theNetworkFirewallBlackHoleRouteDetectedViolation.Builder
avoiding the need to create one manually viaNetworkFirewallBlackHoleRouteDetectedViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallBlackHoleRouteDetectedViolation(NetworkFirewallBlackHoleRouteDetectedViolation)
.- Parameters:
networkFirewallBlackHoleRouteDetectedViolation
- a consumer that will call methods onNetworkFirewallBlackHoleRouteDetectedViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallUnexpectedFirewallRoutesViolation
ResourceViolation.Builder networkFirewallUnexpectedFirewallRoutesViolation(NetworkFirewallUnexpectedFirewallRoutesViolation networkFirewallUnexpectedFirewallRoutesViolation) There's an unexpected firewall route.
- Parameters:
networkFirewallUnexpectedFirewallRoutesViolation
- There's an unexpected firewall route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallUnexpectedFirewallRoutesViolation
default ResourceViolation.Builder networkFirewallUnexpectedFirewallRoutesViolation(Consumer<NetworkFirewallUnexpectedFirewallRoutesViolation.Builder> networkFirewallUnexpectedFirewallRoutesViolation) There's an unexpected firewall route.
This is a convenience method that creates an instance of theNetworkFirewallUnexpectedFirewallRoutesViolation.Builder
avoiding the need to create one manually viaNetworkFirewallUnexpectedFirewallRoutesViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallUnexpectedFirewallRoutesViolation(NetworkFirewallUnexpectedFirewallRoutesViolation)
.- Parameters:
networkFirewallUnexpectedFirewallRoutesViolation
- a consumer that will call methods onNetworkFirewallUnexpectedFirewallRoutesViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallUnexpectedGatewayRoutesViolation
ResourceViolation.Builder networkFirewallUnexpectedGatewayRoutesViolation(NetworkFirewallUnexpectedGatewayRoutesViolation networkFirewallUnexpectedGatewayRoutesViolation) There's an unexpected gateway route.
- Parameters:
networkFirewallUnexpectedGatewayRoutesViolation
- There's an unexpected gateway route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallUnexpectedGatewayRoutesViolation
default ResourceViolation.Builder networkFirewallUnexpectedGatewayRoutesViolation(Consumer<NetworkFirewallUnexpectedGatewayRoutesViolation.Builder> networkFirewallUnexpectedGatewayRoutesViolation) There's an unexpected gateway route.
This is a convenience method that creates an instance of theNetworkFirewallUnexpectedGatewayRoutesViolation.Builder
avoiding the need to create one manually viaNetworkFirewallUnexpectedGatewayRoutesViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallUnexpectedGatewayRoutesViolation(NetworkFirewallUnexpectedGatewayRoutesViolation)
.- Parameters:
networkFirewallUnexpectedGatewayRoutesViolation
- a consumer that will call methods onNetworkFirewallUnexpectedGatewayRoutesViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkFirewallMissingExpectedRoutesViolation
ResourceViolation.Builder networkFirewallMissingExpectedRoutesViolation(NetworkFirewallMissingExpectedRoutesViolation networkFirewallMissingExpectedRoutesViolation) Expected routes are missing from Network Firewall.
- Parameters:
networkFirewallMissingExpectedRoutesViolation
- Expected routes are missing from Network Firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallMissingExpectedRoutesViolation
default ResourceViolation.Builder networkFirewallMissingExpectedRoutesViolation(Consumer<NetworkFirewallMissingExpectedRoutesViolation.Builder> networkFirewallMissingExpectedRoutesViolation) Expected routes are missing from Network Firewall.
This is a convenience method that creates an instance of theNetworkFirewallMissingExpectedRoutesViolation.Builder
avoiding the need to create one manually viaNetworkFirewallMissingExpectedRoutesViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallMissingExpectedRoutesViolation(NetworkFirewallMissingExpectedRoutesViolation)
.- Parameters:
networkFirewallMissingExpectedRoutesViolation
- a consumer that will call methods onNetworkFirewallMissingExpectedRoutesViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsRuleGroupPriorityConflictViolation
ResourceViolation.Builder dnsRuleGroupPriorityConflictViolation(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
dnsRuleGroupPriorityConflictViolation
default ResourceViolation.Builder dnsRuleGroupPriorityConflictViolation(Consumer<DnsRuleGroupPriorityConflictViolation.Builder> 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.
This is a convenience method that creates an instance of theDnsRuleGroupPriorityConflictViolation.Builder
avoiding the need to create one manually viaDnsRuleGroupPriorityConflictViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsRuleGroupPriorityConflictViolation(DnsRuleGroupPriorityConflictViolation)
.- Parameters:
dnsRuleGroupPriorityConflictViolation
- a consumer that will call methods onDnsRuleGroupPriorityConflictViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsDuplicateRuleGroupViolation
ResourceViolation.Builder dnsDuplicateRuleGroupViolation(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
dnsDuplicateRuleGroupViolation
default ResourceViolation.Builder dnsDuplicateRuleGroupViolation(Consumer<DnsDuplicateRuleGroupViolation.Builder> 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.
This is a convenience method that creates an instance of theDnsDuplicateRuleGroupViolation.Builder
avoiding the need to create one manually viaDnsDuplicateRuleGroupViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsDuplicateRuleGroupViolation(DnsDuplicateRuleGroupViolation)
.- Parameters:
dnsDuplicateRuleGroupViolation
- a consumer that will call methods onDnsDuplicateRuleGroupViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsRuleGroupLimitExceededViolation
ResourceViolation.Builder dnsRuleGroupLimitExceededViolation(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
dnsRuleGroupLimitExceededViolation
default ResourceViolation.Builder dnsRuleGroupLimitExceededViolation(Consumer<DnsRuleGroupLimitExceededViolation.Builder> 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.
This is a convenience method that creates an instance of theDnsRuleGroupLimitExceededViolation.Builder
avoiding the need to create one manually viaDnsRuleGroupLimitExceededViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsRuleGroupLimitExceededViolation(DnsRuleGroupLimitExceededViolation)
.- Parameters:
dnsRuleGroupLimitExceededViolation
- a consumer that will call methods onDnsRuleGroupLimitExceededViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firewallSubnetIsOutOfScopeViolation
ResourceViolation.Builder firewallSubnetIsOutOfScopeViolation(FirewallSubnetIsOutOfScopeViolation firewallSubnetIsOutOfScopeViolation) Contains details about the firewall subnet that violates the policy scope.
- Parameters:
firewallSubnetIsOutOfScopeViolation
- Contains details about the firewall subnet that violates the policy scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallSubnetIsOutOfScopeViolation
default ResourceViolation.Builder firewallSubnetIsOutOfScopeViolation(Consumer<FirewallSubnetIsOutOfScopeViolation.Builder> firewallSubnetIsOutOfScopeViolation) Contains details about the firewall subnet that violates the policy scope.
This is a convenience method that creates an instance of theFirewallSubnetIsOutOfScopeViolation.Builder
avoiding the need to create one manually viaFirewallSubnetIsOutOfScopeViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofirewallSubnetIsOutOfScopeViolation(FirewallSubnetIsOutOfScopeViolation)
.- Parameters:
firewallSubnetIsOutOfScopeViolation
- a consumer that will call methods onFirewallSubnetIsOutOfScopeViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeHasOutOfScopeEndpointViolation
ResourceViolation.Builder routeHasOutOfScopeEndpointViolation(RouteHasOutOfScopeEndpointViolation routeHasOutOfScopeEndpointViolation) Contains details about the route endpoint that violates the policy scope.
- Parameters:
routeHasOutOfScopeEndpointViolation
- Contains details about the route endpoint that violates the policy scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeHasOutOfScopeEndpointViolation
default ResourceViolation.Builder routeHasOutOfScopeEndpointViolation(Consumer<RouteHasOutOfScopeEndpointViolation.Builder> routeHasOutOfScopeEndpointViolation) Contains details about the route endpoint that violates the policy scope.
This is a convenience method that creates an instance of theRouteHasOutOfScopeEndpointViolation.Builder
avoiding the need to create one manually viaRouteHasOutOfScopeEndpointViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torouteHasOutOfScopeEndpointViolation(RouteHasOutOfScopeEndpointViolation)
.- Parameters:
routeHasOutOfScopeEndpointViolation
- a consumer that will call methods onRouteHasOutOfScopeEndpointViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
thirdPartyFirewallMissingFirewallViolation
ResourceViolation.Builder thirdPartyFirewallMissingFirewallViolation(ThirdPartyFirewallMissingFirewallViolation thirdPartyFirewallMissingFirewallViolation) The violation details for a third-party firewall that's been deleted.
- Parameters:
thirdPartyFirewallMissingFirewallViolation
- The violation details for a third-party firewall that's been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thirdPartyFirewallMissingFirewallViolation
default ResourceViolation.Builder thirdPartyFirewallMissingFirewallViolation(Consumer<ThirdPartyFirewallMissingFirewallViolation.Builder> thirdPartyFirewallMissingFirewallViolation) The violation details for a third-party firewall that's been deleted.
This is a convenience method that creates an instance of theThirdPartyFirewallMissingFirewallViolation.Builder
avoiding the need to create one manually viaThirdPartyFirewallMissingFirewallViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothirdPartyFirewallMissingFirewallViolation(ThirdPartyFirewallMissingFirewallViolation)
.- Parameters:
thirdPartyFirewallMissingFirewallViolation
- a consumer that will call methods onThirdPartyFirewallMissingFirewallViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
thirdPartyFirewallMissingSubnetViolation
ResourceViolation.Builder thirdPartyFirewallMissingSubnetViolation(ThirdPartyFirewallMissingSubnetViolation thirdPartyFirewallMissingSubnetViolation) The violation details for a third-party firewall's subnet that's been deleted.
- Parameters:
thirdPartyFirewallMissingSubnetViolation
- The violation details for a third-party firewall's subnet that's been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thirdPartyFirewallMissingSubnetViolation
default ResourceViolation.Builder thirdPartyFirewallMissingSubnetViolation(Consumer<ThirdPartyFirewallMissingSubnetViolation.Builder> thirdPartyFirewallMissingSubnetViolation) The violation details for a third-party firewall's subnet that's been deleted.
This is a convenience method that creates an instance of theThirdPartyFirewallMissingSubnetViolation.Builder
avoiding the need to create one manually viaThirdPartyFirewallMissingSubnetViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothirdPartyFirewallMissingSubnetViolation(ThirdPartyFirewallMissingSubnetViolation)
.- Parameters:
thirdPartyFirewallMissingSubnetViolation
- a consumer that will call methods onThirdPartyFirewallMissingSubnetViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
thirdPartyFirewallMissingExpectedRouteTableViolation
ResourceViolation.Builder thirdPartyFirewallMissingExpectedRouteTableViolation(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
thirdPartyFirewallMissingExpectedRouteTableViolation
default ResourceViolation.Builder thirdPartyFirewallMissingExpectedRouteTableViolation(Consumer<ThirdPartyFirewallMissingExpectedRouteTableViolation.Builder> 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.
This is a convenience method that creates an instance of theThirdPartyFirewallMissingExpectedRouteTableViolation.Builder
avoiding the need to create one manually viaThirdPartyFirewallMissingExpectedRouteTableViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothirdPartyFirewallMissingExpectedRouteTableViolation(ThirdPartyFirewallMissingExpectedRouteTableViolation)
.- Parameters:
thirdPartyFirewallMissingExpectedRouteTableViolation
- a consumer that will call methods onThirdPartyFirewallMissingExpectedRouteTableViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firewallSubnetMissingVPCEndpointViolation
ResourceViolation.Builder firewallSubnetMissingVPCEndpointViolation(FirewallSubnetMissingVPCEndpointViolation firewallSubnetMissingVPCEndpointViolation) The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
- Parameters:
firewallSubnetMissingVPCEndpointViolation
- The violation details for a third-party firewall's VPC endpoint subnet that was deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallSubnetMissingVPCEndpointViolation
default ResourceViolation.Builder firewallSubnetMissingVPCEndpointViolation(Consumer<FirewallSubnetMissingVPCEndpointViolation.Builder> firewallSubnetMissingVPCEndpointViolation) The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
This is a convenience method that creates an instance of theFirewallSubnetMissingVPCEndpointViolation.Builder
avoiding the need to create one manually viaFirewallSubnetMissingVPCEndpointViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofirewallSubnetMissingVPCEndpointViolation(FirewallSubnetMissingVPCEndpointViolation)
.- Parameters:
firewallSubnetMissingVPCEndpointViolation
- a consumer that will call methods onFirewallSubnetMissingVPCEndpointViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invalidNetworkAclEntriesViolation
ResourceViolation.Builder invalidNetworkAclEntriesViolation(InvalidNetworkAclEntriesViolation invalidNetworkAclEntriesViolation) Violation detail for the entries in a network ACL resource.
- Parameters:
invalidNetworkAclEntriesViolation
- Violation detail for the entries in a network ACL resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invalidNetworkAclEntriesViolation
default ResourceViolation.Builder invalidNetworkAclEntriesViolation(Consumer<InvalidNetworkAclEntriesViolation.Builder> invalidNetworkAclEntriesViolation) Violation detail for the entries in a network ACL resource.
This is a convenience method that creates an instance of theInvalidNetworkAclEntriesViolation.Builder
avoiding the need to create one manually viaInvalidNetworkAclEntriesViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvalidNetworkAclEntriesViolation(InvalidNetworkAclEntriesViolation)
.- Parameters:
invalidNetworkAclEntriesViolation
- a consumer that will call methods onInvalidNetworkAclEntriesViolation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
possibleRemediationActions
ResourceViolation.Builder possibleRemediationActions(PossibleRemediationActions possibleRemediationActions) A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
- Parameters:
possibleRemediationActions
- A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
possibleRemediationActions
default ResourceViolation.Builder possibleRemediationActions(Consumer<PossibleRemediationActions.Builder> possibleRemediationActions) A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
This is a convenience method that creates an instance of thePossibleRemediationActions.Builder
avoiding the need to create one manually viaPossibleRemediationActions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topossibleRemediationActions(PossibleRemediationActions)
.- Parameters:
possibleRemediationActions
- a consumer that will call methods onPossibleRemediationActions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-