Class ListThingsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.ListThingsRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ListThingsRequest.Builder,ListThingsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListThingsRequest extends IotRequest implements ToCopyableBuilder<ListThingsRequest.Builder,ListThingsRequest>
The input for the ListThings operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ListThingsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
attributeName()
The attribute name used to search for things.String
attributeValue()
The attribute value used to search for things.static ListThingsRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
maxResults()
The maximum number of results to return in this operation.String
nextToken()
To retrieve the next set of results, thenextToken
value from a previous response; otherwise null to receive the first set of results.List<SdkField<?>>
sdkFields()
static Class<? extends ListThingsRequest.Builder>
serializableBuilderClass()
String
thingTypeName()
The name of the thing type used to search for things.ListThingsRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Boolean
usePrefixAttributeValue()
Whentrue
, the action returns the thing resources with attribute values that start with theattributeValue
provided.-
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
-
nextToken
public final String nextToken()
To retrieve the next set of results, the
nextToken
value from a previous response; otherwise null to receive the first set of results.- Returns:
- To retrieve the next set of results, the
nextToken
value from a previous response; otherwise null to receive the first set of results.
-
maxResults
public final Integer maxResults()
The maximum number of results to return in this operation.
- Returns:
- The maximum number of results to return in this operation.
-
attributeName
public final String attributeName()
The attribute name used to search for things.
- Returns:
- The attribute name used to search for things.
-
attributeValue
public final String attributeValue()
The attribute value used to search for things.
- Returns:
- The attribute value used to search for things.
-
thingTypeName
public final String thingTypeName()
The name of the thing type used to search for things.
- Returns:
- The name of the thing type used to search for things.
-
usePrefixAttributeValue
public final Boolean usePrefixAttributeValue()
When
true
, the action returns the thing resources with attribute values that start with theattributeValue
provided.When
false
, or not present, the action returns only the thing resources with attribute values that match the entireattributeValue
provided.- Returns:
- When
true
, the action returns the thing resources with attribute values that start with theattributeValue
provided.When
false
, or not present, the action returns only the thing resources with attribute values that match the entireattributeValue
provided.
-
toBuilder
public ListThingsRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ListThingsRequest.Builder,ListThingsRequest>
- Specified by:
toBuilder
in classIotRequest
-
builder
public static ListThingsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListThingsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-