Class CfnServer.WorkflowDetailProperty.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnServer.WorkflowDetailProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServer.WorkflowDetailProperty>
- Enclosing interface:
CfnServer.WorkflowDetailProperty
@Stability(Stable)
public static final class CfnServer.WorkflowDetailProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServer.WorkflowDetailProperty>
A builder for
CfnServer.WorkflowDetailProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.executionRole
(String executionRole) Sets the value ofCfnServer.WorkflowDetailProperty.getExecutionRole()
workflowId
(String workflowId) Sets the value ofCfnServer.WorkflowDetailProperty.getWorkflowId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionRole
@Stability(Stable) public CfnServer.WorkflowDetailProperty.Builder executionRole(String executionRole) Sets the value ofCfnServer.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. This parameter is required.- Returns:
this
-
workflowId
Sets the value ofCfnServer.WorkflowDetailProperty.getWorkflowId()
- Parameters:
workflowId
- A unique identifier for the workflow. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServer.WorkflowDetailProperty>
- Returns:
- a new instance of
CfnServer.WorkflowDetailProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-