Class UpdateResourcePositionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iotwireless.model.IotWirelessRequest
-
- software.amazon.awssdk.services.iotwireless.model.UpdateResourcePositionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateResourcePositionRequest.Builder,UpdateResourcePositionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateResourcePositionRequest extends IotWirelessRequest implements ToCopyableBuilder<UpdateResourcePositionRequest.Builder,UpdateResourcePositionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateResourcePositionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateResourcePositionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)SdkBytesgeoJsonPayload()The position information of the resource, displayed as a JSON payload.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceIdentifier()The identifier of the resource for which position information is updated.PositionResourceTyperesourceType()The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.StringresourceTypeAsString()The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateResourcePositionRequest.Builder>serializableBuilderClass()UpdateResourcePositionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
resourceIdentifier
public final String resourceIdentifier()
The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.
- Returns:
- The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.
-
resourceType
public final PositionResourceType resourceType()
The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnPositionResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
- See Also:
PositionResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnPositionResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
- See Also:
PositionResourceType
-
geoJsonPayload
public final SdkBytes geoJsonPayload()
The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
- Returns:
- The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
-
toBuilder
public UpdateResourcePositionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateResourcePositionRequest.Builder,UpdateResourcePositionRequest>- Specified by:
toBuilderin classIotWirelessRequest
-
builder
public static UpdateResourcePositionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateResourcePositionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-