Class CfnStaticIp.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnStaticIp.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStaticIp>
- Enclosing class:
- CfnStaticIp
@Stability(Stable)
public static final class CfnStaticIp.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStaticIp>
A fluent builder for
CfnStaticIp.-
Method Summary
Modifier and TypeMethodDescriptionattachedTo(String attachedTo) The instance that the static IP is attached to.build()static CfnStaticIp.BuilderstaticIpName(String staticIpName) The name of the static IP.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnStaticIp.Builder.
-
staticIpName
The name of the static IP.- Parameters:
staticIpName- The name of the static IP. This parameter is required.- Returns:
this
-
attachedTo
The instance that the static IP is attached to.- Parameters:
attachedTo- The instance that the static IP is attached to. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStaticIp>- Returns:
- a newly built instance of
CfnStaticIp.
-