Class ProfileCustomizations
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.ProfileCustomizations
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ProfileCustomizationsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ProfileCustomizations extends Object implements io.fabric8.kubernetes.api.builder.Editable<ProfileCustomizationsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ProfileCustomizations contains various parameters for modifying the default behavior of certain profiles- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileCustomizations()No args constructor for use in serializationProfileCustomizations(String dynamicResourceAllocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileCustomizationsBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDynamicResourceAllocation()dynamicResourceAllocation allows to enable or disable dynamic resource allocation within the scheduler.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDynamicResourceAllocation(String dynamicResourceAllocation)dynamicResourceAllocation allows to enable or disable dynamic resource allocation within the scheduler.ProfileCustomizationsBuildertoBuilder()
-
-
-
Constructor Detail
-
ProfileCustomizations
public ProfileCustomizations()
No args constructor for use in serialization
-
ProfileCustomizations
public ProfileCustomizations(String dynamicResourceAllocation)
-
-
Method Detail
-
getDynamicResourceAllocation
public String getDynamicResourceAllocation()
dynamicResourceAllocation allows to enable or disable dynamic resource allocation within the scheduler. Dynamic resource allocation is an API for requesting and sharing resources between pods and containers inside a pod. Third-party resource drivers are responsible for tracking and allocating resources. Different kinds of resources support arbitrary parameters for defining requirements and initialization. Valid values are Enabled, Disabled and omitted. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is Disabled.
-
setDynamicResourceAllocation
public void setDynamicResourceAllocation(String dynamicResourceAllocation)
dynamicResourceAllocation allows to enable or disable dynamic resource allocation within the scheduler. Dynamic resource allocation is an API for requesting and sharing resources between pods and containers inside a pod. Third-party resource drivers are responsible for tracking and allocating resources. Different kinds of resources support arbitrary parameters for defining requirements and initialization. Valid values are Enabled, Disabled and omitted. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is Disabled.
-
edit
public ProfileCustomizationsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ProfileCustomizationsBuilder>
-
toBuilder
public ProfileCustomizationsBuilder toBuilder()
-
-