public class OriginSslProtocols
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.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.
|
private java.lang.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 and Description |
---|
OriginSslProtocols() |
Modifier and Type | Method and Description |
---|---|
OriginSslProtocols |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.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.
|
java.lang.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(java.util.Collection<java.lang.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(java.lang.Integer quantity)
The number of SSL/TLS protocols that you want to allow CloudFront to use
when establishing an HTTPS connection with this origin.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OriginSslProtocols |
withItems(java.util.Collection<java.lang.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(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(java.lang.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(java.lang.Integer quantity)
The number of SSL/TLS protocols that you want to allow CloudFront to use
when establishing an HTTPS connection with this origin.
|
private java.lang.Integer quantity
private SdkInternalList<java.lang.String> items
public void setQuantity(java.lang.Integer quantity)
quantity
- The number of SSL/TLS protocols that you want to allow CloudFront
to use when establishing an HTTPS connection with this origin.public java.lang.Integer getQuantity()
public OriginSslProtocols withQuantity(java.lang.Integer quantity)
quantity
- The number of SSL/TLS protocols that you want to allow CloudFront
to use when establishing an HTTPS connection with this origin.public java.util.List<java.lang.String> getItems()
SslProtocol
public void setItems(java.util.Collection<java.lang.String> items)
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.SslProtocol
public OriginSslProtocols withItems(java.lang.String... items)
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.
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.SslProtocol
public OriginSslProtocols withItems(java.util.Collection<java.lang.String> items)
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.SslProtocol
public OriginSslProtocols withItems(SslProtocol... items)
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.SslProtocol
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OriginSslProtocols clone()
clone
in class java.lang.Object