@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginSslProtocols extends Object implements Serializable, Cloneable
A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.
| Constructor and Description | 
|---|
| OriginSslProtocols() | 
| Modifier and Type | Method and Description | 
|---|---|
| OriginSslProtocols | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getItems()
 A list that contains allowed SSL/TLS protocols for this distribution. | 
| Integer | getQuantity()
 The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection
 with this origin. | 
| int | hashCode() | 
| void | setItems(Collection<String> items)
 A list that contains allowed SSL/TLS protocols for this distribution. | 
| void | setQuantity(Integer quantity)
 The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection
 with this origin. | 
| String | toString()Returns a string representation of this object. | 
| OriginSslProtocols | withItems(Collection<String> items)
 A list that contains allowed SSL/TLS protocols for this distribution. | 
| OriginSslProtocols | withItems(SslProtocol... items)
 A list that contains allowed SSL/TLS protocols for this distribution. | 
| OriginSslProtocols | withItems(String... items)
 A list that contains allowed SSL/TLS protocols for this distribution. | 
| OriginSslProtocols | withQuantity(Integer quantity)
 The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection
 with this origin. | 
public void setQuantity(Integer quantity)
The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
quantity - The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS
        connection with this origin.public Integer getQuantity()
The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
public OriginSslProtocols withQuantity(Integer quantity)
The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
quantity - The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS
        connection with this origin.public List<String> getItems()
A list that contains allowed SSL/TLS protocols for this distribution.
SslProtocolpublic void setItems(Collection<String> items)
A list that contains allowed SSL/TLS protocols for this distribution.
items - A list that contains allowed SSL/TLS protocols for this distribution.SslProtocolpublic OriginSslProtocols withItems(String... items)
A list that contains allowed SSL/TLS protocols for this distribution.
 NOTE: This method appends the values to the existing list (if any). Use
 setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
 existing values.
 
items - A list that contains allowed SSL/TLS protocols for this distribution.SslProtocolpublic OriginSslProtocols withItems(Collection<String> items)
A list that contains allowed SSL/TLS protocols for this distribution.
items - A list that contains allowed SSL/TLS protocols for this distribution.SslProtocolpublic OriginSslProtocols withItems(SslProtocol... items)
A list that contains allowed SSL/TLS protocols for this distribution.
items - A list that contains allowed SSL/TLS protocols for this distribution.SslProtocolpublic String toString()
toString in class ObjectObject.toString()public OriginSslProtocols clone()
Copyright © 2021. All rights reserved.