@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHostedConfigurationVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListHostedConfigurationVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListHostedConfigurationVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<HostedConfigurationVersionSummary> |
getItems()
The elements from this collection.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setItems(Collection<HostedConfigurationVersionSummary> items)
The elements from this collection.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
ListHostedConfigurationVersionsResult |
withItems(Collection<HostedConfigurationVersionSummary> items)
The elements from this collection.
|
ListHostedConfigurationVersionsResult |
withItems(HostedConfigurationVersionSummary... items)
The elements from this collection.
|
ListHostedConfigurationVersionsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListHostedConfigurationVersionsResult()
public List<HostedConfigurationVersionSummary> getItems()
The elements from this collection.
public void setItems(Collection<HostedConfigurationVersionSummary> items)
The elements from this collection.
items
- The elements from this collection.public ListHostedConfigurationVersionsResult withItems(HostedConfigurationVersionSummary... items)
The elements from this collection.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The elements from this collection.public ListHostedConfigurationVersionsResult withItems(Collection<HostedConfigurationVersionSummary> items)
The elements from this collection.
items
- The elements from this collection.public void setNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String getNextToken()
The token for the next set of items to return. Use this token to get the next set of results.
public ListHostedConfigurationVersionsResult withNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListHostedConfigurationVersionsResult clone()