Class ApplicationListenerCertificate.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListenerCertificate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApplicationListenerCertificate>
- Enclosing class:
ApplicationListenerCertificate
@Stability(Stable)
public static final class ApplicationListenerCertificate.Builder
extends Object
implements software.amazon.jsii.Builder<ApplicationListenerCertificate>
A fluent builder for
ApplicationListenerCertificate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
certificates
(List<? extends IListenerCertificate> certificates) Certificates to attach.listener
(IApplicationListener listener) The listener to attach the rule to.
-
Method Details
-
create
@Stability(Stable) public static ApplicationListenerCertificate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
ApplicationListenerCertificate.Builder
.
-
listener
@Stability(Stable) public ApplicationListenerCertificate.Builder listener(IApplicationListener listener) The listener to attach the rule to.- Parameters:
listener
- The listener to attach the rule to. This parameter is required.- Returns:
this
-
certificates
@Stability(Stable) public ApplicationListenerCertificate.Builder certificates(List<? extends IListenerCertificate> certificates) Certificates to attach.Duplicates are not allowed.
Default: - One of 'certificates' and 'certificateArns' is required.
- Parameters:
certificates
- Certificates to attach. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ApplicationListenerCertificate>
- Returns:
- a newly built instance of
ApplicationListenerCertificate
.
-