* An array of objects that describe the firewall port states for the specified instance. *
*/ private java.util.List* An array of objects that describe the firewall port states for the specified instance. *
* * @return An array of objects that describe the firewall port states for the specified instance. */ public java.util.List* An array of objects that describe the firewall port states for the specified instance. *
* * @param portStates * An array of objects that describe the firewall port states for the specified instance. */ public void setPortStates(java.util.Collection* An array of objects that describe the firewall port states for the specified instance. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPortStates(java.util.Collection)} or {@link #withPortStates(java.util.Collection)} if you want to * override the existing values. *
* * @param portStates * An array of objects that describe the firewall port states for the specified instance. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInstancePortStatesResult withPortStates(InstancePortState... portStates) { if (this.portStates == null) { setPortStates(new java.util.ArrayList* An array of objects that describe the firewall port states for the specified instance. *
* * @param portStates * An array of objects that describe the firewall port states for the specified instance. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInstancePortStatesResult withPortStates(java.util.Collection