@Generated(value="software.amazon.awssdk:codegen") public final class ListAssetRelationshipsRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<ListAssetRelationshipsRequest.Builder,ListAssetRelationshipsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListAssetRelationshipsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assetId()
The ID of the asset.
|
static ListAssetRelationshipsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return for each paginated request.
|
String |
nextToken()
The token to be used for the next set of paginated results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListAssetRelationshipsRequest.Builder> |
serializableBuilderClass() |
ListAssetRelationshipsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TraversalType |
traversalType()
The type of traversal to use to identify asset relationships.
|
String |
traversalTypeAsString()
The type of traversal to use to identify asset relationships.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assetId()
The ID of the asset.
public final TraversalType traversalType()
The type of traversal to use to identify asset relationships. Choose the following option:
PATH_TO_ROOT – Identify the asset's parent assets up to the root asset. The asset that you specify
in assetId is the first result in the list of assetRelationshipSummaries, and the root
asset is the last result.
If the service returns an enum value that is not available in the current SDK version, traversalType
will return TraversalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
traversalTypeAsString().
PATH_TO_ROOT – Identify the asset's parent assets up to the root asset. The asset that you
specify in assetId is the first result in the list of
assetRelationshipSummaries, and the root asset is the last result.
TraversalTypepublic final String traversalTypeAsString()
The type of traversal to use to identify asset relationships. Choose the following option:
PATH_TO_ROOT – Identify the asset's parent assets up to the root asset. The asset that you specify
in assetId is the first result in the list of assetRelationshipSummaries, and the root
asset is the last result.
If the service returns an enum value that is not available in the current SDK version, traversalType
will return TraversalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
traversalTypeAsString().
PATH_TO_ROOT – Identify the asset's parent assets up to the root asset. The asset that you
specify in assetId is the first result in the list of
assetRelationshipSummaries, and the root asset is the last result.
TraversalTypepublic 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 return for each paginated request.
public ListAssetRelationshipsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListAssetRelationshipsRequest.Builder,ListAssetRelationshipsRequest>toBuilder in class IoTSiteWiseRequestpublic static ListAssetRelationshipsRequest.Builder builder()
public static Class<? extends ListAssetRelationshipsRequest.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 © 2022. All rights reserved.