Class CfnPlan.ExecutionApprovalConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.ExecutionApprovalConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.ExecutionApprovalConfigurationProperty>
- Enclosing interface:
CfnPlan.ExecutionApprovalConfigurationProperty
@Stability(Stable)
public static final class CfnPlan.ExecutionApprovalConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.ExecutionApprovalConfigurationProperty>
A builder for
CfnPlan.ExecutionApprovalConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapprovalRole
(String approvalRole) Sets the value ofCfnPlan.ExecutionApprovalConfigurationProperty.getApprovalRole()
build()
Builds the configured instance.timeoutMinutes
(Number timeoutMinutes) Sets the value ofCfnPlan.ExecutionApprovalConfigurationProperty.getTimeoutMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
approvalRole
@Stability(Stable) public CfnPlan.ExecutionApprovalConfigurationProperty.Builder approvalRole(String approvalRole) Sets the value ofCfnPlan.ExecutionApprovalConfigurationProperty.getApprovalRole()
- Parameters:
approvalRole
- The IAM approval role for the configuration. This parameter is required.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnPlan.ExecutionApprovalConfigurationProperty.Builder timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnPlan.ExecutionApprovalConfigurationProperty.getTimeoutMinutes()
- Parameters:
timeoutMinutes
- The timeout value specified for the configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlan.ExecutionApprovalConfigurationProperty>
- Returns:
- a new instance of
CfnPlan.ExecutionApprovalConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-