Interface DomainEndpointOptions.Builder

    • Method Detail

      • enforceHTTPS

        DomainEndpointOptions.Builder enforceHTTPS​(Boolean enforceHTTPS)

        True to require that all traffic to the domain arrive over HTTPS.

        Parameters:
        enforceHTTPS - True to require that all traffic to the domain arrive over HTTPS.
        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 to apply to the HTTPS endpoint of the domain. The policy 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 to apply to the HTTPS endpoint of the domain. The policy 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, TLSSecurityPolicy
      • tlsSecurityPolicy

        DomainEndpointOptions.Builder tlsSecurityPolicy​(TLSSecurityPolicy tlsSecurityPolicy)

        Specify the TLS security policy to apply to the HTTPS endpoint of the domain. The policy 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 to apply to the HTTPS endpoint of the domain. The policy 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, TLSSecurityPolicy
      • customEndpointEnabled

        DomainEndpointOptions.Builder customEndpointEnabled​(Boolean customEndpointEnabled)

        Whether to enable a custom endpoint for the domain.

        Parameters:
        customEndpointEnabled - Whether to enable a custom endpoint for the domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customEndpoint

        DomainEndpointOptions.Builder customEndpoint​(String customEndpoint)

        The fully qualified URL for the custom endpoint.

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

        DomainEndpointOptions.Builder customEndpointCertificateArn​(String customEndpointCertificateArn)

        The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).

        Parameters:
        customEndpointCertificateArn - The ARN for your security certificate, managed in Amazon Web Services Certificate Manager (ACM).
        Returns:
        Returns a reference to this object so that method calls can be chained together.