Class 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.
    • Constructor Detail

      • OriginSslProtocols

        public OriginSslProtocols()
    • 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) 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:
        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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object