Class DnsRequestAction
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.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>
Contains information about the DNS_REQUEST action described in this finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDnsRequestAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanblocked()Indicates whether the targeted port is blocked.static DnsRequestAction.Builderbuilder()Stringdomain()The domain information for the DNS query.StringdomainWithSuffix()The second and top level domain involved in the activity that potentially prompted GuardDuty to generate this finding.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringprotocol()The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.List<SdkField<?>>sdkFields()static Class<? extends DnsRequestAction.Builder>serializableBuilderClass()DnsRequestAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
domain
public final String domain()
The domain information for the DNS query.
- Returns:
- The domain information for the DNS query.
-
protocol
public final String protocol()
The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
- Returns:
- The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
-
blocked
public final Boolean blocked()
Indicates whether the targeted port is blocked.
- Returns:
- Indicates whether the targeted port is blocked.
-
domainWithSuffix
public final String domainWithSuffix()
The second and top level domain involved in the activity that potentially prompted GuardDuty to generate this finding. For a list of top-level and second-level domains, see public suffix list.
- Returns:
- The second and top level domain involved in the activity that potentially prompted GuardDuty to generate this finding. For a list of top-level and second-level domains, see public suffix list.
-
toBuilder
public DnsRequestAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DnsRequestAction.Builder,DnsRequestAction>
-
builder
public static DnsRequestAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends DnsRequestAction.Builder> serializableBuilderClass()
-
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.
-
-