Class PropertyRequest
- java.lang.Object
-
- software.amazon.awssdk.services.iottwinmaker.model.PropertyRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PropertyRequest.Builder,PropertyRequest>
@Generated("software.amazon.awssdk:codegen") public final class PropertyRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PropertyRequest.Builder,PropertyRequest>
An object that sets information about a property.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePropertyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyRequest.Builderbuilder()PropertyDefinitionRequestdefinition()An object that specifies information about a property.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PropertyRequest.Builder>serializableBuilderClass()PropertyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.PropertyUpdateTypeupdateType()The update type of the update property request.StringupdateTypeAsString()The update type of the update property request.DataValuevalue()The value of the property.-
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
-
definition
public final PropertyDefinitionRequest definition()
An object that specifies information about a property.
- Returns:
- An object that specifies information about a property.
-
value
public final DataValue value()
The value of the property.
- Returns:
- The value of the property.
-
updateType
public final PropertyUpdateType updateType()
The update type of the update property request.
If the service returns an enum value that is not available in the current SDK version,
updateTypewill returnPropertyUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateTypeAsString().- Returns:
- The update type of the update property request.
- See Also:
PropertyUpdateType
-
updateTypeAsString
public final String updateTypeAsString()
The update type of the update property request.
If the service returns an enum value that is not available in the current SDK version,
updateTypewill returnPropertyUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateTypeAsString().- Returns:
- The update type of the update property request.
- See Also:
PropertyUpdateType
-
toBuilder
public PropertyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PropertyRequest.Builder,PropertyRequest>
-
builder
public static PropertyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PropertyRequest.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-