Interface GetViolationDetailsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetViolationDetailsRequest.Builder,,GetViolationDetailsRequest> FmsRequest.Builder,SdkBuilder<GetViolationDetailsRequest.Builder,,GetViolationDetailsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetViolationDetailsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmemberAccount(String memberAccount) The Amazon Web Services account ID that you want the details for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the Firewall Manager policy that you want the details for.resourceId(String resourceId) The ID of the resource that has violations.resourceType(String resourceType) The resource type.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fms.model.FmsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
policyId
The ID of the Firewall Manager policy that you want the details for. You can get violation details for the following policy types:
-
DNS Firewall
-
Imported Network Firewall
-
Network Firewall
-
Security group content audit
-
Network ACL
-
Third-party firewall
- Parameters:
policyId- The ID of the Firewall Manager policy that you want the details for. You can get violation details for the following policy types:-
DNS Firewall
-
Imported Network Firewall
-
Network Firewall
-
Security group content audit
-
Network ACL
-
Third-party firewall
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
memberAccount
The Amazon Web Services account ID that you want the details for.
- Parameters:
memberAccount- The Amazon Web Services account ID that you want the details for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the resource that has violations.
- Parameters:
resourceId- The ID of the resource that has violations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. Supported resource types are:
AWS::EC2::Instance,AWS::EC2::NetworkInterface,AWS::EC2::SecurityGroup,AWS::NetworkFirewall::FirewallPolicy, andAWS::EC2::Subnet.- Parameters:
resourceType- The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. Supported resource types are:AWS::EC2::Instance,AWS::EC2::NetworkInterface,AWS::EC2::SecurityGroup,AWS::NetworkFirewall::FirewallPolicy, andAWS::EC2::Subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetViolationDetailsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetViolationDetailsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-