Interface DescribeWorkforceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkforceResponse.Builder,,DescribeWorkforceResponse> SageMakerResponse.Builder,SdkBuilder<DescribeWorkforceResponse.Builder,,DescribeWorkforceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeWorkforceResponse
-
Method Summary
Modifier and TypeMethodDescriptionworkforce(Consumer<Workforce.Builder> workforce) A single private workforce, which is automatically created when you create your first private work team.A single private workforce, which is automatically created when you create your first private work team.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workforce
A single private workforce, which is automatically created when you create your first private work team. 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, which is automatically created when you create your first private work team. 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, which is automatically created when you create your first private work team. 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:
-