Class GetViolationDetailsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.fms.model.FmsRequest
-
- software.amazon.awssdk.services.fms.model.GetViolationDetailsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetViolationDetailsRequest.Builder,GetViolationDetailsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetViolationDetailsRequest extends FmsRequest implements ToCopyableBuilder<GetViolationDetailsRequest.Builder,GetViolationDetailsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetViolationDetailsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetViolationDetailsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmemberAccount()The Amazon Web Services account ID that you want the details for.StringpolicyId()The ID of the Firewall Manager policy that you want the details for.StringresourceId()The ID of the resource that has violations.StringresourceType()The resource type.List<SdkField<?>>sdkFields()static Class<? extends GetViolationDetailsRequest.Builder>serializableBuilderClass()GetViolationDetailsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
policyId
public final String 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:
- 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
-
-
-
memberAccount
public final String memberAccount()
The Amazon Web Services account ID that you want the details for.
- Returns:
- The Amazon Web Services account ID that you want the details for.
-
resourceId
public final String resourceId()
The ID of the resource that has violations.
- Returns:
- The ID of the resource that has violations.
-
resourceType
public final String 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:
- 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.
-
toBuilder
public GetViolationDetailsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetViolationDetailsRequest.Builder,GetViolationDetailsRequest>- Specified by:
toBuilderin classFmsRequest
-
builder
public static GetViolationDetailsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetViolationDetailsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-