Class CfnFarmProps.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnFarmProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFarmProps>
- Enclosing interface:
CfnFarmProps
@Stability(Stable)
public static final class CfnFarmProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFarmProps>
A builder for
CfnFarmProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnFarmProps.getDescription()displayName(String displayName) Sets the value ofCfnFarmProps.getDisplayName()Sets the value ofCfnFarmProps.getKmsKeyArn()Sets the value ofCfnFarmProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnFarmProps.getDisplayName()- Parameters:
displayName- The display name of the farm. This parameter is required.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
this
-
description
Sets the value ofCfnFarmProps.getDescription()- Parameters:
description- A description of the farm that helps identify what the farm is used for.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
this
-
kmsKeyArn
Sets the value ofCfnFarmProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN for the KMS key.- Returns:
this
-
tags
Sets the value ofCfnFarmProps.getTags()- Parameters:
tags- The tags to add to your farm. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFarmProps>- Returns:
- a new instance of
CfnFarmProps - Throws:
NullPointerException- if any required attribute was not provided
-