@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetContractsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssetContractsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssetContractsResult |
clone() |
boolean |
equals(Object obj) |
List<AssetContract> |
getContracts()
An array of contract objects that contain the properties for each contract.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setContracts(Collection<AssetContract> contracts)
An array of contract objects that contain the properties for each contract.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetContractsResult |
withContracts(AssetContract... contracts)
An array of contract objects that contain the properties for each contract.
|
ListAssetContractsResult |
withContracts(Collection<AssetContract> contracts)
An array of contract objects that contain the properties for each contract.
|
ListAssetContractsResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssetContract> getContracts()
An array of contract objects that contain the properties for each contract.
public void setContracts(Collection<AssetContract> contracts)
An array of contract objects that contain the properties for each contract.
contracts
- An array of contract objects that contain the properties for each contract.public ListAssetContractsResult withContracts(AssetContract... contracts)
An array of contract objects that contain the properties for each contract.
NOTE: This method appends the values to the existing list (if any). Use
setContracts(java.util.Collection)
or withContracts(java.util.Collection)
if you want to
override the existing values.
contracts
- An array of contract objects that contain the properties for each contract.public ListAssetContractsResult withContracts(Collection<AssetContract> contracts)
An array of contract objects that contain the properties for each contract.
contracts
- An array of contract objects that contain the properties for each contract.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListAssetContractsResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListAssetContractsResult clone()