Class ListenerReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.globalaccelerator.ListenerReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ListenerReference>
- Enclosing interface:
ListenerReference
@Stability(Stable)
public static final class ListenerReference.Builder
extends Object
implements software.amazon.jsii.Builder<ListenerReference>
A builder for
ListenerReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.listenerArn(String listenerArn) Sets the value ofListenerReference.getListenerArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
listenerArn
Sets the value ofListenerReference.getListenerArn()- Parameters:
listenerArn- The ListenerArn of the Listener resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ListenerReference>- Returns:
- a new instance of
ListenerReference - Throws:
NullPointerException- if any required attribute was not provided
-