@Stability(value=Stable) public static final class CfnEventBusPolicy.ConditionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEventBusPolicy.ConditionProperty>
CfnEventBusPolicy.ConditionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEventBusPolicy.ConditionProperty |
build()
Builds the configured instance.
|
CfnEventBusPolicy.ConditionProperty.Builder |
key(String key)
Sets the value of
CfnEventBusPolicy.ConditionProperty.getKey() |
CfnEventBusPolicy.ConditionProperty.Builder |
type(String type)
Sets the value of
CfnEventBusPolicy.ConditionProperty.getType() |
CfnEventBusPolicy.ConditionProperty.Builder |
value(String value)
Sets the value of
CfnEventBusPolicy.ConditionProperty.getValue() |
@Stability(value=Stable) public CfnEventBusPolicy.ConditionProperty.Builder key(String key)
CfnEventBusPolicy.ConditionProperty.getKey()key - Specifies the key for the condition.
Currently the only supported key is aws:PrincipalOrgID .this@Stability(value=Stable) public CfnEventBusPolicy.ConditionProperty.Builder type(String type)
CfnEventBusPolicy.ConditionProperty.getType()type - Specifies the type of condition.
Currently the only supported value is StringEquals .this@Stability(value=Stable) public CfnEventBusPolicy.ConditionProperty.Builder value(String value)
CfnEventBusPolicy.ConditionProperty.getValue()value - Specifies the value for the key.
Currently, this must be the ID of the organization.this@Stability(value=Stable) public CfnEventBusPolicy.ConditionProperty build()
build in interface software.amazon.jsii.Builder<CfnEventBusPolicy.ConditionProperty>CfnEventBusPolicy.ConditionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.