@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SslPolicy extends Object implements Serializable, Cloneable
Information about a policy used for SSL negotiation.
Constructor and Description |
---|
SslPolicy() |
Modifier and Type | Method and Description |
---|---|
SslPolicy |
clone() |
boolean |
equals(Object obj) |
List<Cipher> |
getCiphers()
The ciphers.
|
String |
getName()
The name of the policy.
|
List<String> |
getSslProtocols()
The protocols.
|
int |
hashCode() |
void |
setCiphers(Collection<Cipher> ciphers)
The ciphers.
|
void |
setName(String name)
The name of the policy.
|
void |
setSslProtocols(Collection<String> sslProtocols)
The protocols.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SslPolicy |
withCiphers(Cipher... ciphers)
The ciphers.
|
SslPolicy |
withCiphers(Collection<Cipher> ciphers)
The ciphers.
|
SslPolicy |
withName(String name)
The name of the policy.
|
SslPolicy |
withSslProtocols(Collection<String> sslProtocols)
The protocols.
|
SslPolicy |
withSslProtocols(String... sslProtocols)
The protocols.
|
public void setSslProtocols(Collection<String> sslProtocols)
The protocols.
sslProtocols
- The protocols.public SslPolicy withSslProtocols(String... sslProtocols)
The protocols.
NOTE: This method appends the values to the existing list (if any). Use
setSslProtocols(java.util.Collection)
or withSslProtocols(java.util.Collection)
if you want to
override the existing values.
sslProtocols
- The protocols.public SslPolicy withSslProtocols(Collection<String> sslProtocols)
The protocols.
sslProtocols
- The protocols.public void setCiphers(Collection<Cipher> ciphers)
The ciphers.
ciphers
- The ciphers.public SslPolicy withCiphers(Cipher... ciphers)
The ciphers.
NOTE: This method appends the values to the existing list (if any). Use
setCiphers(java.util.Collection)
or withCiphers(java.util.Collection)
if you want to override
the existing values.
ciphers
- The ciphers.public SslPolicy withCiphers(Collection<Cipher> ciphers)
The ciphers.
ciphers
- The ciphers.public void setName(String name)
The name of the policy.
name
- The name of the policy.public String getName()
The name of the policy.
public SslPolicy withName(String name)
The name of the policy.
name
- The name of the policy.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.