Class DnsRequestAction
java.lang.Object
software.amazon.awssdk.services.securityhub.model.DnsRequestAction
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DnsRequestAction.Builder,DnsRequestAction>
@Generated("software.amazon.awssdk:codegen")
public final class DnsRequestAction
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<DnsRequestAction.Builder,DnsRequestAction>
Provided if ActionType is DNS_REQUEST. It provides details about the DNS request that was
detected.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Booleanblocked()Indicates whether the DNS request was blocked.static DnsRequestAction.Builderbuilder()final Stringdomain()The DNS domain that is associated with the DNS request.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringprotocol()The protocol that was used for the DNS request.static Class<? extends DnsRequestAction.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
domain
The DNS domain that is associated with the DNS request.
Length Constraints: 128.
- Returns:
- The DNS domain that is associated with the DNS request.
Length Constraints: 128.
-
protocol
The protocol that was used for the DNS request.
Length Constraints: Minimum length of 1. Maximum length of 64.
- Returns:
- The protocol that was used for the DNS request.
Length Constraints: Minimum length of 1. Maximum length of 64.
-
blocked
Indicates whether the DNS request was blocked.
- Returns:
- Indicates whether the DNS request was blocked.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DnsRequestAction.Builder,DnsRequestAction>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-