@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.
assetId
- The ID of the parent asset.public String getAssetId()
The ID of the parent asset.
public AssociateAssetsRequest withAssetId(String assetId)
The ID of the parent asset.
assetId
- The ID of the parent asset.public void setHierarchyId(String hierarchyId)
The ID of a hierarchy in the parent asset's model. 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. 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. 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. 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. 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.
childAssetId
- The ID of the child asset to be associated.public String getChildAssetId()
The ID of the child asset to be associated.
public AssociateAssetsRequest withChildAssetId(String childAssetId)
The ID of the child asset to be associated.
childAssetId
- The ID of the child asset to be associated.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()