Class CfnPermission.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnPermission.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermission.ConditionProperty>
- Enclosing interface:
CfnPermission.ConditionProperty
@Stability(Stable)
public static final class CfnPermission.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermission.ConditionProperty>
A builder for
CfnPermission.ConditionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.conditionKey
(String conditionKey) Sets the value ofCfnPermission.ConditionProperty.getConditionKey()
conditionOperator
(String conditionOperator) Sets the value ofCfnPermission.ConditionProperty.getConditionOperator()
conditionValues
(List<String> conditionValues) Sets the value ofCfnPermission.ConditionProperty.getConditionValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditionKey
Sets the value ofCfnPermission.ConditionProperty.getConditionKey()
- Parameters:
conditionKey
- the value to be set. This parameter is required.- Returns:
this
-
conditionOperator
@Stability(Stable) public CfnPermission.ConditionProperty.Builder conditionOperator(String conditionOperator) Sets the value ofCfnPermission.ConditionProperty.getConditionOperator()
- Parameters:
conditionOperator
- the value to be set. This parameter is required.- Returns:
this
-
conditionValues
@Stability(Stable) public CfnPermission.ConditionProperty.Builder conditionValues(List<String> conditionValues) Sets the value ofCfnPermission.ConditionProperty.getConditionValues()
- Parameters:
conditionValues
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPermission.ConditionProperty>
- Returns:
- a new instance of
CfnPermission.ConditionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-