@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateAssetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateAssetsRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateAssetsRequest |
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 parent asset.
|
String |
getChildAssetId()
The ID of the child asset to be associated.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
getHierarchyId()
The ID of a hierarchy in the parent asset's model.
|
int |
hashCode() |
void |
setAssetId(String assetId)
The ID of the parent asset.
|
void |
setChildAssetId(String childAssetId)
The ID of the child asset to be associated.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
void |
setHierarchyId(String hierarchyId)
The ID of a hierarchy in the parent asset's model.
|
String |
toString()
Returns a string representation of this object.
|
AssociateAssetsRequest |
withAssetId(String assetId)
The ID of the parent asset.
|
AssociateAssetsRequest |
withChildAssetId(String childAssetId)
The ID of the child asset to be associated.
|
AssociateAssetsRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
AssociateAssetsRequest |
withHierarchyId(String hierarchyId)
The ID of a hierarchy in the parent asset's model.
|
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 parent 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 parent 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 parent 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 AssociateAssetsRequest withAssetId(String assetId)
The ID of the parent 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 parent 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 setHierarchyId(String hierarchyId)
The ID of a hierarchy in the parent asset's model. (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.) Hierarchies allow different
groupings of assets to be formed that all come from the same asset model. For more information, see Asset hierarchies in
the IoT SiteWise User Guide.
hierarchyId
- The ID of a hierarchy in the parent asset's model. (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.) Hierarchies allow
different groupings of assets to be formed that all come from the same asset model. For more information,
see Asset
hierarchies in the IoT SiteWise User Guide.public String getHierarchyId()
The ID of a hierarchy in the parent asset's model. (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.) Hierarchies allow different
groupings of assets to be formed that all come from the same asset model. 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.) Hierarchies allow
different groupings of assets to be formed that all come from the same asset model. For more information,
see Asset
hierarchies in the IoT SiteWise User Guide.public AssociateAssetsRequest withHierarchyId(String hierarchyId)
The ID of a hierarchy in the parent asset's model. (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.) Hierarchies allow different
groupings of assets to be formed that all come from the same asset model. For more information, see Asset hierarchies in
the IoT SiteWise User Guide.
hierarchyId
- The ID of a hierarchy in the parent asset's model. (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.) Hierarchies allow
different groupings of assets to be formed that all come from the same asset model. For more information,
see Asset
hierarchies in the IoT SiteWise User Guide.public void setChildAssetId(String childAssetId)
The ID of the child asset to be associated. 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.
childAssetId
- The ID of the child asset to be associated. 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 getChildAssetId()
The ID of the child asset to be associated. 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 AssociateAssetsRequest withChildAssetId(String childAssetId)
The ID of the child asset to be associated. 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.
childAssetId
- The ID of the child asset to be associated. 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 setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public AssociateAssetsRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String toString()
toString
in class Object
Object.toString()
public AssociateAssetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()