@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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, withSdkRequestTimeout
public void setAssetId(String assetId)
The ID of the asset to query. This can be either the actual ID in UUID format, or else externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
assetId
- The ID of the asset to query. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.public String getAssetId()
The ID of the asset to query. This can be either the actual ID in UUID format, or else externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.public ListAssociatedAssetsRequest withAssetId(String assetId)
The ID of the asset to query. This can be either the actual ID in UUID format, or else externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
assetId
- The ID of the asset to query. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.public void setHierarchyId(String hierarchyId)
The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in
UUID format, or else externalId:
followed by the external ID, if it has one. For more information,
see
Referencing objects with external IDs in the IoT SiteWise User Guide.) 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. (This can be either the actual
ID in UUID format, or else externalId:
followed by the external ID, if it has one. For more
information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) 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. (This can be either the actual ID in
UUID format, or else externalId:
followed by the external ID, if it has one. For more information,
see
Referencing objects with external IDs in the IoT SiteWise User Guide.) 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.
externalId:
followed by the external ID, if it has one. For more
information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) 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 ListAssociatedAssetsRequest withHierarchyId(String hierarchyId)
The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in
UUID format, or else externalId:
followed by the external ID, if it has one. For more information,
see
Referencing objects with external IDs in the IoT SiteWise User Guide.) 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. (This can be either the actual
ID in UUID format, or else externalId:
followed by the external ID, if it has one. For more
information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) 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
TraversalDirection
public 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
TraversalDirection
public 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
TraversalDirection
public 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
TraversalDirection
public 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 Object
Object.toString()
public ListAssociatedAssetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()