Class DedicatedIpPoolProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.DedicatedIpPoolProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DedicatedIpPoolProps>
- Enclosing interface:
DedicatedIpPoolProps
@Stability(Stable)
public static final class DedicatedIpPoolProps.Builder
extends Object
implements software.amazon.jsii.Builder<DedicatedIpPoolProps>
A builder for
DedicatedIpPoolProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dedicatedIpPoolName
(String dedicatedIpPoolName) Sets the value ofDedicatedIpPoolProps.getDedicatedIpPoolName()
scalingMode
(ScalingMode scalingMode) Sets the value ofDedicatedIpPoolProps.getScalingMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dedicatedIpPoolName
@Stability(Stable) public DedicatedIpPoolProps.Builder dedicatedIpPoolName(String dedicatedIpPoolName) Sets the value ofDedicatedIpPoolProps.getDedicatedIpPoolName()
- Parameters:
dedicatedIpPoolName
- A name for the dedicated IP pool. The name must adhere to specific constraints: it can only include lowercase letters (a-z), numbers (0-9), underscores (_), and hyphens (-), and must not exceed 64 characters in length.- Returns:
this
-
scalingMode
Sets the value ofDedicatedIpPoolProps.getScalingMode()
- Parameters:
scalingMode
- The type of scailing mode to use for this IP pool. Updating ScalingMode doesn't require a replacement if you're updating its value fromSTANDARD
toMANAGED
. However, updating ScalingMode fromMANAGED
toSTANDARD
is not supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DedicatedIpPoolProps>
- Returns:
- a new instance of
DedicatedIpPoolProps
- Throws:
NullPointerException
- if any required attribute was not provided
-