@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAlpnPolicy()
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
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.
|
MutualAuthenticationAttributes |
getMutualAuthentication()
The mutual authentication configuration information.
|
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 |
setAlpnPolicy(Collection<String> alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
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 |
setMutualAuthentication(MutualAuthenticationAttributes mutualAuthentication)
The mutual authentication configuration information.
|
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 |
withAlpnPolicy(Collection<String> alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
ModifyListenerRequest |
withAlpnPolicy(String... alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
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 |
withMutualAuthentication(MutualAuthenticationAttributes mutualAuthentication)
The mutual authentication configuration information.
|
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, 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, withSdkRequestTimeout
public 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. You cannot specify a port for a Gateway Load Balancer.
port
- The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load
Balancer.public Integer getPort()
The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.
public ModifyListenerRequest withPort(Integer port)
The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.
port
- The port for connections from clients to the load balancer. You cannot specify a port for a Gateway 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. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
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. You
can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol
for a Gateway Load Balancer.ProtocolEnum
public 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. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
ProtocolEnum
public 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. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
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. You
can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol
for a Gateway Load Balancer.ProtocolEnum
public 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. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
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. You
can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol
for a Gateway Load Balancer.ProtocolEnum
public 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. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
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. You
can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol
for a Gateway Load Balancer.ProtocolEnum
public 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 or Security policies in the Network 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 or Security policies in the Network 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 or Security policies in the Network Load Balancers Guide.
For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network 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 or Security policies in the Network 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 or Security policies in the Network 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
.
CertificateArn
to the certificate ARN but do not set IsDefault
.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
.
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
.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
.
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
.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
.
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
.public List<Action> getDefaultActions()
The actions for the default rule.
public void setDefaultActions(Collection<Action> defaultActions)
The actions for the default rule.
defaultActions
- The actions for the default rule.public ModifyListenerRequest withDefaultActions(Action... defaultActions)
The actions for the default rule.
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.public ModifyListenerRequest withDefaultActions(Collection<Action> defaultActions)
The actions for the default rule.
defaultActions
- The actions for the default rule.public List<String> getAlpnPolicy()
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
public void setAlpnPolicy(Collection<String> alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
alpnPolicy
- [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one
policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
public ModifyListenerRequest withAlpnPolicy(String... alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
NOTE: This method appends the values to the existing list (if any). Use
setAlpnPolicy(java.util.Collection)
or withAlpnPolicy(java.util.Collection)
if you want to
override the existing values.
alpnPolicy
- [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one
policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
public ModifyListenerRequest withAlpnPolicy(Collection<String> alpnPolicy)
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
alpnPolicy
- [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one
policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
public void setMutualAuthentication(MutualAuthenticationAttributes mutualAuthentication)
The mutual authentication configuration information.
mutualAuthentication
- The mutual authentication configuration information.public MutualAuthenticationAttributes getMutualAuthentication()
The mutual authentication configuration information.
public ModifyListenerRequest withMutualAuthentication(MutualAuthenticationAttributes mutualAuthentication)
The mutual authentication configuration information.
mutualAuthentication
- The mutual authentication configuration information.public String toString()
toString
in class Object
Object.toString()
public ModifyListenerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()