Class DisassociateAssetsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest
-
- software.amazon.awssdk.services.iotsitewise.model.DisassociateAssetsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DisassociateAssetsRequest.Builder,DisassociateAssetsRequest>
@Generated("software.amazon.awssdk:codegen") public final class DisassociateAssetsRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<DisassociateAssetsRequest.Builder,DisassociateAssetsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDisassociateAssetsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetId()The ID of the parent asset from which to disassociate the child asset.static DisassociateAssetsRequest.Builderbuilder()StringchildAssetId()The ID of the child asset to disassociate.StringclientToken()A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhierarchyId()The ID of a hierarchy in the parent asset's model.List<SdkField<?>>sdkFields()static Class<? extends DisassociateAssetsRequest.Builder>serializableBuilderClass()DisassociateAssetsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
assetId
public final String assetId()
The ID of the parent asset from which to disassociate the child 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.- Returns:
- The ID of the parent asset from which to disassociate the child 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.
-
hierarchyId
public final 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. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see Asset hierarchies in the IoT SiteWise User Guide.- Returns:
- 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. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
-
childAssetId
public final String childAssetId()
The ID of the child asset to disassociate. 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.- Returns:
- The ID of the child asset to disassociate. 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.
-
clientToken
public final 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.
- Returns:
- 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.
-
toBuilder
public DisassociateAssetsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DisassociateAssetsRequest.Builder,DisassociateAssetsRequest>- Specified by:
toBuilderin classIoTSiteWiseRequest
-
builder
public static DisassociateAssetsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DisassociateAssetsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-