public static class SchedulingNodeAffinity.Builder extends Object
Modifier and Type | Method and Description |
---|---|
SchedulingNodeAffinity.Builder |
addAllValues(List<String> values)
Corresponds to the label values of Node resource.
|
SchedulingNodeAffinity.Builder |
addValues(String values)
Corresponds to the label values of Node resource.
|
SchedulingNodeAffinity |
build() |
SchedulingNodeAffinity.Builder |
clone() |
String |
getKey()
Corresponds to the label key of Node resource.
|
String |
getOperator()
Defines the operation of node selection.
|
List<String> |
getValuesList()
Corresponds to the label values of Node resource.
|
SchedulingNodeAffinity.Builder |
mergeFrom(SchedulingNodeAffinity other) |
SchedulingNodeAffinity.Builder |
setKey(String key)
Corresponds to the label key of Node resource.
|
SchedulingNodeAffinity.Builder |
setOperator(String operator)
Defines the operation of node selection.
|
public SchedulingNodeAffinity.Builder mergeFrom(SchedulingNodeAffinity other)
public String getKey()
public SchedulingNodeAffinity.Builder setKey(String key)
public String getOperator()
public SchedulingNodeAffinity.Builder setOperator(String operator)
public SchedulingNodeAffinity.Builder addAllValues(List<String> values)
public SchedulingNodeAffinity.Builder addValues(String values)
public SchedulingNodeAffinity build()
public SchedulingNodeAffinity.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.