@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAssetsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssetModelId()
The ID of the asset model by which to filter the list of assets.
|
String |
getFilter()
The filter for the requested list of assets.
|
Integer |
getMaxResults()
The maximum number of results to return for each paginated request.
|
String |
getNextToken()
The token to be used for the next set of paginated results.
|
int |
hashCode() |
void |
setAssetModelId(String assetModelId)
The ID of the asset model by which to filter the list of assets.
|
void |
setFilter(String filter)
The filter for the requested list of assets.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
|
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetsRequest |
withAssetModelId(String assetModelId)
The ID of the asset model by which to filter the list of assets.
|
ListAssetsRequest |
withFilter(ListAssetsFilter filter)
The filter for the requested list of assets.
|
ListAssetsRequest |
withFilter(String filter)
The filter for the requested list of assets.
|
ListAssetsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
|
ListAssetsRequest |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNextToken(String nextToken)
The token to be used for the next set of paginated results.
nextToken
- The token to be used for the next set of paginated results.public String getNextToken()
The token to be used for the next set of paginated results.
public ListAssetsRequest withNextToken(String nextToken)
The token to be used for the next set of paginated results.
nextToken
- The token to be used for the next set of paginated results.public void setMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
Default: 50
maxResults
- The maximum number of results to return for each paginated request.
Default: 50
public Integer getMaxResults()
The maximum number of results to return for each paginated request.
Default: 50
Default: 50
public ListAssetsRequest withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
Default: 50
maxResults
- The maximum number of results to return for each paginated request.
Default: 50
public void setAssetModelId(String assetModelId)
The ID of the asset model by which to filter the list of assets. This parameter is required if you choose
ALL
for filter
. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
assetModelId
- The ID of the asset model by which to filter the list of assets. This parameter is required if you choose
ALL
for filter
. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.public String getAssetModelId()
The ID of the asset model by which to filter the list of assets. This parameter is required if you choose
ALL
for filter
. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
ALL
for filter
. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.public ListAssetsRequest withAssetModelId(String assetModelId)
The ID of the asset model by which to filter the list of assets. This parameter is required if you choose
ALL
for filter
. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
assetModelId
- The ID of the asset model by which to filter the list of assets. This parameter is required if you choose
ALL
for filter
. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.public void setFilter(String filter)
The filter for the requested list of assets. Choose one of the following options:
ALL
– The list includes all assets for a given asset model ID. The assetModelId
parameter is required if you filter by ALL
.
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default: ALL
filter
- The filter for the requested list of assets. Choose one of the following options:
ALL
– The list includes all assets for a given asset model ID. The assetModelId
parameter is required if you filter by ALL
.
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default: ALL
ListAssetsFilter
public String getFilter()
The filter for the requested list of assets. Choose one of the following options:
ALL
– The list includes all assets for a given asset model ID. The assetModelId
parameter is required if you filter by ALL
.
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default: ALL
ALL
– The list includes all assets for a given asset model ID. The assetModelId
parameter is required if you filter by ALL
.
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default: ALL
ListAssetsFilter
public ListAssetsRequest withFilter(String filter)
The filter for the requested list of assets. Choose one of the following options:
ALL
– The list includes all assets for a given asset model ID. The assetModelId
parameter is required if you filter by ALL
.
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default: ALL
filter
- The filter for the requested list of assets. Choose one of the following options:
ALL
– The list includes all assets for a given asset model ID. The assetModelId
parameter is required if you filter by ALL
.
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default: ALL
ListAssetsFilter
public ListAssetsRequest withFilter(ListAssetsFilter filter)
The filter for the requested list of assets. Choose one of the following options:
ALL
– The list includes all assets for a given asset model ID. The assetModelId
parameter is required if you filter by ALL
.
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default: ALL
filter
- The filter for the requested list of assets. Choose one of the following options:
ALL
– The list includes all assets for a given asset model ID. The assetModelId
parameter is required if you filter by ALL
.
TOP_LEVEL
– The list includes only top-level assets in the asset hierarchy tree.
Default: ALL
ListAssetsFilter
public String toString()
toString
in class Object
Object.toString()
public ListAssetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()