Interface ListWorkteamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWorkteamsResponse.Builder,
,ListWorkteamsResponse> SageMakerResponse.Builder
,SdkBuilder<ListWorkteamsResponse.Builder,
,ListWorkteamsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWorkteamsResponse
@Mutable
@NotThreadSafe
public static interface ListWorkteamsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListWorkteamsResponse.Builder,ListWorkteamsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Amazon SageMaker returns this token.workteams
(Collection<Workteam> workteams) An array ofWorkteam
objects, each describing a work team.workteams
(Consumer<Workteam.Builder>... workteams) An array ofWorkteam
objects, each describing a work team.An array ofWorkteam
objects, each describing a work team.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
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
-
workteams
An array of
Workteam
objects, each describing a work team.- Parameters:
workteams
- An array ofWorkteam
objects, each describing a work team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workteams
An array of
Workteam
objects, each describing a work team.- Parameters:
workteams
- An array ofWorkteam
objects, each describing a work team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workteams
An array of
This is a convenience method that creates an instance of theWorkteam
objects, each describing a work team.Workteam.Builder
avoiding the need to create one manually viaWorkteam.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkteams(List<Workteam>)
.- Parameters:
workteams
- a consumer that will call methods onWorkteam.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams, use it in the subsequent request.
- Parameters:
nextToken
- If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of work teams, use it in the subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-