Class StaticIpReference.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.StaticIpReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StaticIpReference>
- Enclosing interface:
StaticIpReference
@Stability(Stable)
public static final class StaticIpReference.Builder
extends Object
implements software.amazon.jsii.Builder<StaticIpReference>
A builder for
StaticIpReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.staticIpArn
(String staticIpArn) Sets the value ofStaticIpReference.getStaticIpArn()
staticIpName
(String staticIpName) Sets the value ofStaticIpReference.getStaticIpName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
staticIpArn
Sets the value ofStaticIpReference.getStaticIpArn()
- Parameters:
staticIpArn
- The ARN of the StaticIp resource. This parameter is required.- Returns:
this
-
staticIpName
Sets the value ofStaticIpReference.getStaticIpName()
- Parameters:
staticIpName
- The StaticIpName of the StaticIp resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<StaticIpReference>
- Returns:
- a new instance of
StaticIpReference
- Throws:
NullPointerException
- if any required attribute was not provided
-