Class SingleNodeShutdownMetadata.Builder
java.lang.Object
org.elasticsearch.cluster.metadata.SingleNodeShutdownMetadata.Builder
- Enclosing class:
- SingleNodeShutdownMetadata
-
Method Summary
-
Method Details
-
setNodeId
- Parameters:
nodeId
- The node ID this metadata refers to.- Returns:
- This builder.
-
setType
- Parameters:
type
- The type of shutdown.- Returns:
- This builder.
-
setReason
- Parameters:
reason
- The reason for the shutdown. An arbitrary string provided by the user.- Returns:
- This builder.
-
setStartedAtMillis
- Parameters:
startedAtMillis
- The timestamp at which this shutdown was requested.- Returns:
- This builder.
-
build
-