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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    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
     
    void
    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.
    Returns a string representation of this object; useful for testing and debugging.
    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(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.
    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.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OriginSslProtocols

      public OriginSslProtocols()
  • Method Details

    • 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:
    • 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:
    • 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) or withItems(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

      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:
    • 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:
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public OriginSslProtocols clone()
      Overrides:
      clone in class Object