Class PutRoleResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.security.PutRoleResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<PutRoleResponse>
- Enclosing class:
- PutRoleResponse
public static class PutRoleResponse.Builder extends java.lang.Object implements ObjectBuilder<PutRoleResponse>
Builder for
PutRoleResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description PutRoleResponsebuild()Builds aPutRoleResponse.PutRoleResponse.Builderrole(CreatedStatus value)Required - API name:rolePutRoleResponse.Builderrole(java.util.function.Function<CreatedStatus.Builder,ObjectBuilder<CreatedStatus>> fn)Required - API name:roleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
Required - API name:role -
role
public PutRoleResponse.Builder role(java.util.function.Function<CreatedStatus.Builder,ObjectBuilder<CreatedStatus>> fn)Required - API name:role -
build
Builds aPutRoleResponse.- Specified by:
buildin interfaceObjectBuilder<PutRoleResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-