Class AffinityGroup
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.ovirt.v1.AffinityGroup
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AffinityGroupBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AffinityGroup extends Object implements io.fabric8.kubernetes.api.builder.Editable<AffinityGroupBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AffinityGroup defines the affinity group that the installer will create- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AffinityGroup()No args constructor for use in serializationAffinityGroup(String description, Boolean enforcing, String name, Integer priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AffinityGroupBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDescription()Description of the affinity groupBooleangetEnforcing()Enforcing whether to create a hard affinity rule, default is falseStringgetName()Name name of the affinity groupIntegergetPriority()Priority of the affinity group, needs to be between 1 (lowest) - 5 (highest)voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDescription(String description)Description of the affinity groupvoidsetEnforcing(Boolean enforcing)Enforcing whether to create a hard affinity rule, default is falsevoidsetName(String name)Name name of the affinity groupvoidsetPriority(Integer priority)Priority of the affinity group, needs to be between 1 (lowest) - 5 (highest)AffinityGroupBuildertoBuilder()
-
-
-
Method Detail
-
getDescription
public String getDescription()
Description of the affinity group
-
setDescription
public void setDescription(String description)
Description of the affinity group
-
getEnforcing
public Boolean getEnforcing()
Enforcing whether to create a hard affinity rule, default is false
-
setEnforcing
public void setEnforcing(Boolean enforcing)
Enforcing whether to create a hard affinity rule, default is false
-
getName
public String getName()
Name name of the affinity group
-
setName
public void setName(String name)
Name name of the affinity group
-
getPriority
public Integer getPriority()
Priority of the affinity group, needs to be between 1 (lowest) - 5 (highest)
-
setPriority
public void setPriority(Integer priority)
Priority of the affinity group, needs to be between 1 (lowest) - 5 (highest)
-
edit
public AffinityGroupBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AffinityGroupBuilder>
-
toBuilder
public AffinityGroupBuilder toBuilder()
-
-