Class CfnEipEndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEipEndpointProps>
- Enclosing interface:
CfnEipEndpointProps
@Stability(Stable)
public static final class CfnEipEndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEipEndpointProps>
A builder for
CfnEipEndpointProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEipEndpointProps.getWeight()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
weight
Sets the value ofCfnEipEndpointProps.getWeight()
- Parameters:
weight
- Endpoint weight across all endpoints in the group. Must be a value between 0 and 255.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEipEndpointProps>
- Returns:
- a new instance of
CfnEipEndpointProps
- Throws:
NullPointerException
- if any required attribute was not provided
-