Class MachineAutoscalerSpecScaleTargetRef
- java.lang.Object
-
- io.fabric8.openshift.api.model.autoscaling.v1beta1.MachineAutoscalerSpecScaleTargetRef
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineAutoscalerSpecScaleTargetRefBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineAutoscalerSpecScaleTargetRef extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineAutoscalerSpecScaleTargetRefBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ScaleTargetRef holds reference to a scalable resource- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineAutoscalerSpecScaleTargetRef()No args constructor for use in serializationMachineAutoscalerSpecScaleTargetRef(String apiVersion, String kind, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineAutoscalerSpecScaleTargetRefBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetKind()Kind is a string value representing the REST resource this object represents.StringgetName()Name specifies a name of an object, e.g. worker-us-east-1a.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetName(String name)Name specifies a name of an object, e.g. worker-us-east-1a.MachineAutoscalerSpecScaleTargetRefBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getName
public String getName()
Name specifies a name of an object, e.g. worker-us-east-1a. Scalable resources are expected to exist under a single namespace.
-
setName
public void setName(String name)
Name specifies a name of an object, e.g. worker-us-east-1a. Scalable resources are expected to exist under a single namespace.
-
edit
public MachineAutoscalerSpecScaleTargetRefBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineAutoscalerSpecScaleTargetRefBuilder>
-
toBuilder
public MachineAutoscalerSpecScaleTargetRefBuilder toBuilder()
-
-