Class UpdateAssetPropertyRequest
- 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.UpdateAssetPropertyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAssetPropertyRequest.Builder,UpdateAssetPropertyRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAssetPropertyRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<UpdateAssetPropertyRequest.Builder,UpdateAssetPropertyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAssetPropertyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetId()The ID of the asset to be updated.static UpdateAssetPropertyRequest.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()StringpropertyAlias()The alias that identifies the property, such as an OPC-UA server data stream path (for example,/company/windfarm/3/turbine/7/temperature).StringpropertyId()The ID of the asset property to be updated.PropertyNotificationStatepropertyNotificationState()The MQTT notification state (enabled or disabled) for this asset property.StringpropertyNotificationStateAsString()The MQTT notification state (enabled or disabled) for this asset property.StringpropertyUnit()The unit of measure (such as Newtons or RPM) of the asset property.List<SdkField<?>>sdkFields()static Class<? extends UpdateAssetPropertyRequest.Builder>serializableBuilderClass()UpdateAssetPropertyRequest.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 be updated. 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 be updated. 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.
-
propertyId
public final String propertyId()
The ID of the asset property to be updated. 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 property to be updated. 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.
-
propertyAlias
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.
- Returns:
- 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.
-
propertyNotificationState
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,
propertyNotificationStatewill returnPropertyNotificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropertyNotificationStateAsString().- Returns:
- 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. - See Also:
PropertyNotificationState
-
propertyNotificationStateAsString
public 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,
propertyNotificationStatewill returnPropertyNotificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropertyNotificationStateAsString().- Returns:
- 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. - See Also:
PropertyNotificationState
-
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.
-
propertyUnit
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
assetModelPropertyin the asset model.- Returns:
- 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
assetModelPropertyin the asset model.
-
toBuilder
public UpdateAssetPropertyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAssetPropertyRequest.Builder,UpdateAssetPropertyRequest>- Specified by:
toBuilderin classIoTSiteWiseRequest
-
builder
public static UpdateAssetPropertyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAssetPropertyRequest.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
-
-