Class EnrollNodeResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.EnrollNodeResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<EnrollNodeResponse>
Json deserializer forEnrollNodeResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
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.final String
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.Required - A list of transport addresses in the form ofhost:port
for the nodes that are already members of the cluster.static EnrollNodeResponse
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final String
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.final String
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.final String
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.
-
Field Details
-
_DESERIALIZER
Json deserializer forEnrollNodeResponse
-
-
Method Details
-
of
public static EnrollNodeResponse of(Function<EnrollNodeResponse.Builder, ObjectBuilder<EnrollNodeResponse>> fn) -
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
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
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
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
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
Required - A list of transport addresses in the form ofhost:port
for the nodes that are already members of the cluster.API name:
nodes_addresses
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupEnrollNodeResponseDeserializer
protected static void setupEnrollNodeResponseDeserializer(ObjectDeserializer<EnrollNodeResponse.Builder> op)
-