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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateWorkforceResponse.Builderworkforce(Consumer<Workforce.Builder> workforce)A single private workforce.UpdateWorkforceResponse.Builderworkforce(Workforce 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
workforce
UpdateWorkforceResponse.Builder workforce(Workforce 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
default UpdateWorkforceResponse.Builder workforce(Consumer<Workforce.Builder> 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.Builderavoiding the need to create one manually viaWorkforce.builder().When the
Consumercompletes,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:
workforce(Workforce)
-
-