public ContainerResizePolicy build() {
            final var _resultValue = new ContainerResizePolicy();
            _resultValue.resourceName = resourceName;
            _resultValue.restartPolicy = restartPolicy;
            return _resultValue;
        }
@return Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/ContainerResizePolicy.java