@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAssetPropertyRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<UpdateAssetPropertyRequest.Builder,UpdateAssetPropertyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateAssetPropertyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assetId()
The ID of the asset to be updated.
|
static UpdateAssetPropertyRequest.Builder |
builder() |
String |
clientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
propertyAlias()
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). |
String |
propertyId()
The ID of the asset property to be updated.
|
PropertyNotificationState |
propertyNotificationState()
The MQTT notification state (enabled or disabled) for this asset property.
|
String |
propertyNotificationStateAsString()
The MQTT notification state (enabled or disabled) for this asset property.
|
String |
propertyUnit()
The unit of measure (such as Newtons or RPM) of the asset property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAssetPropertyRequest.Builder> |
serializableBuilderClass() |
UpdateAssetPropertyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assetId()
The ID of the asset to be updated.
public final String propertyId()
The ID of the asset property to be updated.
public final String propertyAlias()
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial
data streams to asset properties in the IoT SiteWise User Guide.
If you omit this parameter, the alias is removed from the property.
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.
If you omit this parameter, the alias is removed from the property.
public final PropertyNotificationState propertyNotificationState()
The MQTT notification state (enabled or disabled) for this asset property. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.
If you omit this parameter, the notification state is set to DISABLED.
If the service returns an enum value that is not available in the current SDK version,
propertyNotificationState will return PropertyNotificationState.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from propertyNotificationStateAsString().
If you omit this parameter, the notification state is set to DISABLED.
PropertyNotificationStatepublic final String propertyNotificationStateAsString()
The MQTT notification state (enabled or disabled) for this asset property. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.
If you omit this parameter, the notification state is set to DISABLED.
If the service returns an enum value that is not available in the current SDK version,
propertyNotificationState will return PropertyNotificationState.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from propertyNotificationStateAsString().
If you omit this parameter, the notification state is set to DISABLED.
PropertyNotificationStatepublic 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.
public final String propertyUnit()
The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this
parameter, the service uses the value of the assetModelProperty in the asset model.
assetModelProperty in the asset model.public UpdateAssetPropertyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateAssetPropertyRequest.Builder,UpdateAssetPropertyRequest>toBuilder in class IoTSiteWiseRequestpublic static UpdateAssetPropertyRequest.Builder builder()
public static Class<? extends UpdateAssetPropertyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.