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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoEnableMembers(Boolean autoEnableMembers) Sets the value ofCfnGraphProps.getAutoEnableMembers()autoEnableMembers(IResolvable autoEnableMembers) Sets the value ofCfnGraphProps.getAutoEnableMembers()build()Builds the configured instance.Sets the value ofCfnGraphProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoEnableMembers
Sets the value ofCfnGraphProps.getAutoEnableMembers()- Parameters:
autoEnableMembers- Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph. By default, this property is set tofalse. 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
Sets the value ofCfnGraphProps.getAutoEnableMembers()- Parameters:
autoEnableMembers- Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph. By default, this property is set tofalse. 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
Sets the value ofCfnGraphProps.getTags()- Parameters:
tags- The tag values to assign to the new behavior graph.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGraphProps>- Returns:
- a new instance of
CfnGraphProps - Throws:
NullPointerException- if any required attribute was not provided
-