@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 API request.
|
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 API request.
|
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 API request.
|
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 API request.
domain
- The domain information for the API request.public String getDomain()
The domain information for the API request.
public DnsRequestAction withDomain(String domain)
The domain information for the API request.
domain
- The domain information for the API request.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 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.