@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V1WeightedPodAffinityTerm extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_POD_AFFINITY_TERM |
static String |
SERIALIZED_NAME_WEIGHT |
Constructor and Description |
---|
V1WeightedPodAffinityTerm() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
V1PodAffinityTerm |
getPodAffinityTerm()
Get podAffinityTerm
|
Integer |
getWeight()
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
|
int |
hashCode() |
V1WeightedPodAffinityTerm |
podAffinityTerm(V1PodAffinityTerm podAffinityTerm) |
void |
setPodAffinityTerm(V1PodAffinityTerm podAffinityTerm) |
void |
setWeight(Integer weight) |
String |
toString() |
V1WeightedPodAffinityTerm |
weight(Integer weight) |
public static final String SERIALIZED_NAME_POD_AFFINITY_TERM
public static final String SERIALIZED_NAME_WEIGHT
public V1WeightedPodAffinityTerm podAffinityTerm(V1PodAffinityTerm podAffinityTerm)
public V1PodAffinityTerm getPodAffinityTerm()
public void setPodAffinityTerm(V1PodAffinityTerm podAffinityTerm)
public V1WeightedPodAffinityTerm weight(Integer weight)
public Integer getWeight()
public void setWeight(Integer weight)
Copyright © 2020. All rights reserved.