Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15.model
Class RequiredProtocols

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

public class RequiredProtocols
extends Object

The required protocol to access your distribution.


Constructor Summary
RequiredProtocols()
          Default constructor for a new RequiredProtocols object.
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getProtocols()
          Currently, https is the only acceptable value for the RequiredProtocols element.
 int hashCode()
           
 void setProtocols(Collection<String> protocols)
          Currently, https is the only acceptable value for the RequiredProtocols element.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RequiredProtocols withProtocols(Collection<String> protocols)
          Currently, https is the only acceptable value for the RequiredProtocols element.
 RequiredProtocols withProtocols(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 List<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(Collection<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(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(Collection<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 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

equals

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


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