Class CfnStaticIpMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnStaticIpMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStaticIpMixinProps>
- Enclosing interface:
CfnStaticIpMixinProps
@Stability(Stable)
public static final class CfnStaticIpMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStaticIpMixinProps>
A builder for
CfnStaticIpMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachedTo(String attachedTo) Sets the value ofCfnStaticIpMixinProps.getAttachedTo()build()Builds the configured instance.staticIpName(String staticIpName) Sets the value ofCfnStaticIpMixinProps.getStaticIpName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachedTo
Sets the value ofCfnStaticIpMixinProps.getAttachedTo()- Parameters:
attachedTo- The instance that the static IP is attached to.- Returns:
this
-
staticIpName
Sets the value ofCfnStaticIpMixinProps.getStaticIpName()- Parameters:
staticIpName- The name of the static IP.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStaticIpMixinProps>- Returns:
- a new instance of
CfnStaticIpMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-