@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateListenerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateListenerRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateListenerRequest |
clone() |
boolean |
equals(Object obj) |
List<Certificate> |
getCertificates()
[HTTPS listeners] The default SSL server certificate.
|
List<Action> |
getDefaultActions()
The actions for the default rule.
|
String |
getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
|
Integer |
getPort()
The port on which the load balancer is listening.
|
String |
getProtocol()
The protocol for connections from clients to the load balancer.
|
String |
getSslPolicy()
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported.
|
int |
hashCode() |
void |
setCertificates(Collection<Certificate> certificates)
[HTTPS listeners] The default SSL server certificate.
|
void |
setDefaultActions(Collection<Action> defaultActions)
The actions for the default rule.
|
void |
setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
void |
setPort(Integer port)
The port on which the load balancer is listening.
|
void |
setProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
void |
setProtocol(String protocol)
The protocol for connections from clients to the load balancer.
|
void |
setSslPolicy(String sslPolicy)
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateListenerRequest |
withCertificates(Certificate... certificates)
[HTTPS listeners] The default SSL server certificate.
|
CreateListenerRequest |
withCertificates(Collection<Certificate> certificates)
[HTTPS listeners] The default SSL server certificate.
|
CreateListenerRequest |
withDefaultActions(Action... defaultActions)
The actions for the default rule.
|
CreateListenerRequest |
withDefaultActions(Collection<Action> defaultActions)
The actions for the default rule.
|
CreateListenerRequest |
withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
CreateListenerRequest |
withPort(Integer port)
The port on which the load balancer is listening.
|
CreateListenerRequest |
withProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest |
withProtocol(String protocol)
The protocol for connections from clients to the load balancer.
|
CreateListenerRequest |
withSslPolicy(String sslPolicy)
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.public String getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
public CreateListenerRequest withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.public void setProtocol(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 protocol is TCP.
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 protocol is TCP.ProtocolEnumpublic String getProtocol()
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 protocol is TCP.
ProtocolEnumpublic CreateListenerRequest withProtocol(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 protocol is TCP.
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 protocol is TCP.ProtocolEnumpublic void setProtocol(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 protocol is TCP.
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 protocol is TCP.ProtocolEnumpublic CreateListenerRequest withProtocol(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 protocol is TCP.
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 protocol is TCP.ProtocolEnumpublic void setPort(Integer port)
The port on which the load balancer is listening.
port - The port on which the load balancer is listening.public Integer getPort()
The port on which the load balancer is listening.
public CreateListenerRequest withPort(Integer port)
The port on which the load balancer is listening.
port - The port on which the load balancer is listening.public void setSslPolicy(String sslPolicy)
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
sslPolicy - [HTTPS listeners] The security policy that defines which ciphers and protocols are supported. The default
is the current predefined security policy.public String getSslPolicy()
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
public CreateListenerRequest withSslPolicy(String sslPolicy)
[HTTPS listeners] The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
sslPolicy - [HTTPS listeners] The security policy that defines which ciphers and protocols are supported. The default
is the current predefined security policy.public List<Certificate> getCertificates()
[HTTPS listeners] The default SSL server certificate. You must provide exactly one certificate. To create a certificate list, use AddListenerCertificates.
public void setCertificates(Collection<Certificate> certificates)
[HTTPS listeners] The default SSL server certificate. You must provide exactly one certificate. To create a certificate list, use AddListenerCertificates.
certificates - [HTTPS listeners] The default SSL server certificate. You must provide exactly one certificate. To create
a certificate list, use AddListenerCertificates.public CreateListenerRequest withCertificates(Certificate... certificates)
[HTTPS listeners] The default SSL server certificate. You must provide exactly one certificate. To create a certificate list, use AddListenerCertificates.
NOTE: This method appends the values to the existing list (if any). Use
setCertificates(java.util.Collection) or withCertificates(java.util.Collection) if you want to
override the existing values.
certificates - [HTTPS listeners] The default SSL server certificate. You must provide exactly one certificate. To create
a certificate list, use AddListenerCertificates.public CreateListenerRequest withCertificates(Collection<Certificate> certificates)
[HTTPS listeners] The default SSL server certificate. You must provide exactly one certificate. To create a certificate list, use AddListenerCertificates.
certificates - [HTTPS listeners] The default SSL server certificate. You must provide exactly one certificate. To create
a certificate list, use AddListenerCertificates.public List<Action> getDefaultActions()
The actions for the default rule. The rule must include one forward action.
If the action type is forward, you can specify a single target group. The protocol of the target
group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
If the action type is authenticate-oidc, you can use an identity provider that is OpenID Connect
(OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito, you can use Amazon Cognito to authenticate users as they
access your application.
If the action type is forward, you can specify a single target group. The protocol of the
target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
If the action type is authenticate-oidc, you can use an identity provider that is OpenID
Connect (OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito, you can use Amazon Cognito to authenticate users
as they access your application.
public void setDefaultActions(Collection<Action> defaultActions)
The actions for the default rule. The rule must include one forward action.
If the action type is forward, you can specify a single target group. The protocol of the target
group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
If the action type is authenticate-oidc, you can use an identity provider that is OpenID Connect
(OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito, you can use Amazon Cognito to authenticate users as they
access your application.
defaultActions - The actions for the default rule. The rule must include one forward action.
If the action type is forward, you can specify a single target group. The protocol of the
target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
If the action type is authenticate-oidc, you can use an identity provider that is OpenID
Connect (OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito, you can use Amazon Cognito to authenticate users
as they access your application.
public CreateListenerRequest withDefaultActions(Action... defaultActions)
The actions for the default rule. The rule must include one forward action.
If the action type is forward, you can specify a single target group. The protocol of the target
group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
If the action type is authenticate-oidc, you can use an identity provider that is OpenID Connect
(OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito, you can use Amazon Cognito to authenticate users as they
access your application.
NOTE: This method appends the values to the existing list (if any). Use
setDefaultActions(java.util.Collection) or withDefaultActions(java.util.Collection) if you want
to override the existing values.
defaultActions - The actions for the default rule. The rule must include one forward action.
If the action type is forward, you can specify a single target group. The protocol of the
target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
If the action type is authenticate-oidc, you can use an identity provider that is OpenID
Connect (OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito, you can use Amazon Cognito to authenticate users
as they access your application.
public CreateListenerRequest withDefaultActions(Collection<Action> defaultActions)
The actions for the default rule. The rule must include one forward action.
If the action type is forward, you can specify a single target group. The protocol of the target
group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
If the action type is authenticate-oidc, you can use an identity provider that is OpenID Connect
(OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito, you can use Amazon Cognito to authenticate users as they
access your application.
defaultActions - The actions for the default rule. The rule must include one forward action.
If the action type is forward, you can specify a single target group. The protocol of the
target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
If the action type is authenticate-oidc, you can use an identity provider that is OpenID
Connect (OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito, you can use Amazon Cognito to authenticate users
as they access your application.
public String toString()
toString in class ObjectObject.toString()public CreateListenerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.