@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1Scale extends Object implements KubernetesObject
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_API_VERSION |
static String |
SERIALIZED_NAME_KIND |
static String |
SERIALIZED_NAME_METADATA |
static String |
SERIALIZED_NAME_SPEC |
static String |
SERIALIZED_NAME_STATUS |
Constructor and Description |
---|
V1Scale() |
Modifier and Type | Method and Description |
---|---|
V1Scale |
apiVersion(String apiVersion) |
boolean |
equals(Object o) |
String |
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
String |
getKind()
Kind is a string value representing the REST resource this object represents.
|
V1ObjectMeta |
getMetadata()
Get metadata
|
V1ScaleSpec |
getSpec()
Get spec
|
V1ScaleStatus |
getStatus()
Get status
|
int |
hashCode() |
V1Scale |
kind(String kind) |
V1Scale |
metadata(V1ObjectMeta metadata) |
void |
setApiVersion(String apiVersion) |
void |
setKind(String kind) |
void |
setMetadata(V1ObjectMeta metadata) |
void |
setSpec(V1ScaleSpec spec) |
void |
setStatus(V1ScaleStatus status) |
V1Scale |
spec(V1ScaleSpec spec) |
V1Scale |
status(V1ScaleStatus status) |
String |
toString() |
public static final String SERIALIZED_NAME_API_VERSION
public static final String SERIALIZED_NAME_KIND
public static final String SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_SPEC
public static final String SERIALIZED_NAME_STATUS
@Nullable public String getApiVersion()
getApiVersion
in interface KubernetesType
public void setApiVersion(String apiVersion)
@Nullable public String getKind()
getKind
in interface KubernetesType
public void setKind(String kind)
public V1Scale metadata(V1ObjectMeta metadata)
@Nullable public V1ObjectMeta getMetadata()
getMetadata
in interface KubernetesObject
public void setMetadata(V1ObjectMeta metadata)
public V1Scale spec(V1ScaleSpec spec)
@Nullable public V1ScaleSpec getSpec()
public void setSpec(V1ScaleSpec spec)
public V1Scale status(V1ScaleStatus status)
@Nullable public V1ScaleStatus getStatus()
public void setStatus(V1ScaleStatus status)
Copyright © 2020. All rights reserved.