Class ServiceLoadBalancerAddressOptions.Builder
java.lang.Object
software.amazon.awscdk.services.eks.ServiceLoadBalancerAddressOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceLoadBalancerAddressOptions>
- Enclosing interface:
ServiceLoadBalancerAddressOptions
@Stability(Stable)
public static final class ServiceLoadBalancerAddressOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ServiceLoadBalancerAddressOptions>
A builder for
ServiceLoadBalancerAddressOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofServiceLoadBalancerAddressOptions.getNamespace()
Sets the value ofServiceLoadBalancerAddressOptions.getTimeout()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
namespace
Sets the value ofServiceLoadBalancerAddressOptions.getNamespace()
- Parameters:
namespace
- The namespace the service belongs to.- Returns:
this
-
timeout
Sets the value ofServiceLoadBalancerAddressOptions.getTimeout()
- Parameters:
timeout
- Timeout for waiting on the load balancer address.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ServiceLoadBalancerAddressOptions>
- Returns:
- a new instance of
ServiceLoadBalancerAddressOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-