@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstancePatchStatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInstancePatchStatesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstancePatchStatesResult |
clone() |
boolean |
equals(Object obj) |
List<InstancePatchState> |
getInstancePatchStates()
The high-level patch state for the requested instances.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setInstancePatchStates(Collection<InstancePatchState> instancePatchStates)
The high-level patch state for the requested instances.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeInstancePatchStatesResult |
withInstancePatchStates(Collection<InstancePatchState> instancePatchStates)
The high-level patch state for the requested instances.
|
DescribeInstancePatchStatesResult |
withInstancePatchStates(InstancePatchState... instancePatchStates)
The high-level patch state for the requested instances.
|
DescribeInstancePatchStatesResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstancePatchState> getInstancePatchStates()
The high-level patch state for the requested instances.
public void setInstancePatchStates(Collection<InstancePatchState> instancePatchStates)
The high-level patch state for the requested instances.
instancePatchStates
- The high-level patch state for the requested instances.public DescribeInstancePatchStatesResult withInstancePatchStates(InstancePatchState... instancePatchStates)
The high-level patch state for the requested instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstancePatchStates(java.util.Collection)
or withInstancePatchStates(java.util.Collection)
if you want to override the existing values.
instancePatchStates
- The high-level patch state for the requested instances.public DescribeInstancePatchStatesResult withInstancePatchStates(Collection<InstancePatchState> instancePatchStates)
The high-level patch state for the requested instances.
instancePatchStates
- The high-level patch state for the requested instances.public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeInstancePatchStatesResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeInstancePatchStatesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.