public static interface CreateListenerRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<CreateListenerRequest.Builder,CreateListenerRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateListenerRequest.Builder |
certificates(Certificate... certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
CreateListenerRequest.Builder |
certificates(Collection<Certificate> certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
CreateListenerRequest.Builder |
certificates(Consumer<Certificate.Builder>... certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
CreateListenerRequest.Builder |
defaultActions(Action... defaultActions)
The actions for the default rule.
|
CreateListenerRequest.Builder |
defaultActions(Collection<Action> defaultActions)
The actions for the default rule.
|
CreateListenerRequest.Builder |
defaultActions(Consumer<Action.Builder>... defaultActions)
The actions for the default rule.
|
CreateListenerRequest.Builder |
loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
CreateListenerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateListenerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateListenerRequest.Builder |
port(Integer port)
The port on which the load balancer is listening.
|
CreateListenerRequest.Builder |
protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest.Builder |
protocol(String protocol)
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest.Builder |
sslPolicy(String sslPolicy)
[HTTPS and TLS listeners] The security policy that defines which ciphers and protocols are supported.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateListenerRequest.Builder loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.CreateListenerRequest.Builder protocol(String protocol)
The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP.
protocol - The protocol for connections from clients to the load balancer. For Application Load Balancers, the
supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP,
TLS, UDP, and TCP_UDP.ProtocolEnum,
ProtocolEnumCreateListenerRequest.Builder protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP.
protocol - The protocol for connections from clients to the load balancer. For Application Load Balancers, the
supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP,
TLS, UDP, and TCP_UDP.ProtocolEnum,
ProtocolEnumCreateListenerRequest.Builder port(Integer port)
The port on which the load balancer is listening.
port - The port on which the load balancer is listening.CreateListenerRequest.Builder sslPolicy(String sslPolicy)
[HTTPS and TLS listeners] The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
sslPolicy - [HTTPS and TLS listeners] The security policy that defines which ciphers and protocols are supported.
The default is the current predefined security policy.CreateListenerRequest.Builder certificates(Collection<Certificate> certificates)
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate.
Set CertificateArn to the certificate ARN but do not set IsDefault.
To create a certificate list for the listener, use AddListenerCertificates.
certificates - [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one
certificate. Set CertificateArn to the certificate ARN but do not set
IsDefault.
To create a certificate list for the listener, use AddListenerCertificates.
CreateListenerRequest.Builder certificates(Certificate... certificates)
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate.
Set CertificateArn to the certificate ARN but do not set IsDefault.
To create a certificate list for the listener, use AddListenerCertificates.
certificates - [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one
certificate. Set CertificateArn to the certificate ARN but do not set
IsDefault.
To create a certificate list for the listener, use AddListenerCertificates.
CreateListenerRequest.Builder certificates(Consumer<Certificate.Builder>... certificates)
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate.
Set CertificateArn to the certificate ARN but do not set IsDefault.
To create a certificate list for the listener, use AddListenerCertificates.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #certificates(List) .certificates - a consumer that will call methods on List.Builder #certificates(List) CreateListenerRequest.Builder defaultActions(Collection<Action> defaultActions)
The actions for the default rule. The rule must include one forward action or one or more fixed-response actions.
If the action type is forward, you specify a target group. The protocol of the target group must
be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or
TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the
user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response, you drop specified client
requests and return a custom HTTP response.
defaultActions - The actions for the default rule. The rule must include one forward action or one or more
fixed-response actions.
If the action type is forward, you specify a target group. The protocol of the target
group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be
TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through
an identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] If the action type is authenticate-cognito, you authenticate users
through the user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response, you drop specified
client requests and return a custom HTTP response.
CreateListenerRequest.Builder defaultActions(Action... defaultActions)
The actions for the default rule. The rule must include one forward action or one or more fixed-response actions.
If the action type is forward, you specify a target group. The protocol of the target group must
be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or
TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the
user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response, you drop specified client
requests and return a custom HTTP response.
defaultActions - The actions for the default rule. The rule must include one forward action or one or more
fixed-response actions.
If the action type is forward, you specify a target group. The protocol of the target
group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be
TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through
an identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] If the action type is authenticate-cognito, you authenticate users
through the user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response, you drop specified
client requests and return a custom HTTP response.
CreateListenerRequest.Builder defaultActions(Consumer<Action.Builder>... defaultActions)
The actions for the default rule. The rule must include one forward action or one or more fixed-response actions.
If the action type is forward, you specify a target group. The protocol of the target group must
be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or
TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the
user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response, you drop specified client
requests and return a custom HTTP response.
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #defaultActions(List) .defaultActions - a consumer that will call methods on List.Builder #defaultActions(List) CreateListenerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateListenerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.