public Builder podReplacementPolicy(String podReplacementPolicy) {
            return podReplacementPolicy(Output.of(podReplacementPolicy));
        }
@param podReplacementPolicy podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
  when they are terminating (has a metadata.deletionTimestamp) or failed.
- Failed means to wait until a previously created Pod is fully terminated (has phase
  Failed or Succeeded) before creating a replacement Pod.

When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/batch/v1/inputs/JobSpecArgs.java