@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstancePortStatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetInstancePortStatesResult() |
| Modifier and Type | Method and Description |
|---|---|
GetInstancePortStatesResult |
clone() |
boolean |
equals(Object obj) |
List<InstancePortState> |
getPortStates()
Information about the port states resulting from your request.
|
int |
hashCode() |
void |
setPortStates(Collection<InstancePortState> portStates)
Information about the port states resulting from your request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetInstancePortStatesResult |
withPortStates(Collection<InstancePortState> portStates)
Information about the port states resulting from your request.
|
GetInstancePortStatesResult |
withPortStates(InstancePortState... portStates)
Information about the port states resulting from your request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<InstancePortState> getPortStates()
Information about the port states resulting from your request.
public void setPortStates(Collection<InstancePortState> portStates)
Information about the port states resulting from your request.
portStates - Information about the port states resulting from your request.public GetInstancePortStatesResult withPortStates(InstancePortState... portStates)
Information about the port states resulting from your request.
NOTE: This method appends the values to the existing list (if any). Use
setPortStates(java.util.Collection) or withPortStates(java.util.Collection) if you want to
override the existing values.
portStates - Information about the port states resulting from your request.public GetInstancePortStatesResult withPortStates(Collection<InstancePortState> portStates)
Information about the port states resulting from your request.
portStates - Information about the port states resulting from your request.public String toString()
toString in class ObjectObject.toString()public GetInstancePortStatesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.