@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 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 ModifyListenerRequest 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 ModifyListenerRequest 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 ModifyListenerRequest 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 ModifyListenerRequest 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 ModifyListenerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.