@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceRefreshesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInstanceRefreshesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceRefreshesResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceRefresh> |
getInstanceRefreshes()
The instance refreshes for the specified group.
|
String |
getNextToken()
A string that indicates that the response contains more items than can be returned in a single response.
|
int |
hashCode() |
void |
setInstanceRefreshes(Collection<InstanceRefresh> instanceRefreshes)
The instance refreshes for the specified group.
|
void |
setNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceRefreshesResult |
withInstanceRefreshes(Collection<InstanceRefresh> instanceRefreshes)
The instance refreshes for the specified group.
|
DescribeInstanceRefreshesResult |
withInstanceRefreshes(InstanceRefresh... instanceRefreshes)
The instance refreshes for the specified group.
|
DescribeInstanceRefreshesResult |
withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceRefresh> getInstanceRefreshes()
The instance refreshes for the specified group.
public void setInstanceRefreshes(Collection<InstanceRefresh> instanceRefreshes)
The instance refreshes for the specified group.
instanceRefreshes
- The instance refreshes for the specified group.public DescribeInstanceRefreshesResult withInstanceRefreshes(InstanceRefresh... instanceRefreshes)
The instance refreshes for the specified group.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceRefreshes(java.util.Collection)
or withInstanceRefreshes(java.util.Collection)
if
you want to override the existing values.
instanceRefreshes
- The instance refreshes for the specified group.public DescribeInstanceRefreshesResult withInstanceRefreshes(Collection<InstanceRefresh> instanceRefreshes)
The instance refreshes for the specified group.
instanceRefreshes
- The instance refreshes for the specified group.public void setNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String getNextToken()
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public DescribeInstanceRefreshesResult withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceRefreshesResult clone()