Class DataSourceSetting

java.lang.Object
org.elasticsearch.xpack.esql.datasources.metadata.DataSourceSetting
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject

public final class DataSourceSetting extends Object implements Writeable, ToXContentObject
A data source setting value plus its secret/non-secret classification, stored in cluster state. A non-secret holds its plaintext value; a secret holds an EncryptedData carrier directly (or null), never raw plaintext — value instanceof EncryptedData is the discriminator. Serialization delegates to EncryptedData's own Writeable/ToXContentObject rather than re-encoding the bytes.