@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 listeners] The default SSL server certificate.
|
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 listeners] The security policy that defines which protocols and ciphers 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 |
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 listeners] The security policy that defines which protocols and ciphers are supported.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyListenerRequest |
withCertificates(Certificate... certificates)
[HTTPS listeners] The default SSL server certificate.
|
ModifyListenerRequest |
withCertificates(Collection<Certificate> certificates)
[HTTPS listeners] The default SSL server certificate.
|
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 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 HTTP and HTTPS and Network Load Balancers support TCP.
protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP
and HTTPS and Network Load Balancers support TCP.ProtocolEnumpublic String getProtocol()
The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.
ProtocolEnumpublic ModifyListenerRequest withProtocol(String protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.
protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP
and HTTPS and Network Load Balancers support TCP.ProtocolEnumpublic void setProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.
protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP
and HTTPS and Network Load Balancers support TCP.ProtocolEnumpublic ModifyListenerRequest withProtocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.
protocol - The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP
and HTTPS and Network Load Balancers support TCP.ProtocolEnumpublic void setSslPolicy(String sslPolicy)
[HTTPS 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 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 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 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 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 listeners] The default SSL server certificate. You must provide exactly one default 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 default certificate. To create a certificate list, use AddListenerCertificates.
certificates - [HTTPS listeners] The default SSL server certificate. You must provide exactly one default certificate. To
create a certificate list, use AddListenerCertificates.public ModifyListenerRequest withCertificates(Certificate... certificates)
[HTTPS listeners] The default SSL server certificate. You must provide exactly one default 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 default certificate. To
create a certificate list, use AddListenerCertificates.public ModifyListenerRequest withCertificates(Collection<Certificate> certificates)
[HTTPS listeners] The default SSL server certificate. You must provide exactly one default certificate. To create a certificate list, use AddListenerCertificates.
certificates - [HTTPS listeners] The default SSL server certificate. You must provide exactly one default 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 or one or more fixed-response actions.
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.
[HTTPS listener] 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.
[HTTPS listener] If the action type is authenticate-cognito, you can use Amazon Cognito to
authenticate users as they access your application.
[Application Load Balancer] If the action type is redirect, you can redirect HTTP and HTTPS
requests.
[Application Load Balancer] If the action type is fixed-response, you can return a custom HTTP
response.
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.
[HTTPS listener] 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.
[HTTPS listener] If the action type is authenticate-cognito, you can use Amazon Cognito to
authenticate users as they access your application.
[Application Load Balancer] If the action type is redirect, you can redirect HTTP and HTTPS
requests.
[Application Load Balancer] If the action type is fixed-response, you can 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 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.
[HTTPS listener] 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.
[HTTPS listener] If the action type is authenticate-cognito, you can use Amazon Cognito to
authenticate users as they access your application.
[Application Load Balancer] If the action type is redirect, you can redirect HTTP and HTTPS
requests.
[Application Load Balancer] If the action type is fixed-response, you can 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 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.
[HTTPS listener] 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.
[HTTPS listener] If the action type is authenticate-cognito, you can use Amazon Cognito to
authenticate users as they access your application.
[Application Load Balancer] If the action type is redirect, you can redirect HTTP and HTTPS
requests.
[Application Load Balancer] If the action type is fixed-response, you can 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 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.
[HTTPS listener] 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.
[HTTPS listener] If the action type is authenticate-cognito, you can use Amazon Cognito to
authenticate users as they access your application.
[Application Load Balancer] If the action type is redirect, you can redirect HTTP and HTTPS
requests.
[Application Load Balancer] If the action type is fixed-response, you can 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 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.
[HTTPS listener] 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.
[HTTPS listener] If the action type is authenticate-cognito, you can use Amazon Cognito to
authenticate users as they access your application.
[Application Load Balancer] If the action type is redirect, you can redirect HTTP and HTTPS
requests.
[Application Load Balancer] If the action type is fixed-response, you can 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 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.
[HTTPS listener] 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.
[HTTPS listener] If the action type is authenticate-cognito, you can use Amazon Cognito to
authenticate users as they access your application.
[Application Load Balancer] If the action type is redirect, you can redirect HTTP and HTTPS
requests.
[Application Load Balancer] If the action type is fixed-response, you can 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 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.
[HTTPS listener] 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.
[HTTPS listener] If the action type is authenticate-cognito, you can use Amazon Cognito to
authenticate users as they access your application.
[Application Load Balancer] If the action type is redirect, you can redirect HTTP and HTTPS
requests.
[Application Load Balancer] If the action type is fixed-response, you can return a custom
HTTP response.
public String toString()
toString in class ObjectObject.toString()public ModifyListenerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.