Class CfnStateMachineProps.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnStateMachineProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachineProps>
- Enclosing interface:
CfnStateMachineProps
@Stability(Stable)
public static final class CfnStateMachineProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachineProps>
A builder for
CfnStateMachineProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.definition(Object definition) Sets the value ofCfnStateMachineProps.getDefinition()definitionSubstitutions(Map<String, String> definitionSubstitutions) Sets the value ofCfnStateMachineProps.getDefinitionSubstitutions()definitionSubstitutions(IResolvable definitionSubstitutions) Sets the value ofCfnStateMachineProps.getDefinitionSubstitutions()definitionUri(String definitionUri) Sets the value ofCfnStateMachineProps.getDefinitionUri()definitionUri(IResolvable definitionUri) Sets the value ofCfnStateMachineProps.getDefinitionUri()definitionUri(CfnStateMachine.S3LocationProperty definitionUri) Sets the value ofCfnStateMachineProps.getDefinitionUri()Sets the value ofCfnStateMachineProps.getEvents()events(IResolvable events) Sets the value ofCfnStateMachineProps.getEvents()logging(IResolvable logging) Sets the value ofCfnStateMachineProps.getLogging()Sets the value ofCfnStateMachineProps.getLogging()Sets the value ofCfnStateMachineProps.getName()permissionsBoundaries(String permissionsBoundaries) Sets the value ofCfnStateMachineProps.getPermissionsBoundaries()Sets the value ofCfnStateMachineProps.getPolicies()Sets the value ofCfnStateMachineProps.getPolicies()policies(IResolvable policies) Sets the value ofCfnStateMachineProps.getPolicies()Sets the value ofCfnStateMachineProps.getPolicies()Sets the value ofCfnStateMachineProps.getRole()Sets the value ofCfnStateMachineProps.getTags()tracing(IResolvable tracing) Sets the value ofCfnStateMachineProps.getTracing()Sets the value ofCfnStateMachineProps.getTracing()Sets the value ofCfnStateMachineProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definition
Sets the value ofCfnStateMachineProps.getDefinition()- Parameters:
definition- the value to be set.- Returns:
this
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachineProps.Builder definitionSubstitutions(Map<String, String> definitionSubstitutions) Sets the value ofCfnStateMachineProps.getDefinitionSubstitutions()- Parameters:
definitionSubstitutions- the value to be set.- Returns:
this
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachineProps.Builder definitionSubstitutions(IResolvable definitionSubstitutions) Sets the value ofCfnStateMachineProps.getDefinitionSubstitutions()- Parameters:
definitionSubstitutions- the value to be set.- Returns:
this
-
definitionUri
Sets the value ofCfnStateMachineProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
definitionUri
Sets the value ofCfnStateMachineProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
definitionUri
@Stability(Stable) public CfnStateMachineProps.Builder definitionUri(CfnStateMachine.S3LocationProperty definitionUri) Sets the value ofCfnStateMachineProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
events
Sets the value ofCfnStateMachineProps.getEvents()- Parameters:
events- the value to be set.- Returns:
this
-
events
Sets the value ofCfnStateMachineProps.getEvents()- Parameters:
events- the value to be set.- Returns:
this
-
logging
Sets the value ofCfnStateMachineProps.getLogging()- Parameters:
logging- the value to be set.- Returns:
this
-
logging
@Stability(Stable) public CfnStateMachineProps.Builder logging(CfnStateMachine.LoggingConfigurationProperty logging) Sets the value ofCfnStateMachineProps.getLogging()- Parameters:
logging- the value to be set.- Returns:
this
-
name
Sets the value ofCfnStateMachineProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
permissionsBoundaries
@Stability(Stable) public CfnStateMachineProps.Builder permissionsBoundaries(String permissionsBoundaries) Sets the value ofCfnStateMachineProps.getPermissionsBoundaries()- Parameters:
permissionsBoundaries- the value to be set.- Returns:
this
-
policies
Sets the value ofCfnStateMachineProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
Sets the value ofCfnStateMachineProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
@Stability(Stable) public CfnStateMachineProps.Builder policies(CfnStateMachine.IAMPolicyDocumentProperty policies) Sets the value ofCfnStateMachineProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
Sets the value ofCfnStateMachineProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
role
Sets the value ofCfnStateMachineProps.getRole()- Parameters:
role- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnStateMachineProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
tracing
Sets the value ofCfnStateMachineProps.getTracing()- Parameters:
tracing- the value to be set.- Returns:
this
-
tracing
@Stability(Stable) public CfnStateMachineProps.Builder tracing(CfnStateMachine.TracingConfigurationProperty tracing) Sets the value ofCfnStateMachineProps.getTracing()- Parameters:
tracing- the value to be set.- Returns:
this
-
type
Sets the value ofCfnStateMachineProps.getType()- Parameters:
type- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachineProps>- Returns:
- a new instance of
CfnStateMachineProps - Throws:
NullPointerException- if any required attribute was not provided
-