@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<Certificate> |
getCertificates()
The default SSL server certificate.
|
List<Action> |
getDefaultActions()
The default action.
|
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()
The security policy that defines which protocols and ciphers are supported.
|
int |
hashCode() |
void |
setCertificates(Collection<Certificate> certificates)
The default SSL server certificate.
|
void |
setDefaultActions(Collection<Action> defaultActions)
The default action.
|
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)
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)
The default SSL server certificate.
|
ModifyListenerRequest |
withCertificates(Collection<Certificate> certificates)
The default SSL server certificate.
|
ModifyListenerRequest |
withDefaultActions(Action... defaultActions)
The default action.
|
ModifyListenerRequest |
withDefaultActions(Collection<Action> defaultActions)
The default action.
|
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)
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.
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.ProtocolEnum
public 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.
ProtocolEnum
public 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.ProtocolEnum
public 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.ProtocolEnum
public 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.ProtocolEnum
public void setSslPolicy(String sslPolicy)
The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide.
sslPolicy
- 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()
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)
The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide.
sslPolicy
- 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()
The default SSL server certificate.
public void setCertificates(Collection<Certificate> certificates)
The default SSL server certificate.
certificates
- The default SSL server certificate.public ModifyListenerRequest withCertificates(Certificate... certificates)
The default SSL server certificate.
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
- The default SSL server certificate.public ModifyListenerRequest withCertificates(Collection<Certificate> certificates)
The default SSL server certificate.
certificates
- The default SSL server certificate.public List<Action> getDefaultActions()
The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
public void setDefaultActions(Collection<Action> defaultActions)
The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
defaultActions
- The default action. For Application Load Balancers, the protocol of the specified target group must be
HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.public ModifyListenerRequest withDefaultActions(Action... defaultActions)
The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
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 default action. For Application Load Balancers, the protocol of the specified target group must be
HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.public ModifyListenerRequest withDefaultActions(Collection<Action> defaultActions)
The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
defaultActions
- The default action. For Application Load Balancers, the protocol of the specified target group must be
HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.public String toString()
toString
in class Object
Object.toString()
public ModifyListenerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.