Class CleanupRepositoryResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.snapshot.CleanupRepositoryResponse.Builder
-
- All Implemented Interfaces:
ObjectBuilder<CleanupRepositoryResponse>
- Enclosing class:
- CleanupRepositoryResponse
public static class CleanupRepositoryResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<CleanupRepositoryResponse>
Builder forCleanupRepositoryResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CleanupRepositoryResponsebuild()Builds aCleanupRepositoryResponse.CleanupRepositoryResponse.Builderresults(java.util.function.Function<CleanupRepositoryResults.Builder,ObjectBuilder<CleanupRepositoryResults>> fn)Required - API name:resultsCleanupRepositoryResponse.Builderresults(CleanupRepositoryResults value)Required - API name:results-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
results
public final CleanupRepositoryResponse.Builder results(CleanupRepositoryResults value)
Required - API name:results
-
results
public final CleanupRepositoryResponse.Builder results(java.util.function.Function<CleanupRepositoryResults.Builder,ObjectBuilder<CleanupRepositoryResults>> fn)
Required - API name:results
-
build
public CleanupRepositoryResponse build()
Builds aCleanupRepositoryResponse.- Specified by:
buildin interfaceObjectBuilder<CleanupRepositoryResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-