Class CfnStateMachineMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnStateMachineMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachineMixinProps>
- Enclosing interface:
CfnStateMachineMixinProps
@Stability(Stable)
public static final class CfnStateMachineMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachineMixinProps>
A builder for
CfnStateMachineMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.definition(Object definition) Sets the value ofCfnStateMachineMixinProps.getDefinition()definitionSubstitutions(Map<String, String> definitionSubstitutions) Sets the value ofCfnStateMachineMixinProps.getDefinitionSubstitutions()definitionSubstitutions(IResolvable definitionSubstitutions) Sets the value ofCfnStateMachineMixinProps.getDefinitionSubstitutions()definitionUri(String definitionUri) Sets the value ofCfnStateMachineMixinProps.getDefinitionUri()definitionUri(CfnStateMachinePropsMixin.S3LocationProperty definitionUri) Sets the value ofCfnStateMachineMixinProps.getDefinitionUri()definitionUri(IResolvable definitionUri) Sets the value ofCfnStateMachineMixinProps.getDefinitionUri()Sets the value ofCfnStateMachineMixinProps.getEvents()events(IResolvable events) Sets the value ofCfnStateMachineMixinProps.getEvents()Sets the value ofCfnStateMachineMixinProps.getLogging()logging(IResolvable logging) Sets the value ofCfnStateMachineMixinProps.getLogging()Sets the value ofCfnStateMachineMixinProps.getName()permissionsBoundaries(String permissionsBoundaries) Sets the value ofCfnStateMachineMixinProps.getPermissionsBoundaries()Sets the value ofCfnStateMachineMixinProps.getPolicies()Sets the value ofCfnStateMachineMixinProps.getPolicies()Sets the value ofCfnStateMachineMixinProps.getPolicies()policies(IResolvable policies) Sets the value ofCfnStateMachineMixinProps.getPolicies()Sets the value ofCfnStateMachineMixinProps.getRole()Sets the value ofCfnStateMachineMixinProps.getTags()Sets the value ofCfnStateMachineMixinProps.getTracing()tracing(IResolvable tracing) Sets the value ofCfnStateMachineMixinProps.getTracing()Sets the value ofCfnStateMachineMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definition
Sets the value ofCfnStateMachineMixinProps.getDefinition()- Parameters:
definition- the value to be set.- Returns:
this
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionSubstitutions(Map<String, String> definitionSubstitutions) Sets the value ofCfnStateMachineMixinProps.getDefinitionSubstitutions()- Parameters:
definitionSubstitutions- the value to be set.- Returns:
this
-
definitionSubstitutions
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionSubstitutions(IResolvable definitionSubstitutions) Sets the value ofCfnStateMachineMixinProps.getDefinitionSubstitutions()- Parameters:
definitionSubstitutions- the value to be set.- Returns:
this
-
definitionUri
Sets the value ofCfnStateMachineMixinProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
definitionUri
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionUri(IResolvable definitionUri) Sets the value ofCfnStateMachineMixinProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
definitionUri
@Stability(Stable) public CfnStateMachineMixinProps.Builder definitionUri(CfnStateMachinePropsMixin.S3LocationProperty definitionUri) Sets the value ofCfnStateMachineMixinProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
events
Sets the value ofCfnStateMachineMixinProps.getEvents()- Parameters:
events- the value to be set.- Returns:
this
-
events
@Stability(Stable) public CfnStateMachineMixinProps.Builder events(Map<String, ? extends Object> events) Sets the value ofCfnStateMachineMixinProps.getEvents()- Parameters:
events- the value to be set.- Returns:
this
-
logging
Sets the value ofCfnStateMachineMixinProps.getLogging()- Parameters:
logging- the value to be set.- Returns:
this
-
logging
@Stability(Stable) public CfnStateMachineMixinProps.Builder logging(CfnStateMachinePropsMixin.LoggingConfigurationProperty logging) Sets the value ofCfnStateMachineMixinProps.getLogging()- Parameters:
logging- the value to be set.- Returns:
this
-
name
Sets the value ofCfnStateMachineMixinProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
permissionsBoundaries
@Stability(Stable) public CfnStateMachineMixinProps.Builder permissionsBoundaries(String permissionsBoundaries) Sets the value ofCfnStateMachineMixinProps.getPermissionsBoundaries()- Parameters:
permissionsBoundaries- the value to be set.- Returns:
this
-
policies
Sets the value ofCfnStateMachineMixinProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
Sets the value ofCfnStateMachineMixinProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
@Stability(Stable) public CfnStateMachineMixinProps.Builder policies(CfnStateMachinePropsMixin.IAMPolicyDocumentProperty policies) Sets the value ofCfnStateMachineMixinProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
@Stability(Stable) public CfnStateMachineMixinProps.Builder policies(List<? extends Object> policies) Sets the value ofCfnStateMachineMixinProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
role
Sets the value ofCfnStateMachineMixinProps.getRole()- Parameters:
role- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnStateMachineMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
tracing
Sets the value ofCfnStateMachineMixinProps.getTracing()- Parameters:
tracing- the value to be set.- Returns:
this
-
tracing
@Stability(Stable) public CfnStateMachineMixinProps.Builder tracing(CfnStateMachinePropsMixin.TracingConfigurationProperty tracing) Sets the value ofCfnStateMachineMixinProps.getTracing()- Parameters:
tracing- the value to be set.- Returns:
this
-
type
Sets the value ofCfnStateMachineMixinProps.getType()- Parameters:
type- the value to be set.- 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
-