public Builder restartPolicy(Output<String> restartPolicy) {
            $.restartPolicy = restartPolicy;
            return this;
        }
@param restartPolicy Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/ContainerResizePolicyArgs.java