Class OriginSslProtocols
- java.lang.Object
-
- com.amazonaws.services.cloudfront.model.OriginSslProtocols
-
- All Implemented Interfaces:
Serializable,Cloneable
public class OriginSslProtocols extends Object implements Serializable, Cloneable
A complex type that contains the list of SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OriginSslProtocols()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OriginSslProtocolsclone()booleanequals(Object obj)List<String>getItems()A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.IntegergetQuantity()The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.inthashCode()voidsetItems(Collection<String> items)A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.voidsetQuantity(Integer quantity)The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.StringtoString()Returns a string representation of this object; useful for testing and debugging.OriginSslProtocolswithItems(SslProtocol... items)A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.OriginSslProtocolswithItems(String... items)A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.OriginSslProtocolswithItems(Collection<String> items)A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.OriginSslProtocolswithQuantity(Integer quantity)The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
-
-
-
Method Detail
-
setQuantity
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.- Parameters:
quantity- The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
-
getQuantity
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.- Returns:
- The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
-
withQuantity
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.- Parameters:
quantity- The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getItems
public List<String> getItems()
A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- Returns:
- A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
- See Also:
SslProtocol
-
setItems
public void setItems(Collection<String> items)
A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- Parameters:
items- A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- See Also:
SslProtocol
-
withItems
public OriginSslProtocols withItems(String... items)
A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)orwithItems(java.util.Collection)if you want to override the existing values.- Parameters:
items- A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SslProtocol
-
withItems
public OriginSslProtocols withItems(Collection<String> items)
A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- Parameters:
items- A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SslProtocol
-
withItems
public OriginSslProtocols withItems(SslProtocol... items)
A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- Parameters:
items- A complex type that contains one SslProtocol element for each SSL/TLS protocol that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SslProtocol
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OriginSslProtocols clone()
-
-