public class V1WeightedPodAffinityTermFluentImpl<A extends V1WeightedPodAffinityTermFluent<A>> extends BaseFluent<A> implements V1WeightedPodAffinityTermFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1WeightedPodAffinityTermFluentImpl.PodAffinityTermNestedImpl<N> |
V1WeightedPodAffinityTermFluent.PodAffinityTermNested<N>
_visitables, VISIT
Constructor and Description |
---|
V1WeightedPodAffinityTermFluentImpl() |
V1WeightedPodAffinityTermFluentImpl(io.kubernetes.client.openapi.models.V1WeightedPodAffinityTerm instance) |
accept, accept, acceptInternal, aggregate, aggregate, build, build, builderOf, canVisit, hasCompatibleVisitMethod
public V1WeightedPodAffinityTermFluentImpl()
public V1WeightedPodAffinityTermFluentImpl(io.kubernetes.client.openapi.models.V1WeightedPodAffinityTerm instance)
@Deprecated public io.kubernetes.client.openapi.models.V1PodAffinityTerm getPodAffinityTerm()
getPodAffinityTerm
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public io.kubernetes.client.openapi.models.V1PodAffinityTerm buildPodAffinityTerm()
buildPodAffinityTerm
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public A withPodAffinityTerm(io.kubernetes.client.openapi.models.V1PodAffinityTerm podAffinityTerm)
withPodAffinityTerm
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public Boolean hasPodAffinityTerm()
hasPodAffinityTerm
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public V1WeightedPodAffinityTermFluent.PodAffinityTermNested<A> withNewPodAffinityTerm()
withNewPodAffinityTerm
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public V1WeightedPodAffinityTermFluent.PodAffinityTermNested<A> withNewPodAffinityTermLike(io.kubernetes.client.openapi.models.V1PodAffinityTerm item)
withNewPodAffinityTermLike
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public V1WeightedPodAffinityTermFluent.PodAffinityTermNested<A> editPodAffinityTerm()
editPodAffinityTerm
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public V1WeightedPodAffinityTermFluent.PodAffinityTermNested<A> editOrNewPodAffinityTerm()
editOrNewPodAffinityTerm
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public V1WeightedPodAffinityTermFluent.PodAffinityTermNested<A> editOrNewPodAffinityTermLike(io.kubernetes.client.openapi.models.V1PodAffinityTerm item)
editOrNewPodAffinityTermLike
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public Integer getWeight()
getWeight
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public A withWeight(Integer weight)
withWeight
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
public Boolean hasWeight()
hasWeight
in interface V1WeightedPodAffinityTermFluent<A extends V1WeightedPodAffinityTermFluent<A>>
Copyright © 2021. All rights reserved.