@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainEndpointOptions extends Object implements Serializable, Cloneable, StructuredPojo
Options to configure a custom endpoint for an OpenSearch Service domain.
Constructor and Description |
---|
DomainEndpointOptions() |
Modifier and Type | Method and Description |
---|---|
DomainEndpointOptions |
clone() |
boolean |
equals(Object obj) |
String |
getCustomEndpoint()
The fully qualified URL for the custom endpoint.
|
String |
getCustomEndpointCertificateArn()
The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
|
Boolean |
getCustomEndpointEnabled()
Whether to enable a custom endpoint for the domain.
|
Boolean |
getEnforceHTTPS()
True to require that all traffic to the domain arrive over HTTPS.
|
String |
getTLSSecurityPolicy()
Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
|
int |
hashCode() |
Boolean |
isCustomEndpointEnabled()
Whether to enable a custom endpoint for the domain.
|
Boolean |
isEnforceHTTPS()
True to require that all traffic to the domain arrive over HTTPS.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomEndpoint(String customEndpoint)
The fully qualified URL for the custom endpoint.
|
void |
setCustomEndpointCertificateArn(String customEndpointCertificateArn)
The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
|
void |
setCustomEndpointEnabled(Boolean customEndpointEnabled)
Whether to enable a custom endpoint for the domain.
|
void |
setEnforceHTTPS(Boolean enforceHTTPS)
True to require that all traffic to the domain arrive over HTTPS.
|
void |
setTLSSecurityPolicy(String tLSSecurityPolicy)
Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
|
String |
toString()
Returns a string representation of this object.
|
DomainEndpointOptions |
withCustomEndpoint(String customEndpoint)
The fully qualified URL for the custom endpoint.
|
DomainEndpointOptions |
withCustomEndpointCertificateArn(String customEndpointCertificateArn)
The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
|
DomainEndpointOptions |
withCustomEndpointEnabled(Boolean customEndpointEnabled)
Whether to enable a custom endpoint for the domain.
|
DomainEndpointOptions |
withEnforceHTTPS(Boolean enforceHTTPS)
True to require that all traffic to the domain arrive over HTTPS.
|
DomainEndpointOptions |
withTLSSecurityPolicy(String tLSSecurityPolicy)
Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
|
DomainEndpointOptions |
withTLSSecurityPolicy(TLSSecurityPolicy tLSSecurityPolicy)
Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
|
public void setEnforceHTTPS(Boolean enforceHTTPS)
True to require that all traffic to the domain arrive over HTTPS.
enforceHTTPS
- True to require that all traffic to the domain arrive over HTTPS.public Boolean getEnforceHTTPS()
True to require that all traffic to the domain arrive over HTTPS.
public DomainEndpointOptions withEnforceHTTPS(Boolean enforceHTTPS)
True to require that all traffic to the domain arrive over HTTPS.
enforceHTTPS
- True to require that all traffic to the domain arrive over HTTPS.public Boolean isEnforceHTTPS()
True to require that all traffic to the domain arrive over HTTPS.
public void setTLSSecurityPolicy(String tLSSecurityPolicy)
Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
Can be one of the following values:
Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version 1.0 and higher.
Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLS version 1.2
tLSSecurityPolicy
- Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
Can be one of the following values:
Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version 1.0 and higher.
Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLS version 1.2
TLSSecurityPolicy
public String getTLSSecurityPolicy()
Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
Can be one of the following values:
Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version 1.0 and higher.
Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLS version 1.2
Can be one of the following values:
Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version 1.0 and higher.
Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLS version 1.2
TLSSecurityPolicy
public DomainEndpointOptions withTLSSecurityPolicy(String tLSSecurityPolicy)
Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
Can be one of the following values:
Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version 1.0 and higher.
Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLS version 1.2
tLSSecurityPolicy
- Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
Can be one of the following values:
Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version 1.0 and higher.
Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLS version 1.2
TLSSecurityPolicy
public DomainEndpointOptions withTLSSecurityPolicy(TLSSecurityPolicy tLSSecurityPolicy)
Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
Can be one of the following values:
Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version 1.0 and higher.
Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLS version 1.2
tLSSecurityPolicy
- Specify the TLS security policy to apply to the HTTPS endpoint of the domain.
Can be one of the following values:
Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLS version 1.0 and higher.
Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only TLS version 1.2
TLSSecurityPolicy
public void setCustomEndpointEnabled(Boolean customEndpointEnabled)
Whether to enable a custom endpoint for the domain.
customEndpointEnabled
- Whether to enable a custom endpoint for the domain.public Boolean getCustomEndpointEnabled()
Whether to enable a custom endpoint for the domain.
public DomainEndpointOptions withCustomEndpointEnabled(Boolean customEndpointEnabled)
Whether to enable a custom endpoint for the domain.
customEndpointEnabled
- Whether to enable a custom endpoint for the domain.public Boolean isCustomEndpointEnabled()
Whether to enable a custom endpoint for the domain.
public void setCustomEndpoint(String customEndpoint)
The fully qualified URL for the custom endpoint.
customEndpoint
- The fully qualified URL for the custom endpoint.public String getCustomEndpoint()
The fully qualified URL for the custom endpoint.
public DomainEndpointOptions withCustomEndpoint(String customEndpoint)
The fully qualified URL for the custom endpoint.
customEndpoint
- The fully qualified URL for the custom endpoint.public void setCustomEndpointCertificateArn(String customEndpointCertificateArn)
The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
customEndpointCertificateArn
- The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).public String getCustomEndpointCertificateArn()
The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
public DomainEndpointOptions withCustomEndpointCertificateArn(String customEndpointCertificateArn)
The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
customEndpointCertificateArn
- The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).public String toString()
toString
in class Object
Object.toString()
public DomainEndpointOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.