Package software.amazon.awscdk.cxapi
Class EnvironmentPlaceholderValues.Builder
java.lang.Object
software.amazon.awscdk.cxapi.EnvironmentPlaceholderValues.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EnvironmentPlaceholderValues>
- Enclosing interface:
EnvironmentPlaceholderValues
@Stability(Stable)
public static final class EnvironmentPlaceholderValues.Builder
extends Object
implements software.amazon.jsii.Builder<EnvironmentPlaceholderValues>
A builder for
EnvironmentPlaceholderValues-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofEnvironmentPlaceholderValues.getAccountId()build()Builds the configured instance.Sets the value ofEnvironmentPlaceholderValues.getPartition()Sets the value ofEnvironmentPlaceholderValues.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
Sets the value ofEnvironmentPlaceholderValues.getAccountId()- Parameters:
accountId- Return the account. This parameter is required.- Returns:
this
-
partition
Sets the value ofEnvironmentPlaceholderValues.getPartition()- Parameters:
partition- Return the partition. This parameter is required.- Returns:
this
-
region
Sets the value ofEnvironmentPlaceholderValues.getRegion()- Parameters:
region- Return the region. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EnvironmentPlaceholderValues>- Returns:
- a new instance of
EnvironmentPlaceholderValues - Throws:
NullPointerException- if any required attribute was not provided
-