Class CfnApprovalTeamMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mpa.CfnApprovalTeamMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovalTeamMixinProps>
- Enclosing interface:
CfnApprovalTeamMixinProps
@Stability(Stable)
public static final class CfnApprovalTeamMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovalTeamMixinProps>
A builder for
CfnApprovalTeamMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapprovalStrategy(CfnApprovalTeamPropsMixin.ApprovalStrategyProperty approvalStrategy) Sets the value ofCfnApprovalTeamMixinProps.getApprovalStrategy()approvalStrategy(IResolvable approvalStrategy) Sets the value ofCfnApprovalTeamMixinProps.getApprovalStrategy()Sets the value ofCfnApprovalTeamMixinProps.getApprovers()approvers(IResolvable approvers) Sets the value ofCfnApprovalTeamMixinProps.getApprovers()build()Builds the configured instance.description(String description) Sets the value ofCfnApprovalTeamMixinProps.getDescription()Sets the value ofCfnApprovalTeamMixinProps.getName()Sets the value ofCfnApprovalTeamMixinProps.getPolicies()policies(IResolvable policies) Sets the value ofCfnApprovalTeamMixinProps.getPolicies()Sets the value ofCfnApprovalTeamMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
approvalStrategy
@Stability(Stable) public CfnApprovalTeamMixinProps.Builder approvalStrategy(IResolvable approvalStrategy) Sets the value ofCfnApprovalTeamMixinProps.getApprovalStrategy()- Parameters:
approvalStrategy- Contains details for how an approval team grants approval.- Returns:
this
-
approvalStrategy
@Stability(Stable) public CfnApprovalTeamMixinProps.Builder approvalStrategy(CfnApprovalTeamPropsMixin.ApprovalStrategyProperty approvalStrategy) Sets the value ofCfnApprovalTeamMixinProps.getApprovalStrategy()- Parameters:
approvalStrategy- Contains details for how an approval team grants approval.- Returns:
this
-
approvers
Sets the value ofCfnApprovalTeamMixinProps.getApprovers()- Parameters:
approvers- Contains details for an approver.- Returns:
this
-
approvers
@Stability(Stable) public CfnApprovalTeamMixinProps.Builder approvers(List<? extends Object> approvers) Sets the value ofCfnApprovalTeamMixinProps.getApprovers()- Parameters:
approvers- Contains details for an approver.- Returns:
this
-
description
Sets the value ofCfnApprovalTeamMixinProps.getDescription()- Parameters:
description- Description for the team.- Returns:
this
-
name
Sets the value ofCfnApprovalTeamMixinProps.getName()- Parameters:
name- Name of the team.- Returns:
this
-
policies
Sets the value ofCfnApprovalTeamMixinProps.getPolicies()- Parameters:
policies- Contains details for a policy. Policies define what operations a team that define the permissions for team resources.- Returns:
this
-
policies
@Stability(Stable) public CfnApprovalTeamMixinProps.Builder policies(List<? extends Object> policies) Sets the value ofCfnApprovalTeamMixinProps.getPolicies()- Parameters:
policies- Contains details for a policy. Policies define what operations a team that define the permissions for team resources.- Returns:
this
-
tags
Sets the value ofCfnApprovalTeamMixinProps.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<CfnApprovalTeamMixinProps>- Returns:
- a new instance of
CfnApprovalTeamMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-