@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssetsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssetsResult |
clone() |
boolean |
equals(Object obj) |
List<AssetInfo> |
getAssets()
Information about the hardware assets.
|
String |
getNextToken() |
int |
hashCode() |
void |
setAssets(Collection<AssetInfo> assets)
Information about the hardware assets.
|
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object.
|
ListAssetsResult |
withAssets(AssetInfo... assets)
Information about the hardware assets.
|
ListAssetsResult |
withAssets(Collection<AssetInfo> assets)
Information about the hardware assets.
|
ListAssetsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssetInfo> getAssets()
Information about the hardware assets.
public void setAssets(Collection<AssetInfo> assets)
Information about the hardware assets.
assets
- Information about the hardware assets.public ListAssetsResult withAssets(AssetInfo... assets)
Information about the hardware assets.
NOTE: This method appends the values to the existing list (if any). Use
setAssets(java.util.Collection)
or withAssets(java.util.Collection)
if you want to override the
existing values.
assets
- Information about the hardware assets.public ListAssetsResult withAssets(Collection<AssetInfo> assets)
Information about the hardware assets.
assets
- Information about the hardware assets.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListAssetsResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public ListAssetsResult clone()