@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PortProbeAction extends Object implements Serializable, Cloneable, StructuredPojo
Provided if ActionType is PORT_PROBE. It provides details about the attempted port probe
that was detected.
| Constructor and Description |
|---|
PortProbeAction() |
| Modifier and Type | Method and Description |
|---|---|
PortProbeAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBlocked()
Indicates whether the port probe was blocked.
|
List<PortProbeDetail> |
getPortProbeDetails()
Information about the ports affected by the port probe.
|
int |
hashCode() |
Boolean |
isBlocked()
Indicates whether the port probe was blocked.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBlocked(Boolean blocked)
Indicates whether the port probe was blocked.
|
void |
setPortProbeDetails(Collection<PortProbeDetail> portProbeDetails)
Information about the ports affected by the port probe.
|
String |
toString()
Returns a string representation of this object.
|
PortProbeAction |
withBlocked(Boolean blocked)
Indicates whether the port probe was blocked.
|
PortProbeAction |
withPortProbeDetails(Collection<PortProbeDetail> portProbeDetails)
Information about the ports affected by the port probe.
|
PortProbeAction |
withPortProbeDetails(PortProbeDetail... portProbeDetails)
Information about the ports affected by the port probe.
|
public List<PortProbeDetail> getPortProbeDetails()
Information about the ports affected by the port probe.
public void setPortProbeDetails(Collection<PortProbeDetail> portProbeDetails)
Information about the ports affected by the port probe.
portProbeDetails - Information about the ports affected by the port probe.public PortProbeAction withPortProbeDetails(PortProbeDetail... portProbeDetails)
Information about the ports affected by the port probe.
NOTE: This method appends the values to the existing list (if any). Use
setPortProbeDetails(java.util.Collection) or withPortProbeDetails(java.util.Collection) if you
want to override the existing values.
portProbeDetails - Information about the ports affected by the port probe.public PortProbeAction withPortProbeDetails(Collection<PortProbeDetail> portProbeDetails)
Information about the ports affected by the port probe.
portProbeDetails - Information about the ports affected by the port probe.public void setBlocked(Boolean blocked)
Indicates whether the port probe was blocked.
blocked - Indicates whether the port probe was blocked.public Boolean getBlocked()
Indicates whether the port probe was blocked.
public PortProbeAction withBlocked(Boolean blocked)
Indicates whether the port probe was blocked.
blocked - Indicates whether the port probe was blocked.public Boolean isBlocked()
Indicates whether the port probe was blocked.
public String toString()
toString in class ObjectObject.toString()public PortProbeAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.