Class CfnGraphMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.detective.CfnGraphMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphMixinProps>
- Enclosing interface:
CfnGraphMixinProps
@Stability(Stable)
public static final class CfnGraphMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraphMixinProps>
A builder for
CfnGraphMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoEnableMembers(Boolean autoEnableMembers) Sets the value ofCfnGraphMixinProps.getAutoEnableMembers()autoEnableMembers(IResolvable autoEnableMembers) Sets the value ofCfnGraphMixinProps.getAutoEnableMembers()build()Builds the configured instance.Sets the value ofCfnGraphMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoEnableMembers
Sets the value ofCfnGraphMixinProps.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
@Stability(Stable) public CfnGraphMixinProps.Builder autoEnableMembers(IResolvable autoEnableMembers) Sets the value ofCfnGraphMixinProps.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 ofCfnGraphMixinProps.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<CfnGraphMixinProps>- Returns:
- a new instance of
CfnGraphMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-