Class CfnElasticLoadBalancerAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnElasticLoadBalancerAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnElasticLoadBalancerAttachment>
- Enclosing class:
- CfnElasticLoadBalancerAttachment
@Stability(Stable)
public static final class CfnElasticLoadBalancerAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnElasticLoadBalancerAttachment>
A fluent builder for
CfnElasticLoadBalancerAttachment.-
Method Summary
Modifier and TypeMethodDescriptionbuild()elasticLoadBalancerName(String elasticLoadBalancerName) The Elastic Load Balancing instance name.The AWS OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.
-
Method Details
-
create
@Stability(Stable) public static CfnElasticLoadBalancerAttachment.Builder create(Construct scope, String id) - Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnElasticLoadBalancerAttachment.Builder.
-
elasticLoadBalancerName
@Stability(Stable) public CfnElasticLoadBalancerAttachment.Builder elasticLoadBalancerName(String elasticLoadBalancerName) The Elastic Load Balancing instance name.- Parameters:
elasticLoadBalancerName- The Elastic Load Balancing instance name. This parameter is required.- Returns:
this
-
layerId
The AWS OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.- Parameters:
layerId- The AWS OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnElasticLoadBalancerAttachment>- Returns:
- a newly built instance of
CfnElasticLoadBalancerAttachment.
-