Class SSLTermination.Builder
java.lang.Object
org.jclouds.rackspace.cloudloadbalancers.v1.domain.SSLTermination.Builder
- Enclosing class:
SSLTermination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()certificate(String certificate) Required.enabled(boolean enabled) Required.from(SSLTermination in) intermediateCertificate(String intermediateCertificate) Optional only when configuring Intermediate SSL Termination.privatekey(String privateKey) Required.securePort(int securePort) Required.secureTrafficOnly(boolean secureTrafficOnly) Required.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Required. Determines if the load balancer is enabled to terminate SSL traffic. If enabled = false, the load balancer will retain its specified SSL attributes, but will not terminate SSL traffic. -
secureTrafficOnly
Required. Determines if the load balancer may accept only secure traffic. If secureTrafficOnly = true, the load balancer will not accept non-secure traffic. -
securePort
Required. The port on which the SSL termination load balancer will listen for secure traffic. The securePort must be unique to the existing LB protocol/port combination. For example, port 443. -
certificate
Required. The certificate used for SSL termination. The certificate is validated and verified against the key and intermediate certificate if provided. All requests to SSL termination require the key/certificates to be in "proper" format, meaning that all raw line feed characters should be wrapped in a newline character. So if the user pastes in the key from a mykey.key file, it will not properly handle the field. For example, use string.replaceAll("\n", "\\n"). -
privatekey
Required. The private key for the SSL certificate. The private key is validated and verified against the provided certificate(s).- See Also:
-
intermediateCertificate
Optional only when configuring Intermediate SSL Termination. The user's intermediate certificate used for SSL termination. The intermediate certificate is validated and verified against the key and certificate credentials provided. A user may only provide an intermediateCertificate when accompanied by a certificate, private key, and securePort. It may not be added to an existing SSL configuration as a single attribute in a future request.- See Also:
-
build
-
from
-