Class CfnPolicy.EntityIdentifierProperty.Builder
java.lang.Object
software.amazon.awscdk.services.verifiedpermissions.CfnPolicy.EntityIdentifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicy.EntityIdentifierProperty>
- Enclosing interface:
CfnPolicy.EntityIdentifierProperty
@Stability(Stable)
public static final class CfnPolicy.EntityIdentifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicy.EntityIdentifierProperty>
A builder for
CfnPolicy.EntityIdentifierProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPolicy.EntityIdentifierProperty.getEntityId()
entityType
(String entityType) Sets the value ofCfnPolicy.EntityIdentifierProperty.getEntityType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityId
Sets the value ofCfnPolicy.EntityIdentifierProperty.getEntityId()
- Parameters:
entityId
- The identifier of an entity. This parameter is required."entityId":" *identifier* "
- Returns:
this
-
entityType
Sets the value ofCfnPolicy.EntityIdentifierProperty.getEntityType()
- Parameters:
entityType
- The type of an entity. This parameter is required. Example:"entityType":" *typeName* "
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPolicy.EntityIdentifierProperty>
- Returns:
- a new instance of
CfnPolicy.EntityIdentifierProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-