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 OriginSslProtocols
clone()
boolean
equals(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.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 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.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; useful for testing and debugging.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.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.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.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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OriginSslProtocols clone()
-
-