@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyListenerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ModifyListenerRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifyListenerRequest |
clone() |
boolean |
equals(Object obj) |
List<Certificate> |
getCertificates()
[HTTPS and TLS listeners] The default certificate for the listener.
|
List<Action> |
getDefaultActions()
The actions for the default rule.
|
String |
getListenerArn()
The Amazon Resource Name (ARN) of the listener.
|
Integer |
getPort()
The port for connections from clients to the load balancer.
|
String |
getProtocol()
The protocol for connections from clients to the load balancer.
|
String |
getSslPolicy()
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
|
int |
hashCode() |
void |
setCertificates(Collection<Certificate> certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
void |
setDefaultActions(Collection<Action> defaultActions)
The actions for the default rule.
|
void |
setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
void |
setPort(Integer port)
The port for connections from clients to the load balancer.
|
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 and TLS listeners] The security policy that defines which protocols and ciphers are supported.
|
String |
toString()
Returns a string representation of this object.
|
ModifyListenerRequest |
withCertificates(Certificate... certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
ModifyListenerRequest |
withCertificates(Collection<Certificate> certificates)
[HTTPS and TLS listeners] The default certificate for the listener.
|
ModifyListenerRequest |
withDefaultActions(Action... defaultActions)
The actions for the default rule.
|
ModifyListenerRequest |
withDefaultActions(Collection<Action> defaultActions)
The actions for the default rule.
|
ModifyListenerRequest |
withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
ModifyListenerRequest |
withPort(Integer port)
The port for connections from clients to the load balancer.
|
ModifyListenerRequest |
withProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
ModifyListenerRequest |
withProtocol(String protocol)
The protocol for connections from clients to the load balancer.
|
ModifyListenerRequest |
withSslPolicy(String sslPolicy)
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers 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 setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn - The Amazon Resource Name (ARN) of the listener.public String getListenerArn()
The Amazon Resource Name (ARN) of the listener.
public ModifyListenerRequest withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn - The Amazon Resource Name (ARN) of the listener.public void setPort(Integer port)
The port for connections from clients to the load balancer.
port - The port for connections from clients to the load balancer.public Integer getPort()
The port for connections from clients to the load balancer.
public ModifyListenerRequest withPort(Integer port)
The port for connections from clients to the load balancer.
port - The port for connections from clients to the load balancer.public void setProtocol(String protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.
protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support the
HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.ProtocolEnumpublic String getProtocol()
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.
ProtocolEnumpublic ModifyListenerRequest withProtocol(String protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.
protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support the
HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.ProtocolEnumpublic void setProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.
protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support the
HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.ProtocolEnumpublic ModifyListenerRequest withProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.
protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support the
HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols.ProtocolEnumpublic void setSslPolicy(String sslPolicy)
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide.
sslPolicy - [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For
more information, see Security Policies in the Application Load Balancers Guide.public String getSslPolicy()
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide.
public ModifyListenerRequest withSslPolicy(String sslPolicy)
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide.
sslPolicy - [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For
more information, see Security Policies in the Application Load Balancers Guide.public List<Certificate> getCertificates()
[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, use AddListenerCertificates.
CertificateArn to the certificate ARN but do not set IsDefault
.
To create a certificate list, use AddListenerCertificates.
public void setCertificates(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, 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, use AddListenerCertificates.
public ModifyListenerRequest withCertificates(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, 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 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, use AddListenerCertificates.
public ModifyListenerRequest withCertificates(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, 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, use AddListenerCertificates.
public List<Action> getDefaultActions()
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 one or more target groups. 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.
If the action type is forward, you specify one or more target groups. 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.
public void setDefaultActions(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 one or more target groups. 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 one or more target groups. 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.
public ModifyListenerRequest withDefaultActions(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 one or more target groups. 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.
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 or one or more fixed-response
actions.
If the action type is forward, you specify one or more target groups. 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.
public ModifyListenerRequest withDefaultActions(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 one or more target groups. 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 one or more target groups. 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.
public String toString()
toString in class ObjectObject.toString()public ModifyListenerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.