Class RecoveryOrigin.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.recovery.RecoveryOrigin.Builder
- All Implemented Interfaces:
ObjectBuilder<RecoveryOrigin>
- Enclosing class:
- RecoveryOrigin
public static class RecoveryOrigin.Builder extends ObjectBuilderBase implements ObjectBuilder<RecoveryOrigin>
Builder for
RecoveryOrigin
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description RecoveryOrigin.Builder
bootstrapNewHistoryUuid(java.lang.Boolean value)
API name:bootstrap_new_history_uuid
RecoveryOrigin
build()
Builds aRecoveryOrigin
.RecoveryOrigin.Builder
host(java.lang.String value)
API name:host
RecoveryOrigin.Builder
hostname(java.lang.String value)
API name:hostname
RecoveryOrigin.Builder
id(java.lang.String value)
API name:id
RecoveryOrigin.Builder
index(java.lang.String value)
API name:index
RecoveryOrigin.Builder
ip(java.lang.String value)
API name:ip
RecoveryOrigin.Builder
name(java.lang.String value)
API name:name
RecoveryOrigin.Builder
repository(java.lang.String value)
API name:repository
RecoveryOrigin.Builder
restoreuuid(java.lang.String value)
API name:restoreUUID
RecoveryOrigin.Builder
snapshot(java.lang.String value)
API name:snapshot
RecoveryOrigin.Builder
transportAddress(java.lang.String value)
API name:transport_address
RecoveryOrigin.Builder
version(java.lang.String value)
API name:version
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
-
hostname
API name:hostname
-
host
API name:host
-
transportAddress
API name:transport_address
-
id
API name:id
-
ip
API name:ip
-
name
API name:name
-
bootstrapNewHistoryUuid
API name:bootstrap_new_history_uuid
-
repository
API name:repository
-
snapshot
API name:snapshot
-
version
API name:version
-
restoreuuid
API name:restoreUUID
-
index
API name:index
-
build
Builds aRecoveryOrigin
.- Specified by:
build
in interfaceObjectBuilder<RecoveryOrigin>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-