Class ListAssetsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest
-
- software.amazon.awssdk.services.iotsitewise.model.ListAssetsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListAssetsRequest.Builder,ListAssetsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListAssetsRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<ListAssetsRequest.Builder,ListAssetsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListAssetsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetModelId()The ID of the asset model by which to filter the list of assets.static ListAssetsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ListAssetsFilterfilter()The filter for the requested list of assets.StringfilterAsString()The filter for the requested list of assets.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return for each paginated request.StringnextToken()The token to be used for the next set of paginated results.List<SdkField<?>>sdkFields()static Class<? extends ListAssetsRequest.Builder>serializableBuilderClass()ListAssetsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
nextToken
public final String nextToken()
The token to be used for the next set of paginated results.
- Returns:
- The token to be used for the next set of paginated results.
-
maxResults
public final Integer maxResults()
The maximum number of results to return for each paginated request.
Default: 50
- Returns:
- The maximum number of results to return for each paginated request.
Default: 50
-
assetModelId
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
ALLforfilter. This can be either the actual ID in UUID format, or elseexternalId:followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.- Returns:
- The ID of the asset model by which to filter the list of assets. This parameter is required if you choose
ALLforfilter. This can be either the actual ID in UUID format, or elseexternalId:followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
-
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. TheassetModelIdparameter is required if you filter byALL. -
TOP_LEVEL– The list includes only top-level assets in the asset hierarchy tree.
Default:
ALLIf the service returns an enum value that is not available in the current SDK version,
filterwill returnListAssetsFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterAsString().- Returns:
- 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. TheassetModelIdparameter is required if you filter byALL. -
TOP_LEVEL– The list includes only top-level assets in the asset hierarchy tree.
Default:
ALL -
- See Also:
ListAssetsFilter
-
-
filterAsString
public 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. TheassetModelIdparameter is required if you filter byALL. -
TOP_LEVEL– The list includes only top-level assets in the asset hierarchy tree.
Default:
ALLIf the service returns an enum value that is not available in the current SDK version,
filterwill returnListAssetsFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterAsString().- Returns:
- 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. TheassetModelIdparameter is required if you filter byALL. -
TOP_LEVEL– The list includes only top-level assets in the asset hierarchy tree.
Default:
ALL -
- See Also:
ListAssetsFilter
-
-
toBuilder
public ListAssetsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListAssetsRequest.Builder,ListAssetsRequest>- Specified by:
toBuilderin classIoTSiteWiseRequest
-
builder
public static ListAssetsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListAssetsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-