public class RequiredProtocols extends Object
The required protocol to access your distribution.
Constructor and Description |
---|
RequiredProtocols()
Default constructor for a new RequiredProtocols object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public RequiredProtocols()
public List<String> getProtocols()
public void setProtocols(Collection<String> protocols)
protocols
- Currently, https is the only acceptable value for the
RequiredProtocols element.public RequiredProtocols withProtocols(String... protocols)
Returns a reference to this object so that method calls can be chained together.
protocols
- Currently, https is the only acceptable value for the
RequiredProtocols element.public RequiredProtocols withProtocols(Collection<String> protocols)
Returns a reference to this object so that method calls can be chained together.
protocols
- Currently, https is the only acceptable value for the
RequiredProtocols element.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.