Class CfnApprovalTeamProps.Builder
java.lang.Object
software.amazon.awscdk.services.mpa.CfnApprovalTeamProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovalTeamProps>
- Enclosing interface:
CfnApprovalTeamProps
@Stability(Stable)
public static final class CfnApprovalTeamProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovalTeamProps>
A builder for
CfnApprovalTeamProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapprovalStrategy(IResolvable approvalStrategy) Sets the value ofCfnApprovalTeamProps.getApprovalStrategy()approvalStrategy(CfnApprovalTeam.ApprovalStrategyProperty approvalStrategy) Sets the value ofCfnApprovalTeamProps.getApprovalStrategy()Sets the value ofCfnApprovalTeamProps.getApprovers()approvers(IResolvable approvers) Sets the value ofCfnApprovalTeamProps.getApprovers()build()Builds the configured instance.description(String description) Sets the value ofCfnApprovalTeamProps.getDescription()Sets the value ofCfnApprovalTeamProps.getName()Sets the value ofCfnApprovalTeamProps.getPolicies()policies(IResolvable policies) Sets the value ofCfnApprovalTeamProps.getPolicies()Sets the value ofCfnApprovalTeamProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
approvalStrategy
@Stability(Stable) public CfnApprovalTeamProps.Builder approvalStrategy(IResolvable approvalStrategy) Sets the value ofCfnApprovalTeamProps.getApprovalStrategy()- Parameters:
approvalStrategy- Contains details for how an approval team grants approval. This parameter is required.- Returns:
this
-
approvalStrategy
@Stability(Stable) public CfnApprovalTeamProps.Builder approvalStrategy(CfnApprovalTeam.ApprovalStrategyProperty approvalStrategy) Sets the value ofCfnApprovalTeamProps.getApprovalStrategy()- Parameters:
approvalStrategy- Contains details for how an approval team grants approval. This parameter is required.- Returns:
this
-
approvers
Sets the value ofCfnApprovalTeamProps.getApprovers()- Parameters:
approvers- Contains details for an approver. This parameter is required.- Returns:
this
-
approvers
Sets the value ofCfnApprovalTeamProps.getApprovers()- Parameters:
approvers- Contains details for an approver. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnApprovalTeamProps.getDescription()- Parameters:
description- Description for the team. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnApprovalTeamProps.getName()- Parameters:
name- Name of the team. This parameter is required.- Returns:
this
-
policies
Sets the value ofCfnApprovalTeamProps.getPolicies()- Parameters:
policies- Contains details for a policy. This parameter is required. Policies define what operations a team that define the permissions for team resources.- Returns:
this
-
policies
Sets the value ofCfnApprovalTeamProps.getPolicies()- Parameters:
policies- Contains details for a policy. This parameter is required. Policies define what operations a team that define the permissions for team resources.- Returns:
this
-
tags
Sets the value ofCfnApprovalTeamProps.getTags()- Parameters:
tags- Tags that you have added to the specified resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApprovalTeamProps>- Returns:
- a new instance of
CfnApprovalTeamProps - Throws:
NullPointerException- if any required attribute was not provided
-