Class EnrollNodeResponse

java.lang.Object
co.elastic.clients.elasticsearch.security.EnrollNodeResponse
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class EnrollNodeResponse extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • httpCaKey

      public final String httpCaKey()
      Required - The CA private key that can be used by the new node in order to sign its certificate for the HTTP layer, as a Base64 encoded string of the ASN.1 DER encoding of the key.

      API name: http_ca_key

    • httpCaCert

      public final String httpCaCert()
      Required - The CA certificate that can be used by the new node in order to sign its certificate for the HTTP layer, as a Base64 encoded string of the ASN.1 DER encoding of the certificate.

      API name: http_ca_cert

    • transportCaCert

      public final String transportCaCert()
      Required - The CA certificate that is used to sign the TLS certificate for the transport layer, as a Base64 encoded string of the ASN.1 DER encoding of the certificate.

      API name: transport_ca_cert

    • transportKey

      public final String transportKey()
      Required - The private key that the node can use for TLS for its transport layer, as a Base64 encoded string of the ASN.1 DER encoding of the key.

      API name: transport_key

    • transportCert

      public final String transportCert()
      Required - The certificate that the node can use for TLS for its transport layer, as a Base64 encoded string of the ASN.1 DER encoding of the certificate.

      API name: transport_cert

    • nodesAddresses

      public final List<String> nodesAddresses()
      Required - A list of transport addresses in the form of host:port for the nodes that are already members of the cluster.

      API name: nodes_addresses

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupEnrollNodeResponseDeserializer

      protected static void setupEnrollNodeResponseDeserializer(ObjectDeserializer<EnrollNodeResponse.Builder> op)