@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetModelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssetModelsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssetModelsResult |
clone() |
boolean |
equals(Object obj) |
List<AssetModelSummary> |
getAssetModelSummaries()
A list that summarizes each asset model.
|
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setAssetModelSummaries(Collection<AssetModelSummary> assetModelSummaries)
A list that summarizes each asset model.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetModelsResult |
withAssetModelSummaries(AssetModelSummary... assetModelSummaries)
A list that summarizes each asset model.
|
ListAssetModelsResult |
withAssetModelSummaries(Collection<AssetModelSummary> assetModelSummaries)
A list that summarizes each asset model.
|
ListAssetModelsResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssetModelSummary> getAssetModelSummaries()
A list that summarizes each asset model.
public void setAssetModelSummaries(Collection<AssetModelSummary> assetModelSummaries)
A list that summarizes each asset model.
assetModelSummaries
- A list that summarizes each asset model.public ListAssetModelsResult withAssetModelSummaries(AssetModelSummary... assetModelSummaries)
A list that summarizes each asset model.
NOTE: This method appends the values to the existing list (if any). Use
setAssetModelSummaries(java.util.Collection)
or withAssetModelSummaries(java.util.Collection)
if you want to override the existing values.
assetModelSummaries
- A list that summarizes each asset model.public ListAssetModelsResult withAssetModelSummaries(Collection<AssetModelSummary> assetModelSummaries)
A list that summarizes each asset model.
assetModelSummaries
- A list that summarizes each asset model.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListAssetModelsResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListAssetModelsResult clone()