@Generated(value="software.amazon.awssdk:codegen") public final class ListAssetsRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<ListAssetsRequest.Builder,ListAssetsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListAssetsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assetModelId()
The ID of the asset model by which to filter the list of assets.
|
static ListAssetsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ListAssetsFilter |
filter()
The filter for the requested list of assets.
|
String |
filterAsString()
The filter for the requested list of assets.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to be returned per paginated request.
|
String |
nextToken()
The token to be used for the next set of paginated results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListAssetsRequest.Builder> |
serializableBuilderClass() |
ListAssetsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nextToken()
The token to be used for the next set of paginated results.
public final Integer maxResults()
The maximum number of results to be returned per paginated request.
Default: 50
Default: 50
public final 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.
ALL for filter.public final 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
If the service returns an enum value that is not available in the current SDK version, filter will
return ListAssetsFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
filterAsString().
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
ListAssetsFilterpublic final String filterAsString()
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
If the service returns an enum value that is not available in the current SDK version, filter will
return ListAssetsFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
filterAsString().
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
ListAssetsFilterpublic ListAssetsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListAssetsRequest.Builder,ListAssetsRequest>toBuilder in class IoTSiteWiseRequestpublic static ListAssetsRequest.Builder builder()
public static Class<? extends ListAssetsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.