Class GetResourcePositionRequest
- 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.GetResourcePositionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetResourcePositionRequest.Builder,GetResourcePositionRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetResourcePositionRequest extends IotWirelessRequest implements ToCopyableBuilder<GetResourcePositionRequest.Builder,GetResourcePositionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetResourcePositionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResourcePositionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceIdentifier()The identifier of the resource for which position information is retrieved.PositionResourceTyperesourceType()The type of resource for which position information is retrieved, which can be a wireless device or a wireless gateway.StringresourceTypeAsString()The type of resource for which position information is retrieved, which can be a wireless device or a wireless gateway.List<SdkField<?>>sdkFields()static Class<? extends GetResourcePositionRequest.Builder>serializableBuilderClass()GetResourcePositionRequest.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 retrieved. 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 retrieved. 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 retrieved, 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 retrieved, 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 retrieved, 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 retrieved, which can be a wireless device or a wireless gateway.
- See Also:
PositionResourceType
-
toBuilder
public GetResourcePositionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetResourcePositionRequest.Builder,GetResourcePositionRequest>- Specified by:
toBuilderin classIotWirelessRequest
-
builder
public static GetResourcePositionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetResourcePositionRequest.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
-
-