Class CfnBudgetsAction.ScpActionDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.budgets.CfnBudgetsAction.ScpActionDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetsAction.ScpActionDefinitionProperty>
- Enclosing interface:
CfnBudgetsAction.ScpActionDefinitionProperty
@Stability(Stable)
public static final class CfnBudgetsAction.ScpActionDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetsAction.ScpActionDefinitionProperty>
A builder for
CfnBudgetsAction.ScpActionDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBudgetsAction.ScpActionDefinitionProperty.getPolicyId()Sets the value ofCfnBudgetsAction.ScpActionDefinitionProperty.getTargetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyId
@Stability(Stable) public CfnBudgetsAction.ScpActionDefinitionProperty.Builder policyId(String policyId) Sets the value ofCfnBudgetsAction.ScpActionDefinitionProperty.getPolicyId()- Parameters:
policyId- The policy ID attached. This parameter is required.- Returns:
this
-
targetIds
@Stability(Stable) public CfnBudgetsAction.ScpActionDefinitionProperty.Builder targetIds(List<String> targetIds) Sets the value ofCfnBudgetsAction.ScpActionDefinitionProperty.getTargetIds()- Parameters:
targetIds- A list of target IDs. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetsAction.ScpActionDefinitionProperty>- Returns:
- a new instance of
CfnBudgetsAction.ScpActionDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-