Class WorkforceReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.sagemaker.WorkforceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkforceReference>
- Enclosing interface:
WorkforceReference
@Stability(Stable)
public static final class WorkforceReference.Builder
extends Object
implements software.amazon.jsii.Builder<WorkforceReference>
A builder for
WorkforceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.workforceArn(String workforceArn) Sets the value ofWorkforceReference.getWorkforceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workforceArn
Sets the value ofWorkforceReference.getWorkforceArn()- Parameters:
workforceArn- The WorkforceArn of the Workforce resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkforceReference>- Returns:
- a new instance of
WorkforceReference - Throws:
NullPointerException- if any required attribute was not provided
-