@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.
|
List<String> |
getSupportedLoadBalancerTypes()
The supported load balancers.
|
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.
|
void |
setSupportedLoadBalancerTypes(Collection<String> supportedLoadBalancerTypes)
The supported load balancers.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
SslPolicy |
withSupportedLoadBalancerTypes(Collection<String> supportedLoadBalancerTypes)
The supported load balancers.
|
SslPolicy |
withSupportedLoadBalancerTypes(String... supportedLoadBalancerTypes)
The supported load balancers.
|
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 List<String> getSupportedLoadBalancerTypes()
The supported load balancers.
public void setSupportedLoadBalancerTypes(Collection<String> supportedLoadBalancerTypes)
The supported load balancers.
supportedLoadBalancerTypes
- The supported load balancers.public SslPolicy withSupportedLoadBalancerTypes(String... supportedLoadBalancerTypes)
The supported load balancers.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedLoadBalancerTypes(java.util.Collection)
or
withSupportedLoadBalancerTypes(java.util.Collection)
if you want to override the existing values.
supportedLoadBalancerTypes
- The supported load balancers.public SslPolicy withSupportedLoadBalancerTypes(Collection<String> supportedLoadBalancerTypes)
The supported load balancers.
supportedLoadBalancerTypes
- The supported load balancers.public String toString()
toString
in class Object
Object.toString()