@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElasticsearchDomainDomainEndpointOptions extends Object implements Serializable, Cloneable, StructuredPojo
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
Constructor and Description |
---|
AwsElasticsearchDomainDomainEndpointOptions() |
Modifier and Type | Method and Description |
---|---|
AwsElasticsearchDomainDomainEndpointOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnforceHTTPS()
Whether to require that all traffic to the domain arrive over HTTPS.
|
String |
getTLSSecurityPolicy()
The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch domain.
|
int |
hashCode() |
Boolean |
isEnforceHTTPS()
Whether to require that all traffic to the domain arrive over HTTPS.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnforceHTTPS(Boolean enforceHTTPS)
Whether to require that all traffic to the domain arrive over HTTPS.
|
void |
setTLSSecurityPolicy(String tLSSecurityPolicy)
The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch domain.
|
String |
toString()
Returns a string representation of this object.
|
AwsElasticsearchDomainDomainEndpointOptions |
withEnforceHTTPS(Boolean enforceHTTPS)
Whether to require that all traffic to the domain arrive over HTTPS.
|
AwsElasticsearchDomainDomainEndpointOptions |
withTLSSecurityPolicy(String tLSSecurityPolicy)
The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch domain.
|
public AwsElasticsearchDomainDomainEndpointOptions()
public void setEnforceHTTPS(Boolean enforceHTTPS)
Whether to require that all traffic to the domain arrive over HTTPS.
enforceHTTPS
- Whether to require that all traffic to the domain arrive over HTTPS.public Boolean getEnforceHTTPS()
Whether to require that all traffic to the domain arrive over HTTPS.
public AwsElasticsearchDomainDomainEndpointOptions withEnforceHTTPS(Boolean enforceHTTPS)
Whether to require that all traffic to the domain arrive over HTTPS.
enforceHTTPS
- Whether to require that all traffic to the domain arrive over HTTPS.public Boolean isEnforceHTTPS()
Whether to require that all traffic to the domain arrive over HTTPS.
public void setTLSSecurityPolicy(String tLSSecurityPolicy)
The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch domain.
Valid values:
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
tLSSecurityPolicy
- The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch domain.
Valid values:
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
public String getTLSSecurityPolicy()
The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch domain.
Valid values:
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
Valid values:
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
public AwsElasticsearchDomainDomainEndpointOptions withTLSSecurityPolicy(String tLSSecurityPolicy)
The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch domain.
Valid values:
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
tLSSecurityPolicy
- The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch domain.
Valid values:
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
public String toString()
toString
in class Object
Object.toString()
public AwsElasticsearchDomainDomainEndpointOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.