Class CfnElasticLoadBalancerAttachmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnElasticLoadBalancerAttachmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnElasticLoadBalancerAttachmentProps>
- Enclosing interface:
- CfnElasticLoadBalancerAttachmentProps
@Stability(Stable)
public static final class CfnElasticLoadBalancerAttachmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnElasticLoadBalancerAttachmentProps>
A builder for
CfnElasticLoadBalancerAttachmentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.elasticLoadBalancerName(String elasticLoadBalancerName) Sets the value ofCfnElasticLoadBalancerAttachmentProps.getElasticLoadBalancerName()Sets the value ofCfnElasticLoadBalancerAttachmentProps.getLayerId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
elasticLoadBalancerName
@Stability(Stable) public CfnElasticLoadBalancerAttachmentProps.Builder elasticLoadBalancerName(String elasticLoadBalancerName) Sets the value ofCfnElasticLoadBalancerAttachmentProps.getElasticLoadBalancerName()- Parameters:
elasticLoadBalancerName- The Elastic Load Balancing instance name. This parameter is required.- Returns:
this
-
layerId
Sets the value ofCfnElasticLoadBalancerAttachmentProps.getLayerId()- Parameters:
layerId- The AWS OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnElasticLoadBalancerAttachmentProps>- Returns:
- a new instance of
CfnElasticLoadBalancerAttachmentProps - Throws:
NullPointerException- if any required attribute was not provided
-