Class PoolReference.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.PoolReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PoolReference>
- Enclosing interface:
PoolReference
@Stability(Stable)
public static final class PoolReference.Builder
extends Object
implements software.amazon.jsii.Builder<PoolReference>
A builder for
PoolReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofPoolReference.getPoolArn()
Sets the value ofPoolReference.getPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
poolArn
Sets the value ofPoolReference.getPoolArn()
- Parameters:
poolArn
- The ARN of the Pool resource. This parameter is required.- Returns:
this
-
poolId
Sets the value ofPoolReference.getPoolId()
- Parameters:
poolId
- The PoolId of the Pool resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PoolReference>
- Returns:
- a new instance of
PoolReference
- Throws:
NullPointerException
- if any required attribute was not provided
-