Struct aws_sdk_fms::model::resource_violation::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ResourceViolation
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn aws_vpc_security_group_violation(
self,
input: AwsVpcSecurityGroupViolation
) -> Self
pub fn aws_vpc_security_group_violation(
self,
input: AwsVpcSecurityGroupViolation
) -> Self
Violation detail for security groups.
sourcepub fn set_aws_vpc_security_group_violation(
self,
input: Option<AwsVpcSecurityGroupViolation>
) -> Self
pub fn set_aws_vpc_security_group_violation(
self,
input: Option<AwsVpcSecurityGroupViolation>
) -> Self
Violation detail for security groups.
sourcepub fn aws_ec2_network_interface_violation(
self,
input: AwsEc2NetworkInterfaceViolation
) -> Self
pub fn aws_ec2_network_interface_violation(
self,
input: AwsEc2NetworkInterfaceViolation
) -> Self
Violation detail for a network interface.
sourcepub fn set_aws_ec2_network_interface_violation(
self,
input: Option<AwsEc2NetworkInterfaceViolation>
) -> Self
pub fn set_aws_ec2_network_interface_violation(
self,
input: Option<AwsEc2NetworkInterfaceViolation>
) -> Self
Violation detail for a network interface.
sourcepub fn aws_ec2_instance_violation(self, input: AwsEc2InstanceViolation) -> Self
pub fn aws_ec2_instance_violation(self, input: AwsEc2InstanceViolation) -> Self
Violation detail for an EC2 instance.
sourcepub fn set_aws_ec2_instance_violation(
self,
input: Option<AwsEc2InstanceViolation>
) -> Self
pub fn set_aws_ec2_instance_violation(
self,
input: Option<AwsEc2InstanceViolation>
) -> Self
Violation detail for an EC2 instance.
sourcepub fn network_firewall_missing_firewall_violation(
self,
input: NetworkFirewallMissingFirewallViolation
) -> Self
pub fn network_firewall_missing_firewall_violation(
self,
input: NetworkFirewallMissingFirewallViolation
) -> Self
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
sourcepub fn set_network_firewall_missing_firewall_violation(
self,
input: Option<NetworkFirewallMissingFirewallViolation>
) -> Self
pub fn set_network_firewall_missing_firewall_violation(
self,
input: Option<NetworkFirewallMissingFirewallViolation>
) -> Self
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
sourcepub fn network_firewall_missing_subnet_violation(
self,
input: NetworkFirewallMissingSubnetViolation
) -> Self
pub fn network_firewall_missing_subnet_violation(
self,
input: NetworkFirewallMissingSubnetViolation
) -> Self
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
sourcepub fn set_network_firewall_missing_subnet_violation(
self,
input: Option<NetworkFirewallMissingSubnetViolation>
) -> Self
pub fn set_network_firewall_missing_subnet_violation(
self,
input: Option<NetworkFirewallMissingSubnetViolation>
) -> Self
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
sourcepub fn network_firewall_missing_expected_rt_violation(
self,
input: NetworkFirewallMissingExpectedRtViolation
) -> Self
pub fn network_firewall_missing_expected_rt_violation(
self,
input: NetworkFirewallMissingExpectedRtViolation
) -> Self
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
sourcepub fn set_network_firewall_missing_expected_rt_violation(
self,
input: Option<NetworkFirewallMissingExpectedRtViolation>
) -> Self
pub fn set_network_firewall_missing_expected_rt_violation(
self,
input: Option<NetworkFirewallMissingExpectedRtViolation>
) -> Self
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
sourcepub fn network_firewall_policy_modified_violation(
self,
input: NetworkFirewallPolicyModifiedViolation
) -> Self
pub fn network_firewall_policy_modified_violation(
self,
input: NetworkFirewallPolicyModifiedViolation
) -> Self
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.
sourcepub fn set_network_firewall_policy_modified_violation(
self,
input: Option<NetworkFirewallPolicyModifiedViolation>
) -> Self
pub fn set_network_firewall_policy_modified_violation(
self,
input: Option<NetworkFirewallPolicyModifiedViolation>
) -> Self
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.
sourcepub fn network_firewall_internet_traffic_not_inspected_violation(
self,
input: NetworkFirewallInternetTrafficNotInspectedViolation
) -> Self
pub fn network_firewall_internet_traffic_not_inspected_violation(
self,
input: NetworkFirewallInternetTrafficNotInspectedViolation
) -> Self
Violation detail for the subnet for which internet traffic hasn't been inspected.
sourcepub fn set_network_firewall_internet_traffic_not_inspected_violation(
self,
input: Option<NetworkFirewallInternetTrafficNotInspectedViolation>
) -> Self
pub fn set_network_firewall_internet_traffic_not_inspected_violation(
self,
input: Option<NetworkFirewallInternetTrafficNotInspectedViolation>
) -> Self
Violation detail for the subnet for which internet traffic hasn't been inspected.
sourcepub fn network_firewall_invalid_route_configuration_violation(
self,
input: NetworkFirewallInvalidRouteConfigurationViolation
) -> Self
pub fn network_firewall_invalid_route_configuration_violation(
self,
input: NetworkFirewallInvalidRouteConfigurationViolation
) -> Self
The route configuration is invalid.
sourcepub fn set_network_firewall_invalid_route_configuration_violation(
self,
input: Option<NetworkFirewallInvalidRouteConfigurationViolation>
) -> Self
pub fn set_network_firewall_invalid_route_configuration_violation(
self,
input: Option<NetworkFirewallInvalidRouteConfigurationViolation>
) -> Self
The route configuration is invalid.
sourcepub fn network_firewall_black_hole_route_detected_violation(
self,
input: NetworkFirewallBlackHoleRouteDetectedViolation
) -> Self
pub fn network_firewall_black_hole_route_detected_violation(
self,
input: NetworkFirewallBlackHoleRouteDetectedViolation
) -> Self
Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.
sourcepub fn set_network_firewall_black_hole_route_detected_violation(
self,
input: Option<NetworkFirewallBlackHoleRouteDetectedViolation>
) -> Self
pub fn set_network_firewall_black_hole_route_detected_violation(
self,
input: Option<NetworkFirewallBlackHoleRouteDetectedViolation>
) -> Self
Violation detail for an internet gateway route with an inactive state in the customer subnet route table or Network Firewall subnet route table.
sourcepub fn network_firewall_unexpected_firewall_routes_violation(
self,
input: NetworkFirewallUnexpectedFirewallRoutesViolation
) -> Self
pub fn network_firewall_unexpected_firewall_routes_violation(
self,
input: NetworkFirewallUnexpectedFirewallRoutesViolation
) -> Self
There's an unexpected firewall route.
sourcepub fn set_network_firewall_unexpected_firewall_routes_violation(
self,
input: Option<NetworkFirewallUnexpectedFirewallRoutesViolation>
) -> Self
pub fn set_network_firewall_unexpected_firewall_routes_violation(
self,
input: Option<NetworkFirewallUnexpectedFirewallRoutesViolation>
) -> Self
There's an unexpected firewall route.
sourcepub fn network_firewall_unexpected_gateway_routes_violation(
self,
input: NetworkFirewallUnexpectedGatewayRoutesViolation
) -> Self
pub fn network_firewall_unexpected_gateway_routes_violation(
self,
input: NetworkFirewallUnexpectedGatewayRoutesViolation
) -> Self
There's an unexpected gateway route.
sourcepub fn set_network_firewall_unexpected_gateway_routes_violation(
self,
input: Option<NetworkFirewallUnexpectedGatewayRoutesViolation>
) -> Self
pub fn set_network_firewall_unexpected_gateway_routes_violation(
self,
input: Option<NetworkFirewallUnexpectedGatewayRoutesViolation>
) -> Self
There's an unexpected gateway route.
sourcepub fn network_firewall_missing_expected_routes_violation(
self,
input: NetworkFirewallMissingExpectedRoutesViolation
) -> Self
pub fn network_firewall_missing_expected_routes_violation(
self,
input: NetworkFirewallMissingExpectedRoutesViolation
) -> Self
Expected routes are missing from Network Firewall.
sourcepub fn set_network_firewall_missing_expected_routes_violation(
self,
input: Option<NetworkFirewallMissingExpectedRoutesViolation>
) -> Self
pub fn set_network_firewall_missing_expected_routes_violation(
self,
input: Option<NetworkFirewallMissingExpectedRoutesViolation>
) -> Self
Expected routes are missing from Network Firewall.
sourcepub fn dns_rule_group_priority_conflict_violation(
self,
input: DnsRuleGroupPriorityConflictViolation
) -> Self
pub fn dns_rule_group_priority_conflict_violation(
self,
input: DnsRuleGroupPriorityConflictViolation
) -> Self
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.
sourcepub fn set_dns_rule_group_priority_conflict_violation(
self,
input: Option<DnsRuleGroupPriorityConflictViolation>
) -> Self
pub fn set_dns_rule_group_priority_conflict_violation(
self,
input: Option<DnsRuleGroupPriorityConflictViolation>
) -> Self
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.
sourcepub fn dns_duplicate_rule_group_violation(
self,
input: DnsDuplicateRuleGroupViolation
) -> Self
pub fn dns_duplicate_rule_group_violation(
self,
input: DnsDuplicateRuleGroupViolation
) -> Self
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.
sourcepub fn set_dns_duplicate_rule_group_violation(
self,
input: Option<DnsDuplicateRuleGroupViolation>
) -> Self
pub fn set_dns_duplicate_rule_group_violation(
self,
input: Option<DnsDuplicateRuleGroupViolation>
) -> Self
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.
sourcepub fn dns_rule_group_limit_exceeded_violation(
self,
input: DnsRuleGroupLimitExceededViolation
) -> Self
pub fn dns_rule_group_limit_exceeded_violation(
self,
input: DnsRuleGroupLimitExceededViolation
) -> Self
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.
sourcepub fn set_dns_rule_group_limit_exceeded_violation(
self,
input: Option<DnsRuleGroupLimitExceededViolation>
) -> Self
pub fn set_dns_rule_group_limit_exceeded_violation(
self,
input: Option<DnsRuleGroupLimitExceededViolation>
) -> Self
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.
sourcepub fn possible_remediation_actions(
self,
input: PossibleRemediationActions
) -> Self
pub fn possible_remediation_actions(
self,
input: PossibleRemediationActions
) -> Self
A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
sourcepub fn set_possible_remediation_actions(
self,
input: Option<PossibleRemediationActions>
) -> Self
pub fn set_possible_remediation_actions(
self,
input: Option<PossibleRemediationActions>
) -> Self
A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
sourcepub fn firewall_subnet_is_out_of_scope_violation(
self,
input: FirewallSubnetIsOutOfScopeViolation
) -> Self
pub fn firewall_subnet_is_out_of_scope_violation(
self,
input: FirewallSubnetIsOutOfScopeViolation
) -> Self
Contains details about the firewall subnet that violates the policy scope.
sourcepub fn set_firewall_subnet_is_out_of_scope_violation(
self,
input: Option<FirewallSubnetIsOutOfScopeViolation>
) -> Self
pub fn set_firewall_subnet_is_out_of_scope_violation(
self,
input: Option<FirewallSubnetIsOutOfScopeViolation>
) -> Self
Contains details about the firewall subnet that violates the policy scope.
sourcepub fn route_has_out_of_scope_endpoint_violation(
self,
input: RouteHasOutOfScopeEndpointViolation
) -> Self
pub fn route_has_out_of_scope_endpoint_violation(
self,
input: RouteHasOutOfScopeEndpointViolation
) -> Self
Contains details about the route endpoint that violates the policy scope.
sourcepub fn set_route_has_out_of_scope_endpoint_violation(
self,
input: Option<RouteHasOutOfScopeEndpointViolation>
) -> Self
pub fn set_route_has_out_of_scope_endpoint_violation(
self,
input: Option<RouteHasOutOfScopeEndpointViolation>
) -> Self
Contains details about the route endpoint that violates the policy scope.
sourcepub fn third_party_firewall_missing_firewall_violation(
self,
input: ThirdPartyFirewallMissingFirewallViolation
) -> Self
pub fn third_party_firewall_missing_firewall_violation(
self,
input: ThirdPartyFirewallMissingFirewallViolation
) -> Self
The violation details for a third-party firewall that's been deleted.
sourcepub fn set_third_party_firewall_missing_firewall_violation(
self,
input: Option<ThirdPartyFirewallMissingFirewallViolation>
) -> Self
pub fn set_third_party_firewall_missing_firewall_violation(
self,
input: Option<ThirdPartyFirewallMissingFirewallViolation>
) -> Self
The violation details for a third-party firewall that's been deleted.
sourcepub fn third_party_firewall_missing_subnet_violation(
self,
input: ThirdPartyFirewallMissingSubnetViolation
) -> Self
pub fn third_party_firewall_missing_subnet_violation(
self,
input: ThirdPartyFirewallMissingSubnetViolation
) -> Self
The violation details for a third-party firewall's subnet that's been deleted.
sourcepub fn set_third_party_firewall_missing_subnet_violation(
self,
input: Option<ThirdPartyFirewallMissingSubnetViolation>
) -> Self
pub fn set_third_party_firewall_missing_subnet_violation(
self,
input: Option<ThirdPartyFirewallMissingSubnetViolation>
) -> Self
The violation details for a third-party firewall's subnet that's been deleted.
sourcepub fn third_party_firewall_missing_expected_route_table_violation(
self,
input: ThirdPartyFirewallMissingExpectedRouteTableViolation
) -> Self
pub fn third_party_firewall_missing_expected_route_table_violation(
self,
input: ThirdPartyFirewallMissingExpectedRouteTableViolation
) -> Self
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.
sourcepub fn set_third_party_firewall_missing_expected_route_table_violation(
self,
input: Option<ThirdPartyFirewallMissingExpectedRouteTableViolation>
) -> Self
pub fn set_third_party_firewall_missing_expected_route_table_violation(
self,
input: Option<ThirdPartyFirewallMissingExpectedRouteTableViolation>
) -> Self
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.
sourcepub fn firewall_subnet_missing_vpc_endpoint_violation(
self,
input: FirewallSubnetMissingVpcEndpointViolation
) -> Self
pub fn firewall_subnet_missing_vpc_endpoint_violation(
self,
input: FirewallSubnetMissingVpcEndpointViolation
) -> Self
The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
sourcepub fn set_firewall_subnet_missing_vpc_endpoint_violation(
self,
input: Option<FirewallSubnetMissingVpcEndpointViolation>
) -> Self
pub fn set_firewall_subnet_missing_vpc_endpoint_violation(
self,
input: Option<FirewallSubnetMissingVpcEndpointViolation>
) -> Self
The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
sourcepub fn build(self) -> ResourceViolation
pub fn build(self) -> ResourceViolation
Consumes the builder and constructs a ResourceViolation
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more