Interface ListProtectedJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsResponse.Builder
,CopyableBuilder<ListProtectedJobsResponse.Builder,
,ListProtectedJobsResponse> SdkBuilder<ListProtectedJobsResponse.Builder,
,ListProtectedJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProtectedJobsResponse
@Mutable
@NotThreadSafe
public static interface ListProtectedJobsResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<ListProtectedJobsResponse.Builder,ListProtectedJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token that's used to fetch the next set of results.protectedJobs
(Collection<ProtectedJobSummary> protectedJobs) A list of protected job summaries.protectedJobs
(Consumer<ProtectedJobSummary.Builder>... protectedJobs) A list of protected job summaries.protectedJobs
(ProtectedJobSummary... protectedJobs) A list of protected job summaries.Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The pagination token that's used to fetch the next set of results.
- Parameters:
nextToken
- The pagination token that's used to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedJobs
A list of protected job summaries.
- Parameters:
protectedJobs
- A list of protected job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedJobs
A list of protected job summaries.
- Parameters:
protectedJobs
- A list of protected job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedJobs
ListProtectedJobsResponse.Builder protectedJobs(Consumer<ProtectedJobSummary.Builder>... protectedJobs) A list of protected job summaries.
This is a convenience method that creates an instance of theProtectedJobSummary.Builder
avoiding the need to create one manually viaProtectedJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotectedJobs(List<ProtectedJobSummary>)
.- Parameters:
protectedJobs
- a consumer that will call methods onProtectedJobSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-