@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetRelationshipsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAssetRelationshipsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssetRelationshipsRequest |
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.
|
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 |
getTraversalType()
The type of traversal to use to identify asset relationships.
|
int |
hashCode() |
void |
setAssetId(String assetId)
The ID of 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 |
setTraversalType(String traversalType)
The type of traversal to use to identify asset relationships.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetRelationshipsRequest |
withAssetId(String assetId)
The ID of the asset.
|
ListAssetRelationshipsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
|
ListAssetRelationshipsRequest |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
ListAssetRelationshipsRequest |
withTraversalType(String traversalType)
The type of traversal to use to identify asset relationships.
|
ListAssetRelationshipsRequest |
withTraversalType(TraversalType traversalType)
The type of traversal to use to identify asset relationships.
|
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. 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. 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. 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 ListAssetRelationshipsRequest withAssetId(String assetId)
The ID of 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.
assetId
- The ID of 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.public void setTraversalType(String 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.
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.
TraversalType
public String getTraversalType()
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.
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.
TraversalType
public ListAssetRelationshipsRequest withTraversalType(String 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.
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.
TraversalType
public ListAssetRelationshipsRequest withTraversalType(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.
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.
TraversalType
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 ListAssetRelationshipsRequest 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.
maxResults
- The maximum number of results to return for each paginated request.public Integer getMaxResults()
The maximum number of results to return for each paginated request.
public ListAssetRelationshipsRequest withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
maxResults
- The maximum number of results to return for each paginated request.public String toString()
toString
in class Object
Object.toString()
public ListAssetRelationshipsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()