Class ListExecutionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.transfer.model.TransferRequest
-
- software.amazon.awssdk.services.transfer.model.ListExecutionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListExecutionsRequest.Builder,ListExecutionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListExecutionsRequest extends TransferRequest implements ToCopyableBuilder<ListExecutionsRequest.Builder,ListExecutionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListExecutionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListExecutionsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of items to return.StringnextToken()ListExecutionsreturns theNextTokenparameter in the output.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListExecutionsRequest.Builder>serializableBuilderClass()ListExecutionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkflowId()A unique identifier for the workflow.-
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 items to return.
- Returns:
- The maximum number of items to return.
-
nextToken
public final String nextToken()
ListExecutionsreturns theNextTokenparameter in the output. You can then pass theNextTokenparameter in a subsequent command to continue listing additional executions.This is useful for pagination, for instance. If you have 100 executions for a workflow, you might only want to list first 10. If so, call the API by specifying the
max-results:aws transfer list-executions --max-results 10This returns details for the first 10 executions, as well as the pointer (
NextToken) to the eleventh execution. You can now call the API again, supplying theNextTokenvalue you received:aws transfer list-executions --max-results 10 --next-token $somePointerReturnedFromPreviousListResultThis call returns the next 10 executions, the 11th through the 20th. You can then repeat the call until the details for all 100 executions have been returned.
- Returns:
ListExecutionsreturns theNextTokenparameter in the output. You can then pass theNextTokenparameter in a subsequent command to continue listing additional executions.This is useful for pagination, for instance. If you have 100 executions for a workflow, you might only want to list first 10. If so, call the API by specifying the
max-results:aws transfer list-executions --max-results 10This returns details for the first 10 executions, as well as the pointer (
NextToken) to the eleventh execution. You can now call the API again, supplying theNextTokenvalue you received:aws transfer list-executions --max-results 10 --next-token $somePointerReturnedFromPreviousListResultThis call returns the next 10 executions, the 11th through the 20th. You can then repeat the call until the details for all 100 executions have been returned.
-
workflowId
public final String workflowId()
A unique identifier for the workflow.
- Returns:
- A unique identifier for the workflow.
-
toBuilder
public ListExecutionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListExecutionsRequest.Builder,ListExecutionsRequest>- Specified by:
toBuilderin classTransferRequest
-
builder
public static ListExecutionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListExecutionsRequest.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
-
-