@Stability(value=Stable) public static final class ResourceProps.Builder extends Object implements software.amazon.jsii.Builder<ResourceProps>
ResourceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResourceProps.Builder |
account(String account)
Sets the value of
ResourceProps.getAccount() |
ResourceProps |
build()
Builds the configured instance.
|
ResourceProps.Builder |
physicalName(String physicalName)
Sets the value of
ResourceProps.getPhysicalName() |
ResourceProps.Builder |
region(String region)
Sets the value of
ResourceProps.getRegion() |
@Stability(value=Stable) public ResourceProps.Builder account(String account)
ResourceProps.getAccount()account - The AWS account ID this resource belongs to.this@Stability(value=Stable) public ResourceProps.Builder physicalName(String physicalName)
ResourceProps.getPhysicalName()physicalName - The value passed in by users to the physical name prop of the resource.
undefined implies that a physical name will be allocated by
CloudFormation during deployment.PhysicalName.GENERATE_IF_NEEDED is a marker that indicates that a physical will only be generated
by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation.this@Stability(value=Stable) public ResourceProps.Builder region(String region)
ResourceProps.getRegion()region - The AWS region this resource belongs to.this@Stability(value=Stable) public ResourceProps build()
build in interface software.amazon.jsii.Builder<ResourceProps>ResourcePropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.