Class AssetModelProperty
- java.lang.Object
-
- software.amazon.awssdk.services.iotsitewise.model.AssetModelProperty
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>
@Generated("software.amazon.awssdk:codegen") public final class AssetModelProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>
Contains information about an asset model property.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssetModelProperty.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssetModelProperty.Builderbuilder()PropertyDataTypedataType()The data type of the asset model property.StringdataTypeAsString()The data type of the asset model property.StringdataTypeSpec()The data type of the structure for this property.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the asset model property.Stringname()The name of the asset model property.List<SdkField<?>>sdkFields()static Class<? extends AssetModelProperty.Builder>serializableBuilderClass()AssetModelProperty.BuildertoBuilder()StringtoString()Returns a string representation of this object.PropertyTypetype()The property type (seePropertyType).Stringunit()The unit of the asset model property, such asNewtonsorRPM.-
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
-
id
public final String id()
The ID of the asset model property.
- Returns:
- The ID of the asset model property.
-
name
public final String name()
The name of the asset model property.
- Returns:
- The name of the asset model property.
-
dataType
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,
dataTypewill returnPropertyDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataTypeAsString().- Returns:
- The data type of the asset model property.
- See Also:
PropertyDataType
-
dataTypeAsString
public 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,
dataTypewill returnPropertyDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataTypeAsString().- Returns:
- The data type of the asset model property.
- See Also:
PropertyDataType
-
dataTypeSpec
public final String dataTypeSpec()
The data type of the structure for this property. This parameter exists on properties that have the
STRUCTdata type.- Returns:
- The data type of the structure for this property. This parameter exists on properties that have the
STRUCTdata type.
-
unit
public final String unit()
The unit of the asset model property, such as
NewtonsorRPM.- Returns:
- The unit of the asset model property, such as
NewtonsorRPM.
-
type
public final PropertyType type()
The property type (see
PropertyType).- Returns:
- The property type (see
PropertyType).
-
toBuilder
public AssetModelProperty.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>
-
builder
public static AssetModelProperty.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssetModelProperty.Builder> serializableBuilderClass()
-
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.
-
-