@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsRequestAction extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the DNS_REQUEST action described in this finding.
| Constructor and Description |
|---|
DnsRequestAction() |
| Modifier and Type | Method and Description |
|---|---|
DnsRequestAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBlocked()
Indicates whether the targeted port is blocked.
|
String |
getDomain()
The domain information for the DNS query.
|
String |
getProtocol()
The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
|
int |
hashCode() |
Boolean |
isBlocked()
Indicates whether the targeted port is blocked.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBlocked(Boolean blocked)
Indicates whether the targeted port is blocked.
|
void |
setDomain(String domain)
The domain information for the DNS query.
|
void |
setProtocol(String protocol)
The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
|
String |
toString()
Returns a string representation of this object.
|
DnsRequestAction |
withBlocked(Boolean blocked)
Indicates whether the targeted port is blocked.
|
DnsRequestAction |
withDomain(String domain)
The domain information for the DNS query.
|
DnsRequestAction |
withProtocol(String protocol)
The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
|
public void setDomain(String domain)
The domain information for the DNS query.
domain - The domain information for the DNS query.public String getDomain()
The domain information for the DNS query.
public DnsRequestAction withDomain(String domain)
The domain information for the DNS query.
domain - The domain information for the DNS query.public void setProtocol(String protocol)
The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
protocol - The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.public String getProtocol()
The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
public DnsRequestAction withProtocol(String protocol)
The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
protocol - The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.public void setBlocked(Boolean blocked)
Indicates whether the targeted port is blocked.
blocked - Indicates whether the targeted port is blocked.public Boolean getBlocked()
Indicates whether the targeted port is blocked.
public DnsRequestAction withBlocked(Boolean blocked)
Indicates whether the targeted port is blocked.
blocked - Indicates whether the targeted port is blocked.public Boolean isBlocked()
Indicates whether the targeted port is blocked.
public String toString()
toString in class ObjectObject.toString()public DnsRequestAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.