Class CfnGraphProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • autoEnableMembers

      @Stability(Stable) public CfnGraphProps.Builder autoEnableMembers(Boolean autoEnableMembers)
      Parameters:
      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
      Returns:
      this
    • autoEnableMembers

      @Stability(Stable) public CfnGraphProps.Builder autoEnableMembers(IResolvable autoEnableMembers)
      Parameters:
      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
      Returns:
      this
    • tags

      @Stability(Stable) public CfnGraphProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnGraphProps.getTags()
      Parameters:
      tags - The tag values to assign to the new behavior graph.
      Returns:
      this
    • build

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