blob: a99c9ada0f9afcc1842d7d9abe69600c8a2c0ff8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.routing.rotation;
/**
* ID of a global rotation.
*
* @author mpolden
*/
public record RotationId(String id) {
/** Rotation ID, e.g. rotation-42.vespa.global.routing */
public String asString() {
return id;
}
@Override
public String toString() {
return "rotation ID " + id;
}
}
|