@Generated(value="software.amazon.awssdk:codegen") public final class ListAssociatedAssetsRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<ListAssociatedAssetsRequest.Builder,ListAssociatedAssetsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListAssociatedAssetsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assetId()
The ID of the asset to query.
|
static ListAssociatedAssetsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hierarchyId()
The ID of the hierarchy by which child assets are associated to the asset.
|
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 ListAssociatedAssetsRequest.Builder> |
serializableBuilderClass() |
ListAssociatedAssetsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TraversalDirection |
traversalDirection()
The direction to list associated assets.
|
String |
traversalDirectionAsString()
The direction to list associated assets.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assetId()
The ID of the asset to query.
public final String hierarchyId()
The ID of the hierarchy by which child assets are associated to the asset. To find a hierarchy ID, use the DescribeAsset or
DescribeAssetModel operations. This parameter is required if you choose CHILD for
traversalDirection.
For more information, see Asset hierarchies in the AWS IoT SiteWise User Guide.
CHILD for
traversalDirection.
For more information, see Asset hierarchies in the AWS IoT SiteWise User Guide.
public final TraversalDirection traversalDirection()
The direction to list associated assets. Choose one of the following options:
CHILD – The list includes all child assets associated to the asset. The hierarchyId
parameter is required if you choose CHILD.
PARENT – The list includes the asset's parent asset.
Default: CHILD
If the service returns an enum value that is not available in the current SDK version,
traversalDirection will return TraversalDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from traversalDirectionAsString().
CHILD – The list includes all child assets associated to the asset. The
hierarchyId parameter is required if you choose CHILD.
PARENT – The list includes the asset's parent asset.
Default: CHILD
TraversalDirectionpublic final String traversalDirectionAsString()
The direction to list associated assets. Choose one of the following options:
CHILD – The list includes all child assets associated to the asset. The hierarchyId
parameter is required if you choose CHILD.
PARENT – The list includes the asset's parent asset.
Default: CHILD
If the service returns an enum value that is not available in the current SDK version,
traversalDirection will return TraversalDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from traversalDirectionAsString().
CHILD – The list includes all child assets associated to the asset. The
hierarchyId parameter is required if you choose CHILD.
PARENT – The list includes the asset's parent asset.
Default: CHILD
TraversalDirectionpublic 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 ListAssociatedAssetsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListAssociatedAssetsRequest.Builder,ListAssociatedAssetsRequest>toBuilder in class IoTSiteWiseRequestpublic static ListAssociatedAssetsRequest.Builder builder()
public static Class<? extends ListAssociatedAssetsRequest.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.