Class FarmReference.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.FarmReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FarmReference>
- Enclosing interface:
FarmReference
@Stability(Stable)
public static final class FarmReference.Builder
extends Object
implements software.amazon.jsii.Builder<FarmReference>
A builder for
FarmReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofFarmReference.getFarmArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
farmArn
Sets the value ofFarmReference.getFarmArn()
- Parameters:
farmArn
- The Arn of the Farm resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FarmReference>
- Returns:
- a new instance of
FarmReference
- Throws:
NullPointerException
- if any required attribute was not provided
-