@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAssetPropertyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAssetPropertyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAssetPropertyRequest |
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 asset to be updated.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
getPropertyAlias()
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
String |
getPropertyId()
The ID of the asset property to be updated.
|
String |
getPropertyNotificationState()
The MQTT notification state (enabled or disabled) for this asset property.
|
String |
getPropertyUnit()
The unit of measure (such as Newtons or RPM) of the asset property.
|
int |
hashCode() |
void |
setAssetId(String assetId)
The ID of the asset to be updated.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
void |
setPropertyAlias(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 ). |
void |
setPropertyId(String propertyId)
The ID of the asset property to be updated.
|
void |
setPropertyNotificationState(String propertyNotificationState)
The MQTT notification state (enabled or disabled) for this asset property.
|
void |
setPropertyUnit(String propertyUnit)
The unit of measure (such as Newtons or RPM) of the asset property.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAssetPropertyRequest |
withAssetId(String assetId)
The ID of the asset to be updated.
|
UpdateAssetPropertyRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
UpdateAssetPropertyRequest |
withPropertyAlias(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 ). |
UpdateAssetPropertyRequest |
withPropertyId(String propertyId)
The ID of the asset property to be updated.
|
UpdateAssetPropertyRequest |
withPropertyNotificationState(PropertyNotificationState propertyNotificationState)
The MQTT notification state (enabled or disabled) for this asset property.
|
UpdateAssetPropertyRequest |
withPropertyNotificationState(String propertyNotificationState)
The MQTT notification state (enabled or disabled) for this asset property.
|
UpdateAssetPropertyRequest |
withPropertyUnit(String propertyUnit)
The unit of measure (such as Newtons or RPM) of the asset property.
|
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 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.
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.public String getAssetId()
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.
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.public UpdateAssetPropertyRequest withAssetId(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.
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.public void setPropertyId(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.
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.public String getPropertyId()
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.
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.public UpdateAssetPropertyRequest withPropertyId(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.
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.public void setPropertyAlias(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.
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.
public String getPropertyAlias()
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 UpdateAssetPropertyRequest withPropertyAlias(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.
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.
public void setPropertyNotificationState(String 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
.
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
.
PropertyNotificationState
public String getPropertyNotificationState()
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 you omit this parameter, the notification state is set to DISABLED
.
PropertyNotificationState
public UpdateAssetPropertyRequest withPropertyNotificationState(String 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
.
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
.
PropertyNotificationState
public UpdateAssetPropertyRequest withPropertyNotificationState(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
.
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
.
PropertyNotificationState
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 UpdateAssetPropertyRequest 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 void setPropertyUnit(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.
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.public String getPropertyUnit()
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 withPropertyUnit(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.
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.public String toString()
toString
in class Object
Object.toString()
public UpdateAssetPropertyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()