public ContainerResizePolicyArgs build() {
            if ($.resourceName == null) {
                throw new MissingRequiredPropertyException("ContainerResizePolicyArgs", "resourceName");
            }
            if ($.restartPolicy == null) {
                throw new MissingRequiredPropertyException("ContainerResizePolicyArgs", "restartPolicy");
            }
            return $;
        }
@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