Class CfnHub.Builder

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

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

    • create

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

      @Stability(Stable) public CfnHub.Builder tags(Object tags)
      The tags to add to the hub resource.

      Parameters:
      tags - The tags to add to the hub resource. This parameter is required.
      Returns:
      this
    • build

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