Class GetServiceAccountsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetServiceAccountsRequest
public class GetServiceAccountsRequest extends RequestBase
This API returns a list of service accounts that match the provided path
parameter(s).
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetServiceAccountsRequest.Builder
Builder forGetServiceAccountsRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetServiceAccountsRequest,GetServiceAccountsResponse,ErrorResponse>
_ENDPOINT
Endpoint "security.get_service_accounts
". -
Method Summary
Modifier and Type Method Description java.lang.String
namespace()
Name of the namespace.static GetServiceAccountsRequest
of(java.util.function.Function<GetServiceAccountsRequest.Builder,ObjectBuilder<GetServiceAccountsRequest>> fn)
java.lang.String
service()
Name of the service name.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<GetServiceAccountsRequest,GetServiceAccountsResponse,ErrorResponse> _ENDPOINTEndpoint "security.get_service_accounts
".
-
-
Method Details
-
of
public static GetServiceAccountsRequest of(java.util.function.Function<GetServiceAccountsRequest.Builder,ObjectBuilder<GetServiceAccountsRequest>> fn) -
namespace
@Nullable public final java.lang.String namespace()Name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit theservice
parameter.API name:
namespace
-
service
@Nullable public final java.lang.String service()Name of the service name. Omit this parameter to retrieve information about all service accounts that belong to the specifiednamespace
.API name:
service
-