Class CfnWorkflowProps.Builder
java.lang.Object
software.amazon.awscdk.services.mwaaserverless.CfnWorkflowProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflowProps>
- Enclosing interface:
CfnWorkflowProps
@Stability(Stable)
public static final class CfnWorkflowProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflowProps>
A builder for
CfnWorkflowProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.definitionS3Location(IResolvable definitionS3Location) Sets the value ofCfnWorkflowProps.getDefinitionS3Location()definitionS3Location(CfnWorkflow.S3LocationProperty definitionS3Location) Sets the value ofCfnWorkflowProps.getDefinitionS3Location()description(String description) Sets the value ofCfnWorkflowProps.getDescription()encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnWorkflowProps.getEncryptionConfiguration()encryptionConfiguration(CfnWorkflow.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnWorkflowProps.getEncryptionConfiguration()loggingConfiguration(IResolvable loggingConfiguration) Sets the value ofCfnWorkflowProps.getLoggingConfiguration()loggingConfiguration(CfnWorkflow.LoggingConfigurationProperty loggingConfiguration) Sets the value ofCfnWorkflowProps.getLoggingConfiguration()Sets the value ofCfnWorkflowProps.getName()networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnWorkflowProps.getNetworkConfiguration()networkConfiguration(CfnWorkflow.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnWorkflowProps.getNetworkConfiguration()Sets the value ofCfnWorkflowProps.getRoleArn()Sets the value ofCfnWorkflowProps.getTags()triggerMode(String triggerMode) Sets the value ofCfnWorkflowProps.getTriggerMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definitionS3Location
@Stability(Stable) public CfnWorkflowProps.Builder definitionS3Location(IResolvable definitionS3Location) Sets the value ofCfnWorkflowProps.getDefinitionS3Location()- Parameters:
definitionS3Location- the value to be set. This parameter is required.- Returns:
this
-
definitionS3Location
@Stability(Stable) public CfnWorkflowProps.Builder definitionS3Location(CfnWorkflow.S3LocationProperty definitionS3Location) Sets the value ofCfnWorkflowProps.getDefinitionS3Location()- Parameters:
definitionS3Location- the value to be set. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnWorkflowProps.getRoleArn()- Parameters:
roleArn- the value to be set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnWorkflowProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkflowProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnWorkflowProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- the value to be set.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkflowProps.Builder encryptionConfiguration(CfnWorkflow.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnWorkflowProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- the value to be set.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnWorkflowProps.Builder loggingConfiguration(IResolvable loggingConfiguration) Sets the value ofCfnWorkflowProps.getLoggingConfiguration()- Parameters:
loggingConfiguration- the value to be set.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnWorkflowProps.Builder loggingConfiguration(CfnWorkflow.LoggingConfigurationProperty loggingConfiguration) Sets the value ofCfnWorkflowProps.getLoggingConfiguration()- Parameters:
loggingConfiguration- the value to be set.- Returns:
this
-
name
Sets the value ofCfnWorkflowProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnWorkflowProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnWorkflowProps.getNetworkConfiguration()- Parameters:
networkConfiguration- the value to be set.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnWorkflowProps.Builder networkConfiguration(CfnWorkflow.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnWorkflowProps.getNetworkConfiguration()- Parameters:
networkConfiguration- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnWorkflowProps.getTags()- Parameters:
tags- A map of key-value pairs to be applied as tags.- Returns:
this
-
triggerMode
Sets the value ofCfnWorkflowProps.getTriggerMode()- Parameters:
triggerMode- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflowProps>- Returns:
- a new instance of
CfnWorkflowProps - Throws:
NullPointerException- if any required attribute was not provided
-