Interface UpdateWorkforceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateWorkforceResponse.Builder,
,UpdateWorkforceResponse> SageMakerResponse.Builder
,SdkBuilder<UpdateWorkforceResponse.Builder,
,UpdateWorkforceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateWorkforceResponse
public static interface UpdateWorkforceResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<UpdateWorkforceResponse.Builder,UpdateWorkforceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkforceResponse.Builder
workforce
(Consumer<Workforce.Builder> workforce) A single private workforce.A single private workforce.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workforce
A single private workforce. You can create one private work force in each Amazon Web Services Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.
- Parameters:
workforce
- A single private workforce. You can create one private work force in each Amazon Web Services Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workforce
A single private workforce. You can create one private work force in each Amazon Web Services Region. By default, any workforce-related API operation used in a specific region will apply to the workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.
This is a convenience method that creates an instance of theWorkforce.Builder
avoiding the need to create one manually viaWorkforce.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkforce(Workforce)
.- Parameters:
workforce
- a consumer that will call methods onWorkforce.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-