@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 |
getDomainWithSuffix()
The second and top level domain involved in the activity that potentially prompted GuardDuty to generate this
finding.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlocked(Boolean blocked)
Indicates whether the targeted port is blocked.
|
void |
setDomain(String domain)
The domain information for the DNS query.
|
void |
setDomainWithSuffix(String domainWithSuffix)
The second and top level domain involved in the activity that potentially prompted GuardDuty to generate this
finding.
|
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 |
withDomainWithSuffix(String domainWithSuffix)
The second and top level domain involved in the activity that potentially prompted GuardDuty to generate this
finding.
|
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 void setDomainWithSuffix(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.
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.public String getDomainWithSuffix()
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.
public DnsRequestAction withDomainWithSuffix(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.
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.public String toString()
toString
in class Object
Object.toString()
public DnsRequestAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.