Package net.stickycode.kuuty.model.v18
Class IoK8sApiAppsV1ReplicaSetSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAppsV1ReplicaSetSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAppsV1ReplicaSetSpec extends Object
ReplicaSetSpec is the specification of a ReplicaSet.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MIN_READY_SECONDSstatic StringJSON_PROPERTY_REPLICASstatic StringJSON_PROPERTY_SELECTORstatic StringJSON_PROPERTY_TEMPLATE
-
Constructor Summary
Constructors Constructor Description IoK8sApiAppsV1ReplicaSetSpec()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MIN_READY_SECONDS
public static final String JSON_PROPERTY_MIN_READY_SECONDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPLICAS
public static final String JSON_PROPERTY_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SELECTOR
public static final String JSON_PROPERTY_SELECTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEMPLATE
public static final String JSON_PROPERTY_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
minReadySeconds
public IoK8sApiAppsV1ReplicaSetSpec minReadySeconds(Integer minReadySeconds)
-
getMinReadySeconds
@Nullable public Integer getMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)- Returns:
- minReadySeconds
-
setMinReadySeconds
public void setMinReadySeconds(Integer minReadySeconds)
-
replicas
public IoK8sApiAppsV1ReplicaSetSpec replicas(Integer replicas)
-
getReplicas
@Nullable public Integer getReplicas()
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller- Returns:
- replicas
-
setReplicas
public void setReplicas(Integer replicas)
-
selector
public IoK8sApiAppsV1ReplicaSetSpec selector(IoK8sApimachineryPkgApisMetaV1LabelSelector selector)
-
getSelector
public IoK8sApimachineryPkgApisMetaV1LabelSelector getSelector()
Get selector- Returns:
- selector
-
setSelector
public void setSelector(IoK8sApimachineryPkgApisMetaV1LabelSelector selector)
-
template
public IoK8sApiAppsV1ReplicaSetSpec template(IoK8sApiCoreV1PodTemplateSpec template)
-
getTemplate
@Nullable public IoK8sApiCoreV1PodTemplateSpec getTemplate()
Get template- Returns:
- template
-
setTemplate
public void setTemplate(IoK8sApiCoreV1PodTemplateSpec template)
-
-