Class CfnSpace.Builder

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

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

    • create

      @Stability(Stable) public static CfnSpace.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 CfnSpace.Builder.
    • domainId

      @Stability(Stable) public CfnSpace.Builder domainId(String domainId)
      The ID of the associated Domain.

      Parameters:
      domainId - The ID of the associated Domain. This parameter is required.
      Returns:
      this
    • spaceName

      @Stability(Stable) public CfnSpace.Builder spaceName(String spaceName)
      The name of the space.

      Parameters:
      spaceName - The name of the space. This parameter is required.
      Returns:
      this
    • spaceSettings

      @Stability(Stable) public CfnSpace.Builder spaceSettings(IResolvable spaceSettings)
      A collection of space settings.

      Parameters:
      spaceSettings - A collection of space settings. This parameter is required.
      Returns:
      this
    • spaceSettings

      @Stability(Stable) public CfnSpace.Builder spaceSettings(CfnSpace.SpaceSettingsProperty spaceSettings)
      A collection of space settings.

      Parameters:
      spaceSettings - A collection of space settings. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnSpace.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

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