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