Class CfnListenerCertificateProps.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerCertificateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnListenerCertificateProps>
- Enclosing interface:
CfnListenerCertificateProps
@Stability(Stable)
public static final class CfnListenerCertificateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnListenerCertificateProps>
A builder for
CfnListenerCertificateProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certificates
(List<? extends Object> certificates) Sets the value ofCfnListenerCertificateProps.getCertificates()
certificates
(IResolvable certificates) Sets the value ofCfnListenerCertificateProps.getCertificates()
listenerArn
(String listenerArn) Sets the value ofCfnListenerCertificateProps.getListenerArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificates
@Stability(Stable) public CfnListenerCertificateProps.Builder certificates(IResolvable certificates) Sets the value ofCfnListenerCertificateProps.getCertificates()
- Parameters:
certificates
- The certificate. This parameter is required. You can specify one certificate per resource.- Returns:
this
-
certificates
@Stability(Stable) public CfnListenerCertificateProps.Builder certificates(List<? extends Object> certificates) Sets the value ofCfnListenerCertificateProps.getCertificates()
- Parameters:
certificates
- The certificate. This parameter is required. You can specify one certificate per resource.- Returns:
this
-
listenerArn
Sets the value ofCfnListenerCertificateProps.getListenerArn()
- Parameters:
listenerArn
- The Amazon Resource Name (ARN) of the listener. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnListenerCertificateProps>
- Returns:
- a new instance of
CfnListenerCertificateProps
- Throws:
NullPointerException
- if any required attribute was not provided
-