Class CfnServerPropsMixin.WorkflowDetailProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.transfer.CfnServerPropsMixin.WorkflowDetailProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerPropsMixin.WorkflowDetailProperty>
- Enclosing interface:
CfnServerPropsMixin.WorkflowDetailProperty
@Stability(Stable)
public static final class CfnServerPropsMixin.WorkflowDetailProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerPropsMixin.WorkflowDetailProperty>
A builder for
CfnServerPropsMixin.WorkflowDetailProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executionRole(String executionRole) Sets the value ofCfnServerPropsMixin.WorkflowDetailProperty.getExecutionRole()workflowId(String workflowId) Sets the value ofCfnServerPropsMixin.WorkflowDetailProperty.getWorkflowId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionRole
@Stability(Stable) public CfnServerPropsMixin.WorkflowDetailProperty.Builder executionRole(String executionRole) Sets the value ofCfnServerPropsMixin.WorkflowDetailProperty.getExecutionRole()- Parameters:
executionRole- Includes the necessary permissions for S3, EFS, and Lambda operations that Transfer can assume, so that all workflow steps can operate on the required resources.- Returns:
this
-
workflowId
@Stability(Stable) public CfnServerPropsMixin.WorkflowDetailProperty.Builder workflowId(String workflowId) Sets the value ofCfnServerPropsMixin.WorkflowDetailProperty.getWorkflowId()- Parameters:
workflowId- A unique identifier for the workflow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServerPropsMixin.WorkflowDetailProperty>- Returns:
- a new instance of
CfnServerPropsMixin.WorkflowDetailProperty - Throws:
NullPointerException- if any required attribute was not provided
-