Class GetServiceAccountsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.GetServiceAccountsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetServiceAccountsRequest>
- Enclosing class:
- GetServiceAccountsRequest
public static class GetServiceAccountsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetServiceAccountsRequest>
Builder for
GetServiceAccountsRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetServiceAccountsRequest
build()
Builds aGetServiceAccountsRequest
.GetServiceAccountsRequest.Builder
namespace(java.lang.String value)
Name of the namespace.GetServiceAccountsRequest.Builder
service(java.lang.String value)
Name of the service name.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
Name of the service name. Omit this parameter to retrieve information about all service accounts that belong to the specifiednamespace
.API name:
service
-
build
Builds aGetServiceAccountsRequest
.- Specified by:
build
in interfaceObjectBuilder<GetServiceAccountsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-