Interface DomainEndpointOptions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DomainEndpointOptions.Builder,DomainEndpointOptions>, SdkBuilder<DomainEndpointOptions.Builder,DomainEndpointOptions>, SdkPojo
Enclosing class:
DomainEndpointOptions

public static interface DomainEndpointOptions.Builder extends SdkPojo, CopyableBuilder<DomainEndpointOptions.Builder,DomainEndpointOptions>
  • Method Details

    • enforceHTTPS

      DomainEndpointOptions.Builder enforceHTTPS(Boolean enforceHTTPS)

      Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain.

      Parameters:
      enforceHTTPS - Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tlsSecurityPolicy

      DomainEndpointOptions.Builder tlsSecurityPolicy(String tlsSecurityPolicy)

      Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain.
      It can be one of the following values:

      • Policy-Min-TLS-1-0-2019-07: TLS security policy that supports TLS version 1.0 to TLS version 1.2
      • Policy-Min-TLS-1-2-2019-07: TLS security policy that supports only TLS version 1.2
      • Policy-Min-TLS-1-2-PFS-2023-10: TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites

      Parameters:
      tlsSecurityPolicy - Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain.
      It can be one of the following values:
      • Policy-Min-TLS-1-0-2019-07: TLS security policy that supports TLS version 1.0 to TLS version 1.2
      • Policy-Min-TLS-1-2-2019-07: TLS security policy that supports only TLS version 1.2
      • Policy-Min-TLS-1-2-PFS-2023-10: TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tlsSecurityPolicy

      DomainEndpointOptions.Builder tlsSecurityPolicy(TLSSecurityPolicy tlsSecurityPolicy)

      Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain.
      It can be one of the following values:

      • Policy-Min-TLS-1-0-2019-07: TLS security policy that supports TLS version 1.0 to TLS version 1.2
      • Policy-Min-TLS-1-2-2019-07: TLS security policy that supports only TLS version 1.2
      • Policy-Min-TLS-1-2-PFS-2023-10: TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites

      Parameters:
      tlsSecurityPolicy - Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain.
      It can be one of the following values:
      • Policy-Min-TLS-1-0-2019-07: TLS security policy that supports TLS version 1.0 to TLS version 1.2
      • Policy-Min-TLS-1-2-2019-07: TLS security policy that supports only TLS version 1.2
      • Policy-Min-TLS-1-2-PFS-2023-10: TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customEndpointEnabled

      DomainEndpointOptions.Builder customEndpointEnabled(Boolean customEndpointEnabled)

      Specify if custom endpoint should be enabled for the Elasticsearch domain.

      Parameters:
      customEndpointEnabled - Specify if custom endpoint should be enabled for the Elasticsearch domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customEndpoint

      DomainEndpointOptions.Builder customEndpoint(String customEndpoint)

      Specify the fully qualified domain for your custom endpoint.

      Parameters:
      customEndpoint - Specify the fully qualified domain for your custom endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customEndpointCertificateArn

      DomainEndpointOptions.Builder customEndpointCertificateArn(String customEndpointCertificateArn)

      Specify ACM certificate ARN for your custom endpoint.

      Parameters:
      customEndpointCertificateArn - Specify ACM certificate ARN for your custom endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.