Interface DescribeWorkforceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkforceResponse.Builder,DescribeWorkforceResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeWorkforceResponse.Builder,DescribeWorkforceResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeWorkforceResponse
public static interface DescribeWorkforceResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkforceResponse.Builder,DescribeWorkforceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeWorkforceResponse.Builder
workforce(Consumer<Workforce.Builder> workforce)
A single private workforce, which is automatically created when you create your first private work team.DescribeWorkforceResponse.Builder
workforce(Workforce workforce)
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
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 Detail
-
workforce
DescribeWorkforceResponse.Builder workforce(Workforce 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
default DescribeWorkforceResponse.Builder workforce(Consumer<Workforce.Builder> 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.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:
workforce(Workforce)
-
-