Class CfnPolicy.IEMapProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fms.CfnPolicy.IEMapProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicy.IEMapProperty>
- Enclosing interface:
CfnPolicy.IEMapProperty
@Stability(Stable)
public static final class CfnPolicy.IEMapProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicy.IEMapProperty>
A builder for
CfnPolicy.IEMapProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPolicy.IEMapProperty.getAccount()
build()
Builds the configured instance.Sets the value ofCfnPolicy.IEMapProperty.getOrgunit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
account
Sets the value ofCfnPolicy.IEMapProperty.getAccount()
- Parameters:
account
- The account list for the map.- Returns:
this
-
orgunit
Sets the value ofCfnPolicy.IEMapProperty.getOrgunit()
- Parameters:
orgunit
- The organizational unit list for the map.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPolicy.IEMapProperty>
- Returns:
- a new instance of
CfnPolicy.IEMapProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-