@Stability(value=Experimental) public static final class ResourceEnvironment.Builder extends Object implements software.amazon.jsii.Builder<ResourceEnvironment>
ResourceEnvironment| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResourceEnvironment.Builder |
account(String account)
Sets the value of
ResourceEnvironment.getAccount() |
ResourceEnvironment |
build()
Builds the configured instance.
|
ResourceEnvironment.Builder |
region(String region)
Sets the value of
ResourceEnvironment.getRegion() |
@Stability(value=Experimental) public ResourceEnvironment.Builder account(String account)
ResourceEnvironment.getAccount()account - The AWS account ID that this resource belongs to. This parameter is required.
Since this can be a Token
(for example, when the account is CloudFormation's AWS::AccountId intrinsic),
make sure to use Token.compareStrings()
instead of just comparing the values for equality.this@Stability(value=Experimental) public ResourceEnvironment.Builder region(String region)
ResourceEnvironment.getRegion()region - The AWS region that this resource belongs to. This parameter is required.
Since this can be a Token
(for example, when the region is CloudFormation's AWS::Region intrinsic),
make sure to use Token.compareStrings()
instead of just comparing the values for equality.this@Stability(value=Experimental) public ResourceEnvironment build()
build in interface software.amazon.jsii.Builder<ResourceEnvironment>ResourceEnvironmentNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.