com.amazonaws.services.cloudfront.model
Class RequiredProtocols

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.RequiredProtocols

public class RequiredProtocols
extends java.lang.Object

The required protocol to access your distribution.


Constructor Summary
RequiredProtocols()
          Default constructor for a new RequiredProtocols object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.String> getProtocols()
          Currently, https is the only acceptable value for the RequiredProtocols element.
 int hashCode()
           
 void setProtocols(java.util.Collection<java.lang.String> protocols)
          Currently, https is the only acceptable value for the RequiredProtocols element.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RequiredProtocols withProtocols(java.util.Collection<java.lang.String> protocols)
          Currently, https is the only acceptable value for the RequiredProtocols element.
 RequiredProtocols withProtocols(java.lang.String... protocols)
          Currently, https is the only acceptable value for the RequiredProtocols element.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequiredProtocols

public RequiredProtocols()
Default constructor for a new RequiredProtocols object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getProtocols

public java.util.List<java.lang.String> getProtocols()
Currently, https is the only acceptable value for the RequiredProtocols element.

Returns:
Currently, https is the only acceptable value for the RequiredProtocols element.

setProtocols

public void setProtocols(java.util.Collection<java.lang.String> protocols)
Currently, https is the only acceptable value for the RequiredProtocols element.

Parameters:
protocols - Currently, https is the only acceptable value for the RequiredProtocols element.

withProtocols

public RequiredProtocols withProtocols(java.lang.String... protocols)
Currently, https is the only acceptable value for the RequiredProtocols element.

Returns a reference to this object so that method calls can be chained together.

Parameters:
protocols - Currently, https is the only acceptable value for the RequiredProtocols element.
Returns:
A reference to this updated object so that method calls can be chained together.

withProtocols

public RequiredProtocols withProtocols(java.util.Collection<java.lang.String> protocols)
Currently, https is the only acceptable value for the RequiredProtocols element.

Returns a reference to this object so that method calls can be chained together.

Parameters:
protocols - Currently, https is the only acceptable value for the RequiredProtocols element.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.