Class UpdateAssetRequest
- 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.UpdateAssetRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAssetRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAssetRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetDescription()A description for the asset.StringassetExternalId()An external ID to assign to the asset.StringassetId()The ID of the asset to update.StringassetName()A friendly name for the asset.static UpdateAssetRequest.Builderbuilder()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()List<SdkField<?>>sdkFields()static Class<? extends UpdateAssetRequest.Builder>serializableBuilderClass()UpdateAssetRequest.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 asset to update. 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 asset to update. 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.
-
assetName
public final String assetName()
A friendly name for the asset.
- Returns:
- A friendly name for the asset.
-
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.
-
assetDescription
public final String assetDescription()
A description for the asset.
- Returns:
- A description for the asset.
-
assetExternalId
public final String assetExternalId()
An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Returns:
- An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
-
toBuilder
public UpdateAssetRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>- Specified by:
toBuilderin classIoTSiteWiseRequest
-
builder
public static UpdateAssetRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAssetRequest.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
-
-