Package org.cdk8s.plus23.k8s
Class EndpointHints.Builder
- java.lang.Object
-
- org.cdk8s.plus23.k8s.EndpointHints.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EndpointHints>
- Enclosing interface:
- EndpointHints
@Stability(Stable) public static final class EndpointHints.Builder extends Object implements software.amazon.jsii.Builder<EndpointHints>
A builder forEndpointHints
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointHints
build()
Builds the configured instance.EndpointHints.Builder
forZones(List<? extends ForZone> forZones)
Sets the value ofEndpointHints.getForZones()
-
-
-
Method Detail
-
forZones
@Stability(Stable) public EndpointHints.Builder forZones(List<? extends ForZone> forZones)
Sets the value ofEndpointHints.getForZones()
- Parameters:
forZones
- forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.- Returns:
this
-
build
@Stability(Stable) public EndpointHints build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EndpointHints>
- Returns:
- a new instance of
EndpointHints
- Throws:
NullPointerException
- if any required attribute was not provided
-
-