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-AWS::Serverless::StateMachine.Definition.- Returns:
this
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachineProps.Builder definitionSubstitutions(IResolvable definitionSubstitutions) Sets the value ofCfnStateMachineProps.getDefinitionSubstitutions()- Parameters:
definitionSubstitutions-AWS::Serverless::StateMachine.DefinitionSubstitutions.- Returns:
this
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachineProps.Builder definitionSubstitutions(Map<String, String> definitionSubstitutions) Sets the value ofCfnStateMachineProps.getDefinitionSubstitutions()- Parameters:
definitionSubstitutions-AWS::Serverless::StateMachine.DefinitionSubstitutions.- Returns:
this
-
definitionUri
Sets the value ofCfnStateMachineProps.getDefinitionUri()- Parameters:
definitionUri-AWS::Serverless::StateMachine.DefinitionUri.- Returns:
this
-
definitionUri
Sets the value ofCfnStateMachineProps.getDefinitionUri()- Parameters:
definitionUri-AWS::Serverless::StateMachine.DefinitionUri.- Returns:
this
-
definitionUri
@Stability(Stable) public CfnStateMachineProps.Builder definitionUri(CfnStateMachine.S3LocationProperty definitionUri) Sets the value ofCfnStateMachineProps.getDefinitionUri()- Parameters:
definitionUri-AWS::Serverless::StateMachine.DefinitionUri.- Returns:
this
-
events
Sets the value ofCfnStateMachineProps.getEvents()- Parameters:
events-AWS::Serverless::StateMachine.Events.- Returns:
this
-
events
Sets the value ofCfnStateMachineProps.getEvents()- Parameters:
events-AWS::Serverless::StateMachine.Events.- Returns:
this
-
logging
Sets the value ofCfnStateMachineProps.getLogging()- Parameters:
logging-AWS::Serverless::StateMachine.Logging.- Returns:
this
-
logging
@Stability(Stable) public CfnStateMachineProps.Builder logging(CfnStateMachine.LoggingConfigurationProperty logging) Sets the value ofCfnStateMachineProps.getLogging()- Parameters:
logging-AWS::Serverless::StateMachine.Logging.- Returns:
this
-
name
Sets the value ofCfnStateMachineProps.getName()- Parameters:
name-AWS::Serverless::StateMachine.Name.- Returns:
this
-
permissionsBoundaries
@Stability(Stable) public CfnStateMachineProps.Builder permissionsBoundaries(String permissionsBoundaries) Sets the value ofCfnStateMachineProps.getPermissionsBoundaries()- Parameters:
permissionsBoundaries-AWS::Serverless::StateMachine.PermissionsBoundaries.- Returns:
this
-
policies
Sets the value ofCfnStateMachineProps.getPolicies()- Parameters:
policies-AWS::Serverless::StateMachine.Policies.- Returns:
this
-
policies
Sets the value ofCfnStateMachineProps.getPolicies()- Parameters:
policies-AWS::Serverless::StateMachine.Policies.- Returns:
this
-
policies
@Stability(Stable) public CfnStateMachineProps.Builder policies(CfnStateMachine.IAMPolicyDocumentProperty policies) Sets the value ofCfnStateMachineProps.getPolicies()- Parameters:
policies-AWS::Serverless::StateMachine.Policies.- Returns:
this
-
policies
Sets the value ofCfnStateMachineProps.getPolicies()- Parameters:
policies-AWS::Serverless::StateMachine.Policies.- Returns:
this
-
role
Sets the value ofCfnStateMachineProps.getRole()- Parameters:
role-AWS::Serverless::StateMachine.Role.- Returns:
this
-
tags
Sets the value ofCfnStateMachineProps.getTags()- Parameters:
tags-AWS::Serverless::StateMachine.Tags.- Returns:
this
-
tracing
Sets the value ofCfnStateMachineProps.getTracing()- Parameters:
tracing-AWS::Serverless::StateMachine.Tracing.- Returns:
this
-
tracing
@Stability(Stable) public CfnStateMachineProps.Builder tracing(CfnStateMachine.TracingConfigurationProperty tracing) Sets the value ofCfnStateMachineProps.getTracing()- Parameters:
tracing-AWS::Serverless::StateMachine.Tracing.- Returns:
this
-
type
Sets the value ofCfnStateMachineProps.getType()- Parameters:
type-AWS::Serverless::StateMachine.Type.- 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
-