@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociatedAssetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListAssociatedAssetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListAssociatedAssetsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the asset to query.
|
String |
getHierarchyId()
The ID of the hierarchy by which child assets are associated to the asset.
|
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.
|
String |
getTraversalDirection()
The direction to list associated assets.
|
int |
hashCode() |
void |
setAssetId(String assetId)
The ID of the asset to query.
|
void |
setHierarchyId(String hierarchyId)
The ID of the hierarchy by which child assets are associated to the asset.
|
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.
|
void |
setTraversalDirection(String traversalDirection)
The direction to list associated assets.
|
String |
toString()
Returns a string representation of this object.
|
ListAssociatedAssetsRequest |
withAssetId(String assetId)
The ID of the asset to query.
|
ListAssociatedAssetsRequest |
withHierarchyId(String hierarchyId)
The ID of the hierarchy by which child assets are associated to the asset.
|
ListAssociatedAssetsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
|
ListAssociatedAssetsRequest |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
ListAssociatedAssetsRequest |
withTraversalDirection(String traversalDirection)
The direction to list associated assets.
|
ListAssociatedAssetsRequest |
withTraversalDirection(TraversalDirection traversalDirection)
The direction to list associated assets.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setAssetId(String assetId)
The ID of the asset to query.
assetId - The ID of the asset to query.public String getAssetId()
The ID of the asset to query.
public ListAssociatedAssetsRequest withAssetId(String assetId)
The ID of the asset to query.
assetId - The ID of the asset to query.public void setHierarchyId(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 IoT SiteWise User Guide.
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 IoT SiteWise User Guide.
public String getHierarchyId()
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 IoT SiteWise User Guide.
CHILD for
traversalDirection.
For more information, see Asset hierarchies in the IoT SiteWise User Guide.
public ListAssociatedAssetsRequest withHierarchyId(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 IoT SiteWise User Guide.
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 IoT SiteWise User Guide.
public void setTraversalDirection(String 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
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
TraversalDirectionpublic String getTraversalDirection()
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
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 ListAssociatedAssetsRequest withTraversalDirection(String 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
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
TraversalDirectionpublic ListAssociatedAssetsRequest withTraversalDirection(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
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
TraversalDirectionpublic 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 ListAssociatedAssetsRequest 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 ListAssociatedAssetsRequest 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 String toString()
toString in class ObjectObject.toString()public ListAssociatedAssetsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.