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(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnElasticLoadBalancerAttachment>
- Returns:
- a newly built instance of
CfnElasticLoadBalancerAttachment
.
-