Class ElasticLoadBalancerAttachmentReference.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.ElasticLoadBalancerAttachmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElasticLoadBalancerAttachmentReference>
- Enclosing interface:
ElasticLoadBalancerAttachmentReference
@Stability(Stable)
public static final class ElasticLoadBalancerAttachmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<ElasticLoadBalancerAttachmentReference>
A builder for
ElasticLoadBalancerAttachmentReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.elasticLoadBalancerAttachmentId
(String elasticLoadBalancerAttachmentId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
elasticLoadBalancerAttachmentId
@Stability(Stable) public ElasticLoadBalancerAttachmentReference.Builder elasticLoadBalancerAttachmentId(String elasticLoadBalancerAttachmentId) - Parameters:
elasticLoadBalancerAttachmentId
- The Id of the ElasticLoadBalancerAttachment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ElasticLoadBalancerAttachmentReference>
- Returns:
- a new instance of
ElasticLoadBalancerAttachmentReference
- Throws:
NullPointerException
- if any required attribute was not provided
-