Class GetBuiltinPrivilegesResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.GetBuiltinPrivilegesResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetBuiltinPrivilegesResponse>
- Enclosing class:
- GetBuiltinPrivilegesResponse
public static class GetBuiltinPrivilegesResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<GetBuiltinPrivilegesResponse>
Builder for
GetBuiltinPrivilegesResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetBuiltinPrivilegesResponsebuild()Builds aGetBuiltinPrivilegesResponse.GetBuiltinPrivilegesResponse.Buildercluster(java.lang.String value, java.lang.String... values)Required - API name:clusterGetBuiltinPrivilegesResponse.Buildercluster(java.util.List<java.lang.String> list)Required - API name:clusterGetBuiltinPrivilegesResponse.Builderindex(java.lang.String value, java.lang.String... values)Required - API name:indexGetBuiltinPrivilegesResponse.Builderindex(java.util.List<java.lang.String> list)Required - API name:indexMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cluster
Required - API name:clusterAdds all elements of
listtocluster. -
cluster
public final GetBuiltinPrivilegesResponse.Builder cluster(java.lang.String value, java.lang.String... values)Required - API name:clusterAdds one or more values to
cluster. -
index
Required - API name:indexAdds all elements of
listtoindex. -
index
public final GetBuiltinPrivilegesResponse.Builder index(java.lang.String value, java.lang.String... values)Required - API name:indexAdds one or more values to
index. -
build
Builds aGetBuiltinPrivilegesResponse.- Specified by:
buildin interfaceObjectBuilder<GetBuiltinPrivilegesResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-