@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 property 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.
|
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 property 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.
|
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 property 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.
|
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.
assetId
- The ID of the asset to be updated.public String getAssetId()
The ID of the asset to be updated.
public UpdateAssetPropertyRequest withAssetId(String assetId)
The ID of the asset to be updated.
assetId
- The ID of the asset to be updated.public void setPropertyId(String propertyId)
The ID of the asset property to be updated.
propertyId
- The ID of the asset property to be updated.public String getPropertyId()
The ID of the asset property to be updated.
public UpdateAssetPropertyRequest withPropertyId(String propertyId)
The ID of the asset property to be updated.
propertyId
- The ID of the asset property to be updated.public void setPropertyAlias(String propertyAlias)
The property 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 AWS IoT SiteWise User Guide.
If you omit this parameter, the alias is removed from the property.
propertyAlias
- The property 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 AWS IoT SiteWise User Guide.
If you omit this parameter, the alias is removed from the property.
public String getPropertyAlias()
The property 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 AWS 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 AWS IoT SiteWise User Guide.
If you omit this parameter, the alias is removed from the property.
public UpdateAssetPropertyRequest withPropertyAlias(String propertyAlias)
The property 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 AWS IoT SiteWise User Guide.
If you omit this parameter, the alias is removed from the property.
propertyAlias
- The property 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 AWS 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, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the AWS 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, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information,
see
Interacting with other services in the AWS 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, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the AWS 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, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the AWS 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, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information,
see
Interacting with other services in the AWS 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, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the AWS 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, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information,
see
Interacting with other services in the AWS 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 String toString()
toString
in class Object
Object.toString()
public UpdateAssetPropertyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()