Class TransformAuthorization
java.lang.Object
co.elastic.clients.elasticsearch.ml.TransformAuthorization
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class TransformAuthorization
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TransformAuthorization>Json deserializer forTransformAuthorization -
Method Summary
Modifier and TypeMethodDescriptionfinal ApiKeyAuthorizationapiKey()If an API key was used for the most recent update to the transform, its name and identifier are listed in the response.static TransformAuthorizationroles()If a user ID was used for the most recent update to the transform, its roles at the time of the update are listed in the response.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final StringIf a service account was used for the most recent update to the transform, the account name is listed in the response.protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTransformAuthorization
-
-
Method Details
-
of
public static TransformAuthorization of(Function<TransformAuthorization.Builder, ObjectBuilder<TransformAuthorization>> fn) -
apiKey
If an API key was used for the most recent update to the transform, its name and identifier are listed in the response.API name:
api_key -
roles
If a user ID was used for the most recent update to the transform, its roles at the time of the update are listed in the response.API name:
roles -
serviceAccount
If a service account was used for the most recent update to the transform, the account name is listed in the response.API name:
service_account -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTransformAuthorizationDeserializer
protected static void setupTransformAuthorizationDeserializer(ObjectDeserializer<TransformAuthorization.Builder> op)
-