Class CfnGraph.Builder

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

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

    • create

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

      @Stability(Stable) public CfnGraph.Builder autoEnableMembers(Boolean autoEnableMembers)
      Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.

      By default, this property is set to false . If you want to change the value of this property, you must be the Detective administrator for the organization. For more information on setting a Detective administrator account, see AWS::Detective::OrganizationAdmin

      Parameters:
      autoEnableMembers - Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph. This parameter is required.
      Returns:
      this
    • autoEnableMembers

      @Stability(Stable) public CfnGraph.Builder autoEnableMembers(IResolvable autoEnableMembers)
      Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.

      By default, this property is set to false . If you want to change the value of this property, you must be the Detective administrator for the organization. For more information on setting a Detective administrator account, see AWS::Detective::OrganizationAdmin

      Parameters:
      autoEnableMembers - Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnGraph.Builder tags(List<? extends CfnTag> tags)
      The tag values to assign to the new behavior graph.

      Parameters:
      tags - The tag values to assign to the new behavior graph. This parameter is required.
      Returns:
      this
    • build

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