Class CfnFleet.Builder

java.lang.Object
software.amazon.awscdk.services.robomaker.CfnFleet.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet>
Enclosing class:
CfnFleet

@Stability(Stable) public static final class CfnFleet.Builder extends Object implements software.amazon.jsii.Builder<CfnFleet>
A fluent builder for CfnFleet.
  • Method Details

    • create

      @Stability(Stable) public static CfnFleet.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnFleet.Builder.
    • name

      @Stability(Stable) public CfnFleet.Builder name(String name)
      The name of the fleet.

      Parameters:
      name - The name of the fleet. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnFleet.Builder tags(Map<String,String> tags)
      The list of all tags added to the fleet.

      Parameters:
      tags - The list of all tags added to the fleet. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnFleet build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFleet>
      Returns:
      a newly built instance of CfnFleet.