Class V1ScaleSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ScaleSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ScaleSpec
extends Object
ScaleSpec describes the attributes of a scale subresource.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
replicas is the desired number of instances for the scaled object.int
hashCode()
Set replicas in a chainable fashion.void
setReplicas
(Integer replicas) Set the replicas property valuetoString()
-
Field Details
-
JSON_PROPERTY_REPLICAS
- See Also:
-
-
Constructor Details
-
V1ScaleSpec
public V1ScaleSpec()
-
-
Method Details
-
getReplicas
replicas is the desired number of instances for the scaled object.- Returns:
- the replicas property value
-
setReplicas
Set the replicas property value- Parameters:
replicas
- property value to set
-
replicas
Set replicas in a chainable fashion.- Returns:
- The same instance of V1ScaleSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-