@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClientPolicyTls extends Object implements Serializable, Cloneable, StructuredPojo
A reference to an object that represents a Transport Layer Security (TLS) client policy.
| Constructor and Description |
|---|
ClientPolicyTls() |
| Modifier and Type | Method and Description |
|---|---|
ClientPolicyTls |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnforce()
Whether the policy is enforced.
|
List<Integer> |
getPorts()
One or more ports that the policy is enforced for.
|
TlsValidationContext |
getValidation()
A reference to an object that represents a TLS validation context.
|
int |
hashCode() |
Boolean |
isEnforce()
Whether the policy is enforced.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEnforce(Boolean enforce)
Whether the policy is enforced.
|
void |
setPorts(Collection<Integer> ports)
One or more ports that the policy is enforced for.
|
void |
setValidation(TlsValidationContext validation)
A reference to an object that represents a TLS validation context.
|
String |
toString()
Returns a string representation of this object.
|
ClientPolicyTls |
withEnforce(Boolean enforce)
Whether the policy is enforced.
|
ClientPolicyTls |
withPorts(Collection<Integer> ports)
One or more ports that the policy is enforced for.
|
ClientPolicyTls |
withPorts(Integer... ports)
One or more ports that the policy is enforced for.
|
ClientPolicyTls |
withValidation(TlsValidationContext validation)
A reference to an object that represents a TLS validation context.
|
public void setEnforce(Boolean enforce)
Whether the policy is enforced. The default is True, if a value isn't specified.
enforce - Whether the policy is enforced. The default is True, if a value isn't specified.public Boolean getEnforce()
Whether the policy is enforced. The default is True, if a value isn't specified.
True, if a value isn't specified.public ClientPolicyTls withEnforce(Boolean enforce)
Whether the policy is enforced. The default is True, if a value isn't specified.
enforce - Whether the policy is enforced. The default is True, if a value isn't specified.public Boolean isEnforce()
Whether the policy is enforced. The default is True, if a value isn't specified.
True, if a value isn't specified.public List<Integer> getPorts()
One or more ports that the policy is enforced for.
public void setPorts(Collection<Integer> ports)
One or more ports that the policy is enforced for.
ports - One or more ports that the policy is enforced for.public ClientPolicyTls withPorts(Integer... ports)
One or more ports that the policy is enforced for.
NOTE: This method appends the values to the existing list (if any). Use
setPorts(java.util.Collection) or withPorts(java.util.Collection) if you want to override the
existing values.
ports - One or more ports that the policy is enforced for.public ClientPolicyTls withPorts(Collection<Integer> ports)
One or more ports that the policy is enforced for.
ports - One or more ports that the policy is enforced for.public void setValidation(TlsValidationContext validation)
A reference to an object that represents a TLS validation context.
validation - A reference to an object that represents a TLS validation context.public TlsValidationContext getValidation()
A reference to an object that represents a TLS validation context.
public ClientPolicyTls withValidation(TlsValidationContext validation)
A reference to an object that represents a TLS validation context.
validation - A reference to an object that represents a TLS validation context.public String toString()
toString in class ObjectObject.toString()public ClientPolicyTls clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.