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