/** * The same labels as this instance, but with the given {@code name} for the {@code strimzi.io/name} key. */ public Labels withName(String name) { return with(STRIMZI_NAME_LABEL, name); }
/** * The same labels as this instance, but with the given {@code cluster} for the {@code strimzi.io/cluster} key. */ public Labels withCluster(String cluster) { return with(STRIMZI_CLUSTER_LABEL, cluster); }
/** * The same labels as this instance, but with the given {@code kind} for the {@code strimzi.io/kind} key. */ public Labels withKind(String kind) { return with(STRIMZI_KIND_LABEL, kind); }
/** * The same labels as this instance, but with the given {@code name} for the {@code strimzi.io/name} key. */ public Labels withStatefulSetPod(String name) { return with(KUBERNETES_STATEFULSET_POD_LABEL, name); }