Interface ListBacklogTasksRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListBacklogTasksRequest.Builder,,ListBacklogTasksRequest> DevOpsAgentRequest.Builder,SdkBuilder<ListBacklogTasksRequest.Builder,,ListBacklogTasksRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListBacklogTasksRequest
@Mutable
@NotThreadSafe
public static interface ListBacklogTasksRequest.Builder
extends DevOpsAgentRequest.Builder, SdkPojo, CopyableBuilder<ListBacklogTasksRequest.Builder,ListBacklogTasksRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier for the agent space containing the tasksdefault ListBacklogTasksRequest.Builderfilter(Consumer<TaskFilter.Builder> filter) Filter criteria to apply when listing tasksfilter(TaskFilter filter) Filter criteria to apply when listing tasksMaximum number of tasks to return in a single response (1-1000, default: 100)Token for retrieving the next page of resultsSort order for the tasks based on sortField (default: DESC)order(TaskSortOrder order) Sort order for the tasks based on sortField (default: DESC)overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Field to sort bysortField(TaskSortField sortField) Field to sort byMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentSpaceId
The unique identifier for the agent space containing the tasks
- Parameters:
agentSpaceId- The unique identifier for the agent space containing the tasks- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Filter criteria to apply when listing tasks
Filtering restrictions:
- Each filter field list is limited to a single value
- Filtering by Priority and Status at the same time when not filtering by Type is not permitted
- Timestamp filters (createdAfter, createdBefore) can be combined with other filters when not sorting by priority
- Parameters:
filter- Filter criteria to apply when listing tasksFiltering restrictions:
- Each filter field list is limited to a single value
- Filtering by Priority and Status at the same time when not filtering by Type is not permitted
- Timestamp filters (createdAfter, createdBefore) can be combined with other filters when not sorting by priority
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Filter criteria to apply when listing tasks
Filtering restrictions:
- Each filter field list is limited to a single value
- Filtering by Priority and Status at the same time when not filtering by Type is not permitted
- Timestamp filters (createdAfter, createdBefore) can be combined with other filters when not sorting by priority
TaskFilter.Builderavoiding the need to create one manually viaTaskFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(TaskFilter).- Parameters:
filter- a consumer that will call methods onTaskFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limit
Maximum number of tasks to return in a single response (1-1000, default: 100)
- Parameters:
limit- Maximum number of tasks to return in a single response (1-1000, default: 100)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Token for retrieving the next page of results
- Parameters:
nextToken- Token for retrieving the next page of results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortField
Field to sort by
Sorting restrictions:- Only sorting on createdAt is supported when using priority or status filters alone.
- Sorting by priority is not supported when using Timestamp filters (createdAfter, createdBefore)
- Parameters:
sortField- Field to sort bySorting restrictions:- Only sorting on createdAt is supported when using priority or status filters alone.
- Sorting by priority is not supported when using Timestamp filters (createdAfter, createdBefore)
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortField
Field to sort by
Sorting restrictions:- Only sorting on createdAt is supported when using priority or status filters alone.
- Sorting by priority is not supported when using Timestamp filters (createdAfter, createdBefore)
- Parameters:
sortField- Field to sort bySorting restrictions:- Only sorting on createdAt is supported when using priority or status filters alone.
- Sorting by priority is not supported when using Timestamp filters (createdAfter, createdBefore)
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
order
Sort order for the tasks based on sortField (default: DESC)
- Parameters:
order- Sort order for the tasks based on sortField (default: DESC)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
order
Sort order for the tasks based on sortField (default: DESC)
- Parameters:
order- Sort order for the tasks based on sortField (default: DESC)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListBacklogTasksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListBacklogTasksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-