@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PortProbeAction extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the PORT_PROBE action described in the finding.
Constructor and Description |
---|
PortProbeAction() |
Modifier and Type | Method and Description |
---|---|
PortProbeAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBlocked()
Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
|
List<PortProbeDetail> |
getPortProbeDetails()
A list of objects related to port probe details.
|
int |
hashCode() |
Boolean |
isBlocked()
Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlocked(Boolean blocked)
Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
|
void |
setPortProbeDetails(Collection<PortProbeDetail> portProbeDetails)
A list of objects related to port probe details.
|
String |
toString()
Returns a string representation of this object.
|
PortProbeAction |
withBlocked(Boolean blocked)
Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
|
PortProbeAction |
withPortProbeDetails(Collection<PortProbeDetail> portProbeDetails)
A list of objects related to port probe details.
|
PortProbeAction |
withPortProbeDetails(PortProbeDetail... portProbeDetails)
A list of objects related to port probe details.
|
public void setBlocked(Boolean blocked)
Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
blocked
- Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.public Boolean getBlocked()
Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
public PortProbeAction withBlocked(Boolean blocked)
Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
blocked
- Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.public Boolean isBlocked()
Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.
public List<PortProbeDetail> getPortProbeDetails()
A list of objects related to port probe details.
public void setPortProbeDetails(Collection<PortProbeDetail> portProbeDetails)
A list of objects related to port probe details.
portProbeDetails
- A list of objects related to port probe details.public PortProbeAction withPortProbeDetails(PortProbeDetail... portProbeDetails)
A list of objects related to port probe details.
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
- A list of objects related to port probe details.public PortProbeAction withPortProbeDetails(Collection<PortProbeDetail> portProbeDetails)
A list of objects related to port probe details.
portProbeDetails
- A list of objects related to port probe details.public String toString()
toString
in class Object
Object.toString()
public PortProbeAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.