Class GetServiceAccountsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.security.GetServiceAccountsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetServiceAccountsRequest>
- Enclosing class:
- GetServiceAccountsRequest
public static class GetServiceAccountsRequest.Builder extends java.lang.Object 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)
An identifier for the namespaceGetServiceAccountsRequest.Builder
service(java.lang.String value)
An identifier for the service nameMethods 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
An identifier for the namespaceAPI name:
namespace
-
service
An identifier for the service nameAPI name:
service
-
build
Builds aGetServiceAccountsRequest
.- Specified by:
build
in interfaceObjectBuilder<GetServiceAccountsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-