@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsRequestAction extends Object implements Serializable, Cloneable, StructuredPojo
Provided if ActionType is DNS_REQUEST. It provides details about the DNS request that was
detected.
| Constructor and Description |
|---|
DnsRequestAction() |
| Modifier and Type | Method and Description |
|---|---|
DnsRequestAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBlocked()
Indicates whether the DNS request was blocked.
|
String |
getDomain()
The DNS domain that is associated with the DNS request.
|
String |
getProtocol()
The protocol that was used for the DNS request.
|
int |
hashCode() |
Boolean |
isBlocked()
Indicates whether the DNS request was blocked.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBlocked(Boolean blocked)
Indicates whether the DNS request was blocked.
|
void |
setDomain(String domain)
The DNS domain that is associated with the DNS request.
|
void |
setProtocol(String protocol)
The protocol that was used for the DNS request.
|
String |
toString()
Returns a string representation of this object.
|
DnsRequestAction |
withBlocked(Boolean blocked)
Indicates whether the DNS request was blocked.
|
DnsRequestAction |
withDomain(String domain)
The DNS domain that is associated with the DNS request.
|
DnsRequestAction |
withProtocol(String protocol)
The protocol that was used for the DNS request.
|
public void setDomain(String domain)
The DNS domain that is associated with the DNS request.
domain - The DNS domain that is associated with the DNS request.public String getDomain()
The DNS domain that is associated with the DNS request.
public DnsRequestAction withDomain(String domain)
The DNS domain that is associated with the DNS request.
domain - The DNS domain that is associated with the DNS request.public void setProtocol(String protocol)
The protocol that was used for the DNS request.
protocol - The protocol that was used for the DNS request.public String getProtocol()
The protocol that was used for the DNS request.
public DnsRequestAction withProtocol(String protocol)
The protocol that was used for the DNS request.
protocol - The protocol that was used for the DNS request.public void setBlocked(Boolean blocked)
Indicates whether the DNS request was blocked.
blocked - Indicates whether the DNS request was blocked.public Boolean getBlocked()
Indicates whether the DNS request was blocked.
public DnsRequestAction withBlocked(Boolean blocked)
Indicates whether the DNS request was blocked.
blocked - Indicates whether the DNS request was blocked.public Boolean isBlocked()
Indicates whether the DNS request was blocked.
public String toString()
toString in class ObjectObject.toString()public DnsRequestAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.