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.Builder
staticIpName
(String staticIpName) The name of the static IP.
-
Method Details
-
create
@Stability(Stable) public static CfnStaticIp.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStaticIp>
- Returns:
- a newly built instance of
CfnStaticIp
.
-