Class DataframeAnalyticsAuthorization
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsAuthorization
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class DataframeAnalyticsAuthorization extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataframeAnalyticsAuthorization.BuilderBuilder forDataframeAnalyticsAuthorization. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalyticsAuthorization>_DESERIALIZERJson deserializer forDataframeAnalyticsAuthorization -
Method Summary
Modifier and Type Method Description ApiKeyAuthorizationapiKey()If an API key was used for the most recent update to the job, its name and identifier are listed in the response.static DataframeAnalyticsAuthorizationof(java.util.function.Function<DataframeAnalyticsAuthorization.Builder,ObjectBuilder<DataframeAnalyticsAuthorization>> fn)java.util.List<java.lang.String>roles()If a user ID was used for the most recent update to the job, 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)java.lang.StringserviceAccount()If a service account was used for the most recent update to the job, the account name is listed in the response.protected static voidsetupDataframeAnalyticsAuthorizationDeserializer(ObjectDeserializer<DataframeAnalyticsAuthorization.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeAnalyticsAuthorization
-
-
Method Details
-
of
public static DataframeAnalyticsAuthorization of(java.util.function.Function<DataframeAnalyticsAuthorization.Builder,ObjectBuilder<DataframeAnalyticsAuthorization>> fn) -
apiKey
If an API key was used for the most recent update to the job, its name and identifier are listed in the response.API name:
api_key -
roles
public final java.util.List<java.lang.String> roles()If a user ID was used for the most recent update to the job, its roles at the time of the update are listed in the response.API name:
roles -
serviceAccount
@Nullable public final java.lang.String serviceAccount()If a service account was used for the most recent update to the job, the account name is listed in the response.API name:
service_account -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDataframeAnalyticsAuthorizationDeserializer
protected static void setupDataframeAnalyticsAuthorizationDeserializer(ObjectDeserializer<DataframeAnalyticsAuthorization.Builder> op)
-