Interface ListJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobsResponse.Builder,,ListJobsResponse> SageMakerResponse.Builder,SdkBuilder<ListJobsResponse.Builder,,ListJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListJobsResponse
@Mutable
@NotThreadSafe
public static interface ListJobsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobSummaries(Collection<JobSummary> jobSummaries) An array ofJobSummaryobjects that provide summary information about the jobs.jobSummaries(Consumer<JobSummary.Builder>... jobSummaries) An array ofJobSummaryobjects that provide summary information about the jobs.jobSummaries(JobSummary... jobSummaries) An array ofJobSummaryobjects that provide summary information about the jobs.If the response is truncated, this token retrieves the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the response is truncated, this token retrieves the next set of results.
- Parameters:
nextToken- If the response is truncated, this token retrieves the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobSummaries
An array of
JobSummaryobjects that provide summary information about the jobs.- Parameters:
jobSummaries- An array ofJobSummaryobjects that provide summary information about the jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobSummaries
An array of
JobSummaryobjects that provide summary information about the jobs.- Parameters:
jobSummaries- An array ofJobSummaryobjects that provide summary information about the jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobSummaries
An array of
This is a convenience method that creates an instance of theJobSummaryobjects that provide summary information about the jobs.JobSummary.Builderavoiding the need to create one manually viaJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobSummaries(List<JobSummary>).- Parameters:
jobSummaries- a consumer that will call methods onJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-