Class OriginSslProtocols
java.lang.Object
com.amazonaws.services.cloudfront.model.OriginSslProtocols
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.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.toString()
Returns a string representation of this object; useful for testing and debugging.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.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.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.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.
-
Constructor Details
-
OriginSslProtocols
public OriginSslProtocols()
-
-
Method Details
-
setQuantity
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
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
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
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:
-
setItems
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:
-
withItems
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:
-
withItems
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:
-
withItems
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:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-