Class ApplicationListenerCertificateProps.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListenerCertificateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApplicationListenerCertificateProps>
- Enclosing interface:
ApplicationListenerCertificateProps
@Stability(Stable)
public static final class ApplicationListenerCertificateProps.Builder
extends Object
implements software.amazon.jsii.Builder<ApplicationListenerCertificateProps>
A builder for
ApplicationListenerCertificateProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certificates
(List<? extends IListenerCertificate> certificates) Sets the value ofApplicationListenerCertificateProps.getCertificates()
listener
(IApplicationListener listener) Sets the value ofApplicationListenerCertificateProps.getListener()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
listener
@Stability(Stable) public ApplicationListenerCertificateProps.Builder listener(IApplicationListener listener) Sets the value ofApplicationListenerCertificateProps.getListener()
- Parameters:
listener
- The listener to attach the rule to. This parameter is required.- Returns:
this
-
certificates
@Stability(Stable) public ApplicationListenerCertificateProps.Builder certificates(List<? extends IListenerCertificate> certificates) Sets the value ofApplicationListenerCertificateProps.getCertificates()
- Parameters:
certificates
- Certificates to attach. Duplicates are not allowed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ApplicationListenerCertificateProps>
- Returns:
- a new instance of
ApplicationListenerCertificateProps
- Throws:
NullPointerException
- if any required attribute was not provided
-