Class CfnInvestigationGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.aiops.CfnInvestigationGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInvestigationGroupProps>
- Enclosing interface:
CfnInvestigationGroupProps
@Stability(Stable)
public static final class CfnInvestigationGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInvestigationGroupProps>
A builder for
CfnInvestigationGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.chatbotNotificationChannels(List<? extends Object> chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupProps.getChatbotNotificationChannels()chatbotNotificationChannels(IResolvable chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupProps.getChatbotNotificationChannels()crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) Sets the value ofCfnInvestigationGroupProps.getCrossAccountConfigurations()crossAccountConfigurations(IResolvable crossAccountConfigurations) Sets the value ofCfnInvestigationGroupProps.getCrossAccountConfigurations()encryptionConfig(IResolvable encryptionConfig) Sets the value ofCfnInvestigationGroupProps.getEncryptionConfig()encryptionConfig(CfnInvestigationGroup.EncryptionConfigMapProperty encryptionConfig) Sets the value ofCfnInvestigationGroupProps.getEncryptionConfig()investigationGroupPolicy(String investigationGroupPolicy) Sets the value ofCfnInvestigationGroupProps.getInvestigationGroupPolicy()isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupProps.getIsCloudTrailEventHistoryEnabled()isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupProps.getIsCloudTrailEventHistoryEnabled()Sets the value ofCfnInvestigationGroupProps.getName()retentionInDays(Number retentionInDays) Sets the value ofCfnInvestigationGroupProps.getRetentionInDays()Sets the value ofCfnInvestigationGroupProps.getRoleArn()tagKeyBoundaries(List<String> tagKeyBoundaries) Sets the value ofCfnInvestigationGroupProps.getTagKeyBoundaries()Sets the value ofCfnInvestigationGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnInvestigationGroupProps.getName()- Parameters:
name- User friendly name for resources. This parameter is required.- Returns:
this
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroupProps.Builder chatbotNotificationChannels(IResolvable chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupProps.getChatbotNotificationChannels()- Parameters:
chatbotNotificationChannels- An array of key-value pairs of notification channels to apply to this resource.- Returns:
this
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroupProps.Builder chatbotNotificationChannels(List<? extends Object> chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupProps.getChatbotNotificationChannels()- Parameters:
chatbotNotificationChannels- An array of key-value pairs of notification channels to apply to this resource.- Returns:
this
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroupProps.Builder crossAccountConfigurations(IResolvable crossAccountConfigurations) Sets the value ofCfnInvestigationGroupProps.getCrossAccountConfigurations()- Parameters:
crossAccountConfigurations- An array of cross account configurations.- Returns:
this
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroupProps.Builder crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) Sets the value ofCfnInvestigationGroupProps.getCrossAccountConfigurations()- Parameters:
crossAccountConfigurations- An array of cross account configurations.- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroupProps.Builder encryptionConfig(IResolvable encryptionConfig) Sets the value ofCfnInvestigationGroupProps.getEncryptionConfig()- Parameters:
encryptionConfig- the value to be set.- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroupProps.Builder encryptionConfig(CfnInvestigationGroup.EncryptionConfigMapProperty encryptionConfig) Sets the value ofCfnInvestigationGroupProps.getEncryptionConfig()- Parameters:
encryptionConfig- the value to be set.- Returns:
this
-
investigationGroupPolicy
@Stability(Stable) public CfnInvestigationGroupProps.Builder investigationGroupPolicy(String investigationGroupPolicy) Sets the value ofCfnInvestigationGroupProps.getInvestigationGroupPolicy()- Parameters:
investigationGroupPolicy- Investigation Group policy.- Returns:
this
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroupProps.Builder isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupProps.getIsCloudTrailEventHistoryEnabled()- Parameters:
isCloudTrailEventHistoryEnabled- Flag to enable cloud trail history.- Returns:
this
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroupProps.Builder isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupProps.getIsCloudTrailEventHistoryEnabled()- Parameters:
isCloudTrailEventHistoryEnabled- Flag to enable cloud trail history.- Returns:
this
-
retentionInDays
@Stability(Stable) public CfnInvestigationGroupProps.Builder retentionInDays(Number retentionInDays) Sets the value ofCfnInvestigationGroupProps.getRetentionInDays()- Parameters:
retentionInDays- The number of days to retain the investigation group.- Returns:
this
-
roleArn
Sets the value ofCfnInvestigationGroupProps.getRoleArn()- Parameters:
roleArn- The Investigation Role's ARN.- Returns:
this
-
tagKeyBoundaries
@Stability(Stable) public CfnInvestigationGroupProps.Builder tagKeyBoundaries(List<String> tagKeyBoundaries) Sets the value ofCfnInvestigationGroupProps.getTagKeyBoundaries()- Parameters:
tagKeyBoundaries- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnInvestigationGroupProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInvestigationGroupProps>- Returns:
- a new instance of
CfnInvestigationGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-