Class ReplicaSetSpecPatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.apps.v1.inputs.ReplicaSetSpecPatchArgs.Builder
-
- Enclosing class:
- ReplicaSetSpecPatchArgs
public static final class ReplicaSetSpecPatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ReplicaSetSpecPatchArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaSetSpecPatchArgs
build()
ReplicaSetSpecPatchArgs.Builder
minReadySeconds(com.pulumi.core.Output<java.lang.Integer> minReadySeconds)
ReplicaSetSpecPatchArgs.Builder
minReadySeconds(java.lang.Integer minReadySeconds)
ReplicaSetSpecPatchArgs.Builder
replicas(com.pulumi.core.Output<java.lang.Integer> replicas)
ReplicaSetSpecPatchArgs.Builder
replicas(java.lang.Integer replicas)
ReplicaSetSpecPatchArgs.Builder
selector(com.pulumi.core.Output<LabelSelectorPatchArgs> selector)
ReplicaSetSpecPatchArgs.Builder
selector(LabelSelectorPatchArgs selector)
ReplicaSetSpecPatchArgs.Builder
template(com.pulumi.core.Output<PodTemplateSpecPatchArgs> template)
ReplicaSetSpecPatchArgs.Builder
template(PodTemplateSpecPatchArgs template)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ReplicaSetSpecPatchArgs defaults)
-
-
Method Detail
-
minReadySeconds
public ReplicaSetSpecPatchArgs.Builder minReadySeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> minReadySeconds)
- Parameters:
minReadySeconds
- 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:
- builder
-
minReadySeconds
public ReplicaSetSpecPatchArgs.Builder minReadySeconds(java.lang.Integer minReadySeconds)
- Parameters:
minReadySeconds
- 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:
- builder
-
replicas
public ReplicaSetSpecPatchArgs.Builder replicas(@Nullable com.pulumi.core.Output<java.lang.Integer> replicas)
- Parameters:
replicas
- 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:
- builder
-
replicas
public ReplicaSetSpecPatchArgs.Builder replicas(java.lang.Integer replicas)
- Parameters:
replicas
- 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:
- builder
-
selector
public ReplicaSetSpecPatchArgs.Builder selector(@Nullable com.pulumi.core.Output<LabelSelectorPatchArgs> selector)
- Parameters:
selector
- Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors- Returns:
- builder
-
selector
public ReplicaSetSpecPatchArgs.Builder selector(LabelSelectorPatchArgs selector)
- Parameters:
selector
- Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors- Returns:
- builder
-
template
public ReplicaSetSpecPatchArgs.Builder template(@Nullable com.pulumi.core.Output<PodTemplateSpecPatchArgs> template)
- Parameters:
template
- Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template- Returns:
- builder
-
template
public ReplicaSetSpecPatchArgs.Builder template(PodTemplateSpecPatchArgs template)
- Parameters:
template
- Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template- Returns:
- builder
-
build
public ReplicaSetSpecPatchArgs build()
-
-