Class CfnFarmMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.deadline.CfnFarmMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFarmMixinProps>
- Enclosing interface:
CfnFarmMixinProps
@Stability(Stable)
public static final class CfnFarmMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFarmMixinProps>
A builder for
CfnFarmMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.costScaleFactor(Number costScaleFactor) Sets the value ofCfnFarmMixinProps.getCostScaleFactor()description(String description) Sets the value ofCfnFarmMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnFarmMixinProps.getDisplayName()Sets the value ofCfnFarmMixinProps.getKmsKeyArn()Sets the value ofCfnFarmMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
costScaleFactor
Sets the value ofCfnFarmMixinProps.getCostScaleFactor()- Parameters:
costScaleFactor- the value to be set.- Returns:
this
-
description
Sets the value ofCfnFarmMixinProps.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
-
displayName
Sets the value ofCfnFarmMixinProps.getDisplayName()- Parameters:
displayName- The display name of the farm.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 ofCfnFarmMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN for the KMS key.- Returns:
this
-
tags
Sets the value ofCfnFarmMixinProps.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<CfnFarmMixinProps>- Returns:
- a new instance of
CfnFarmMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-