Class ListCommandsRequest
- 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.ListCommandsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListCommandsRequest extends IotRequest implements ToCopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListCommandsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListCommandsRequest.Builderbuilder()StringcommandParameterName()A filter that can be used to display the list of commands that have a specific command parameter name.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return in this operation.CommandNamespacenamespace()The namespace of the command.StringnamespaceAsString()The namespace of the command.StringnextToken()To retrieve the next set of results, thenextTokenvalue from a previous response; otherwisenullto receive the first set of results.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListCommandsRequest.Builder>serializableBuilderClass()SortOrdersortOrder()Specify whether to list the commands that you have created in the ascending or descending order.StringsortOrderAsString()Specify whether to list the commands that you have created in the ascending or descending order.ListCommandsRequest.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
-
maxResults
public final Integer maxResults()
The maximum number of results to return in this operation. By default, the API returns up to a maximum of 25 results. You can override this default value to return up to a maximum of 100 results for this operation.
- Returns:
- The maximum number of results to return in this operation. By default, the API returns up to a maximum of 25 results. You can override this default value to return up to a maximum of 100 results for this operation.
-
nextToken
public final String nextToken()
To retrieve the next set of results, the
nextTokenvalue from a previous response; otherwisenullto receive the first set of results.- Returns:
- To retrieve the next set of results, the
nextTokenvalue from a previous response; otherwisenullto receive the first set of results.
-
namespace
public final CommandNamespace namespace()
The namespace of the command. By default, the API returns all commands that have been created for both
AWS-IoTandAWS-IoT-FleetWisenamespaces. You can override this default value if you want to return all commands that have been created only for a specific namespace.If the service returns an enum value that is not available in the current SDK version,
namespacewill returnCommandNamespace.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnamespaceAsString().- Returns:
- The namespace of the command. By default, the API returns all commands that have been created for both
AWS-IoTandAWS-IoT-FleetWisenamespaces. You can override this default value if you want to return all commands that have been created only for a specific namespace. - See Also:
CommandNamespace
-
namespaceAsString
public final String namespaceAsString()
The namespace of the command. By default, the API returns all commands that have been created for both
AWS-IoTandAWS-IoT-FleetWisenamespaces. You can override this default value if you want to return all commands that have been created only for a specific namespace.If the service returns an enum value that is not available in the current SDK version,
namespacewill returnCommandNamespace.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnamespaceAsString().- Returns:
- The namespace of the command. By default, the API returns all commands that have been created for both
AWS-IoTandAWS-IoT-FleetWisenamespaces. You can override this default value if you want to return all commands that have been created only for a specific namespace. - See Also:
CommandNamespace
-
commandParameterName
public final String commandParameterName()
A filter that can be used to display the list of commands that have a specific command parameter name.
- Returns:
- A filter that can be used to display the list of commands that have a specific command parameter name.
-
sortOrder
public final SortOrder sortOrder()
Specify whether to list the commands that you have created in the ascending or descending order. By default, the API returns all commands in the descending order based on the time that they were created.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Specify whether to list the commands that you have created in the ascending or descending order. By default, the API returns all commands in the descending order based on the time that they were created.
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
Specify whether to list the commands that you have created in the ascending or descending order. By default, the API returns all commands in the descending order based on the time that they were created.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Specify whether to list the commands that you have created in the ascending or descending order. By default, the API returns all commands in the descending order based on the time that they were created.
- See Also:
SortOrder
-
toBuilder
public ListCommandsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>- Specified by:
toBuilderin classIotRequest
-
builder
public static ListCommandsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListCommandsRequest.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
-
-