@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerTlsPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Describes the TLS security policies that are available for Lightsail load balancers.
For more information about load balancer TLS security policies, see Load balancer TLS security policies in the Amazon Lightsail Developer Guide.
| Constructor and Description |
|---|
LoadBalancerTlsPolicy() |
| Modifier and Type | Method and Description |
|---|---|
LoadBalancerTlsPolicy |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCiphers()
The ciphers used by the TLS security policy.
|
String |
getDescription()
The description of the TLS security policy.
|
Boolean |
getIsDefault()
A Boolean value that indicates whether the TLS security policy is the default.
|
String |
getName()
The name of the TLS security policy.
|
List<String> |
getProtocols()
The protocols used in a given TLS security policy.
|
int |
hashCode() |
Boolean |
isDefault()
A Boolean value that indicates whether the TLS security policy is the default.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCiphers(Collection<String> ciphers)
The ciphers used by the TLS security policy.
|
void |
setDescription(String description)
The description of the TLS security policy.
|
void |
setIsDefault(Boolean isDefault)
A Boolean value that indicates whether the TLS security policy is the default.
|
void |
setName(String name)
The name of the TLS security policy.
|
void |
setProtocols(Collection<String> protocols)
The protocols used in a given TLS security policy.
|
String |
toString()
Returns a string representation of this object.
|
LoadBalancerTlsPolicy |
withCiphers(Collection<String> ciphers)
The ciphers used by the TLS security policy.
|
LoadBalancerTlsPolicy |
withCiphers(String... ciphers)
The ciphers used by the TLS security policy.
|
LoadBalancerTlsPolicy |
withDescription(String description)
The description of the TLS security policy.
|
LoadBalancerTlsPolicy |
withIsDefault(Boolean isDefault)
A Boolean value that indicates whether the TLS security policy is the default.
|
LoadBalancerTlsPolicy |
withName(String name)
The name of the TLS security policy.
|
LoadBalancerTlsPolicy |
withProtocols(Collection<String> protocols)
The protocols used in a given TLS security policy.
|
LoadBalancerTlsPolicy |
withProtocols(String... protocols)
The protocols used in a given TLS security policy.
|
public void setName(String name)
The name of the TLS security policy.
The following TLS security policy names are possible:
TLS-2016-08
TLS-FS-Res-1-2-2019-08
You can specify either of these values for the tlsSecurityPolicyName request parameter in the CreateLoadBalancer
action, and the attributeValue request parameter in the UpdateLoadBalancerAttribute action.
name - The name of the TLS security policy.
The following TLS security policy names are possible:
TLS-2016-08
TLS-FS-Res-1-2-2019-08
You can specify either of these values for the tlsSecurityPolicyName request parameter in the
CreateLoadBalancer action, and the attributeValue request parameter in the UpdateLoadBalancerAttribute action.
public String getName()
The name of the TLS security policy.
The following TLS security policy names are possible:
TLS-2016-08
TLS-FS-Res-1-2-2019-08
You can specify either of these values for the tlsSecurityPolicyName request parameter in the CreateLoadBalancer
action, and the attributeValue request parameter in the UpdateLoadBalancerAttribute action.
The following TLS security policy names are possible:
TLS-2016-08
TLS-FS-Res-1-2-2019-08
You can specify either of these values for the tlsSecurityPolicyName request parameter in
the
CreateLoadBalancer action, and the attributeValue request parameter in the UpdateLoadBalancerAttribute action.
public LoadBalancerTlsPolicy withName(String name)
The name of the TLS security policy.
The following TLS security policy names are possible:
TLS-2016-08
TLS-FS-Res-1-2-2019-08
You can specify either of these values for the tlsSecurityPolicyName request parameter in the CreateLoadBalancer
action, and the attributeValue request parameter in the UpdateLoadBalancerAttribute action.
name - The name of the TLS security policy.
The following TLS security policy names are possible:
TLS-2016-08
TLS-FS-Res-1-2-2019-08
You can specify either of these values for the tlsSecurityPolicyName request parameter in the
CreateLoadBalancer action, and the attributeValue request parameter in the UpdateLoadBalancerAttribute action.
public void setIsDefault(Boolean isDefault)
A Boolean value that indicates whether the TLS security policy is the default.
isDefault - A Boolean value that indicates whether the TLS security policy is the default.public Boolean getIsDefault()
A Boolean value that indicates whether the TLS security policy is the default.
public LoadBalancerTlsPolicy withIsDefault(Boolean isDefault)
A Boolean value that indicates whether the TLS security policy is the default.
isDefault - A Boolean value that indicates whether the TLS security policy is the default.public Boolean isDefault()
A Boolean value that indicates whether the TLS security policy is the default.
public void setDescription(String description)
The description of the TLS security policy.
description - The description of the TLS security policy.public String getDescription()
The description of the TLS security policy.
public LoadBalancerTlsPolicy withDescription(String description)
The description of the TLS security policy.
description - The description of the TLS security policy.public List<String> getProtocols()
The protocols used in a given TLS security policy.
The following protocols are possible:
Protocol-TLSv1
Protocol-TLSv1.1
Protocol-TLSv1.2
The following protocols are possible:
Protocol-TLSv1
Protocol-TLSv1.1
Protocol-TLSv1.2
public void setProtocols(Collection<String> protocols)
The protocols used in a given TLS security policy.
The following protocols are possible:
Protocol-TLSv1
Protocol-TLSv1.1
Protocol-TLSv1.2
protocols - The protocols used in a given TLS security policy.
The following protocols are possible:
Protocol-TLSv1
Protocol-TLSv1.1
Protocol-TLSv1.2
public LoadBalancerTlsPolicy withProtocols(String... protocols)
The protocols used in a given TLS security policy.
The following protocols are possible:
Protocol-TLSv1
Protocol-TLSv1.1
Protocol-TLSv1.2
NOTE: This method appends the values to the existing list (if any). Use
setProtocols(java.util.Collection) or withProtocols(java.util.Collection) if you want to
override the existing values.
protocols - The protocols used in a given TLS security policy.
The following protocols are possible:
Protocol-TLSv1
Protocol-TLSv1.1
Protocol-TLSv1.2
public LoadBalancerTlsPolicy withProtocols(Collection<String> protocols)
The protocols used in a given TLS security policy.
The following protocols are possible:
Protocol-TLSv1
Protocol-TLSv1.1
Protocol-TLSv1.2
protocols - The protocols used in a given TLS security policy.
The following protocols are possible:
Protocol-TLSv1
Protocol-TLSv1.1
Protocol-TLSv1.2
public List<String> getCiphers()
The ciphers used by the TLS security policy.
The ciphers are listed in order of preference.
The ciphers are listed in order of preference.
public void setCiphers(Collection<String> ciphers)
The ciphers used by the TLS security policy.
The ciphers are listed in order of preference.
ciphers - The ciphers used by the TLS security policy.
The ciphers are listed in order of preference.
public LoadBalancerTlsPolicy withCiphers(String... ciphers)
The ciphers used by the TLS security policy.
The ciphers are listed in order of preference.
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 used by the TLS security policy.
The ciphers are listed in order of preference.
public LoadBalancerTlsPolicy withCiphers(Collection<String> ciphers)
The ciphers used by the TLS security policy.
The ciphers are listed in order of preference.
ciphers - The ciphers used by the TLS security policy.
The ciphers are listed in order of preference.
public String toString()
toString in class ObjectObject.toString()public LoadBalancerTlsPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.