Class CfnStateMachineMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachineMixinProps>
- Enclosing interface:
CfnStateMachineMixinProps
CfnStateMachineMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.definition(Object definition) Sets the value ofCfnStateMachineMixinProps.getDefinition()definitionS3Location(CfnStateMachinePropsMixin.S3LocationProperty definitionS3Location) Sets the value ofCfnStateMachineMixinProps.getDefinitionS3Location()definitionS3Location(IResolvable definitionS3Location) Sets the value ofCfnStateMachineMixinProps.getDefinitionS3Location()definitionString(String definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()definitionString(ITableRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()definitionString(ITaskDefinitionRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()definitionString(IFunctionRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()definitionString(IVersionRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()definitionString(ITopicRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()definitionString(IQueueRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()definitionSubstitutions(Map<String, String> definitionSubstitutions) Sets the value ofCfnStateMachineMixinProps.getDefinitionSubstitutions()definitionSubstitutions(IResolvable definitionSubstitutions) Sets the value ofCfnStateMachineMixinProps.getDefinitionSubstitutions()encryptionConfiguration(CfnStateMachinePropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnStateMachineMixinProps.getEncryptionConfiguration()encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnStateMachineMixinProps.getEncryptionConfiguration()loggingConfiguration(CfnStateMachinePropsMixin.LoggingConfigurationProperty loggingConfiguration) Sets the value ofCfnStateMachineMixinProps.getLoggingConfiguration()loggingConfiguration(IResolvable loggingConfiguration) Sets the value ofCfnStateMachineMixinProps.getLoggingConfiguration()Sets the value ofCfnStateMachineMixinProps.getRoleArn()Sets the value ofCfnStateMachineMixinProps.getRoleArn()stateMachineName(String stateMachineName) Sets the value ofCfnStateMachineMixinProps.getStateMachineName()stateMachineType(String stateMachineType) Sets the value ofCfnStateMachineMixinProps.getStateMachineType()tags(List<? extends CfnStateMachinePropsMixin.TagsEntryProperty> tags) Sets the value ofCfnStateMachineMixinProps.getTags()tracingConfiguration(CfnStateMachinePropsMixin.TracingConfigurationProperty tracingConfiguration) Sets the value ofCfnStateMachineMixinProps.getTracingConfiguration()tracingConfiguration(IResolvable tracingConfiguration) Sets the value ofCfnStateMachineMixinProps.getTracingConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definition
Sets the value ofCfnStateMachineMixinProps.getDefinition()- Parameters:
definition- The Amazon States Language definition of the state machine. The state machine definition must be in JSON or YAML, and the format of the object must match the format of your CloudFormation template file. See Amazon States Language .- Returns:
this
-
definitionS3Location
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionS3Location(IResolvable definitionS3Location) Sets the value ofCfnStateMachineMixinProps.getDefinitionS3Location()- Parameters:
definitionS3Location- The name of the S3 bucket where the state machine definition is stored. The state machine definition must be a JSON or YAML file.- Returns:
this
-
definitionS3Location
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionS3Location(CfnStateMachinePropsMixin.S3LocationProperty definitionS3Location) Sets the value ofCfnStateMachineMixinProps.getDefinitionS3Location()- Parameters:
definitionS3Location- The name of the S3 bucket where the state machine definition is stored. The state machine definition must be a JSON or YAML file.- Returns:
this
-
definitionString
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionString(String definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()- Parameters:
definitionString- The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See Amazon States Language .- Returns:
this
-
definitionString
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionString(ITableRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()- Parameters:
definitionString- The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See Amazon States Language .- Returns:
this
-
definitionString
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionString(ITaskDefinitionRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()- Parameters:
definitionString- The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See Amazon States Language .- Returns:
this
-
definitionString
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionString(IFunctionRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()- Parameters:
definitionString- The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See Amazon States Language .- Returns:
this
-
definitionString
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionString(IVersionRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()- Parameters:
definitionString- The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See Amazon States Language .- Returns:
this
-
definitionString
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionString(ITopicRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()- Parameters:
definitionString- The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See Amazon States Language .- Returns:
this
-
definitionString
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionString(IQueueRef definitionString) Sets the value ofCfnStateMachineMixinProps.getDefinitionString()- Parameters:
definitionString- The Amazon States Language definition of the state machine. The state machine definition must be in JSON. See Amazon States Language .- Returns:
this
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionSubstitutions(Map<String, String> definitionSubstitutions) Sets the value ofCfnStateMachineMixinProps.getDefinitionSubstitutions()- Parameters:
definitionSubstitutions- A map (string to string) that specifies the mappings for placeholder variables in the state machine definition. This enables the customer to inject values obtained at runtime, for example from intrinsic functions, in the state machine definition. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map.Substitutions must follow the syntax:
${key_name}or${variable_1,variable_2,...}.- Returns:
this
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionSubstitutions(IResolvable definitionSubstitutions) Sets the value ofCfnStateMachineMixinProps.getDefinitionSubstitutions()- Parameters:
definitionSubstitutions- A map (string to string) that specifies the mappings for placeholder variables in the state machine definition. This enables the customer to inject values obtained at runtime, for example from intrinsic functions, in the state machine definition. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map.Substitutions must follow the syntax:
${key_name}or${variable_1,variable_2,...}.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnStateMachineMixinProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnStateMachineMixinProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Encryption configuration for the state machine.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnStateMachineMixinProps.Builder encryptionConfiguration(CfnStateMachinePropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnStateMachineMixinProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Encryption configuration for the state machine.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnStateMachineMixinProps.Builder loggingConfiguration(IResolvable loggingConfiguration) Sets the value ofCfnStateMachineMixinProps.getLoggingConfiguration()- Parameters:
loggingConfiguration- Defines what execution history events are logged and where they are logged.By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnStateMachineMixinProps.Builder loggingConfiguration(CfnStateMachinePropsMixin.LoggingConfigurationProperty loggingConfiguration) Sets the value ofCfnStateMachineMixinProps.getLoggingConfiguration()- Parameters:
loggingConfiguration- Defines what execution history events are logged and where they are logged.By default, the
levelis set toOFF. For more information see Log Levels in the AWS Step Functions User Guide.- Returns:
this
-
roleArn
Sets the value ofCfnStateMachineMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role to use for this state machine.- Returns:
this
-
roleArn
Sets the value ofCfnStateMachineMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role to use for this state machine.- Returns:
this
-
stateMachineName
@Stability(Stable) public CfnStateMachineMixinProps.Builder stateMachineName(String stateMachineName) Sets the value ofCfnStateMachineMixinProps.getStateMachineName()- Parameters:
stateMachineName- The name of the state machine. A name must not contain:- white space
- brackets
< > { } [ ] - wildcard characters
? * - special characters
" # % \ ^ | ~$ & , ; : /` - control characters (
U+0000-001F,U+007F-009F)
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Returns:
this
-
stateMachineType
@Stability(Stable) public CfnStateMachineMixinProps.Builder stateMachineType(String stateMachineType) Sets the value ofCfnStateMachineMixinProps.getStateMachineType()- Parameters:
stateMachineType- Determines whether aSTANDARDorEXPRESSstate machine is created. The default isSTANDARD. You cannot update thetypeof a state machine once it has been created. For more information onSTANDARDandEXPRESSworkflows, see Standard Versus Express Workflows in the AWS Step Functions Developer Guide.- Returns:
this
-
tags
@Stability(Stable) public CfnStateMachineMixinProps.Builder tags(List<? extends CfnStateMachinePropsMixin.TagsEntryProperty> tags) Sets the value ofCfnStateMachineMixinProps.getTags()- Parameters:
tags- The list of tags to add to a resource. Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + -- Returns:
this
-
tracingConfiguration
@Stability(Stable) public CfnStateMachineMixinProps.Builder tracingConfiguration(IResolvable tracingConfiguration) Sets the value ofCfnStateMachineMixinProps.getTracingConfiguration()- Parameters:
tracingConfiguration- Selects whether or not the state machine's AWS X-Ray tracing is enabled.- Returns:
this
-
tracingConfiguration
@Stability(Stable) public CfnStateMachineMixinProps.Builder tracingConfiguration(CfnStateMachinePropsMixin.TracingConfigurationProperty tracingConfiguration) Sets the value ofCfnStateMachineMixinProps.getTracingConfiguration()- Parameters:
tracingConfiguration- Selects whether or not the state machine's AWS X-Ray tracing is enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachineMixinProps>- Returns:
- a new instance of
CfnStateMachineMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-