Interface ListTasksRequest.Builder
- All Superinterfaces:
AssuranceRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListTasksRequest.Builder,,ListTasksRequest> SdkBuilder<ListTasksRequest.Builder,,ListTasksRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListTasksRequest
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentArn(String environmentArn) The ARN of this governance environment.filters(Collection<TaskFilter> filters) The response filter criteria.filters(Consumer<TaskFilter.Builder>... filters) The response filter criteria.filters(TaskFilter... filters) The response filter criteria.maxResults(Integer maxResults) The maximum number of records to return on one page.The pagination token returned by a previous request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The project to list tasks for.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceRequest.Builder
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
environmentArn
The ARN of this governance environment.
- Parameters:
environmentArn- The ARN of this governance environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The project to list tasks for. Each request is scoped to one project.
- Parameters:
project- The project to list tasks for. Each request is scoped to one project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The response filter criteria. Optional. See
TaskFilterNamefor the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omittingfiltersreturns every task in the project.A single-valued criterion for
framework,framework-version, orcontrol-idnarrows the results when every broader component is also supplied. When a broader component is absent, the criterion is applied to the returned results.An
assessment-idcriterion returns the task history for that assessment. It accepts one value and requires single-valuedframework,framework-version, andcontrol-idcriteria alongside it.- Parameters:
filters- The response filter criteria. Optional. SeeTaskFilterNamefor the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omittingfiltersreturns every task in the project.A single-valued criterion for
framework,framework-version, orcontrol-idnarrows the results when every broader component is also supplied. When a broader component is absent, the criterion is applied to the returned results.An
assessment-idcriterion returns the task history for that assessment. It accepts one value and requires single-valuedframework,framework-version, andcontrol-idcriteria alongside it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The response filter criteria. Optional. See
TaskFilterNamefor the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omittingfiltersreturns every task in the project.A single-valued criterion for
framework,framework-version, orcontrol-idnarrows the results when every broader component is also supplied. When a broader component is absent, the criterion is applied to the returned results.An
assessment-idcriterion returns the task history for that assessment. It accepts one value and requires single-valuedframework,framework-version, andcontrol-idcriteria alongside it.- Parameters:
filters- The response filter criteria. Optional. SeeTaskFilterNamefor the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omittingfiltersreturns every task in the project.A single-valued criterion for
framework,framework-version, orcontrol-idnarrows the results when every broader component is also supplied. When a broader component is absent, the criterion is applied to the returned results.An
assessment-idcriterion returns the task history for that assessment. It accepts one value and requires single-valuedframework,framework-version, andcontrol-idcriteria alongside it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The response filter criteria. Optional. See
TaskFilterNamefor the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omittingfiltersreturns every task in the project.A single-valued criterion for
framework,framework-version, orcontrol-idnarrows the results when every broader component is also supplied. When a broader component is absent, the criterion is applied to the returned results.An
This is a convenience method that creates an instance of theassessment-idcriterion returns the task history for that assessment. It accepts one value and requires single-valuedframework,framework-version, andcontrol-idcriteria alongside it.TaskFilter.Builderavoiding the need to create one manually viaTaskFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<TaskFilter>).- Parameters:
filters- 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:
-
maxResults
The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the
nextTokenvalue from the response to get the next page.- Parameters:
maxResults- The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use thenextTokenvalue from the response to get the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- Parameters:
nextToken- The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTasksRequest.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
ListTasksRequest.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.
-