@Generated(value="software.amazon.awssdk:codegen") public final class AssetModelProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>
Contains information about an asset model property.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssetModelProperty.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssetModelProperty.Builder |
builder() |
PropertyDataType |
dataType()
The data type of the asset model property.
|
String |
dataTypeAsString()
The data type of the asset model property.
|
String |
dataTypeSpec()
The data type of the structure for this property.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the asset model property.
|
String |
name()
The name of the asset model property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetModelProperty.Builder> |
serializableBuilderClass() |
AssetModelProperty.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PropertyType |
type()
The property type (see
PropertyType). |
String |
unit()
The unit of the asset model property, such as
Newtons or RPM. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the asset model property.
public final String name()
The name of the asset model property.
public final PropertyDataType dataType()
The data type of the asset model property.
If the service returns an enum value that is not available in the current SDK version, dataType will
return PropertyDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTypeAsString().
PropertyDataTypepublic final String dataTypeAsString()
The data type of the asset model property.
If the service returns an enum value that is not available in the current SDK version, dataType will
return PropertyDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTypeAsString().
PropertyDataTypepublic final String dataTypeSpec()
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
STRUCT data type.public final String unit()
The unit of the asset model property, such as Newtons or RPM.
Newtons or RPM.public final PropertyType type()
The property type (see PropertyType).
PropertyType).public AssetModelProperty.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>public static AssetModelProperty.Builder builder()
public static Class<? extends AssetModelProperty.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.