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 Details

    • Builder

      public Builder()
  • Method Details

    • displayName

      @Stability(Stable) public CfnFarmProps.Builder displayName(String displayName)
      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

      @Stability(Stable) public CfnFarmProps.Builder description(String description)
      Parameters:
      description - A description of the farm that helps identify what the farm is used for.
      Returns:
      this
    • kmsKeyArn

      @Stability(Stable) public CfnFarmProps.Builder kmsKeyArn(String kmsKeyArn)
      Sets the value of CfnFarmProps.getKmsKeyArn()
      Parameters:
      kmsKeyArn - The ARN for the KMS key.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnFarmProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnFarmProps.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

      @Stability(Stable) public CfnFarmProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFarmProps>
      Returns:
      a new instance of CfnFarmProps
      Throws:
      NullPointerException - if any required attribute was not provided