public V1alpha1PodPreset replaceNamespacedPodPreset(String name, String namespace, V1alpha1PodPreset body, String pretty, String dryRun) throws ApiException {
        ApiResponse<V1alpha1PodPreset> resp = replaceNamespacedPodPresetWithHttpInfo(name, namespace, body, pretty, dryRun);
        return resp.getData();
    }
public V1alpha1PodPreset replaceNamespacedPodPreset ( String name , String namespace , V1alpha1PodPreset body , String pretty , String dryRun ) throws ApiException { ApiResponse < V1alpha1PodPreset > resp = replaceNamespacedPodPresetWithHttpInfo ( name , namespace , body , pretty , dryRun ) ; return resp . getData ( ) ; }
replace the specified PodPreset
@param name name of the PodPreset (required)
@param namespace object name and auth scope, such as for teams and projects (required)
@param body  (required)
@param pretty If &#39;true&#39;, then the output is pretty printed. (optional)
@param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional)
@return V1alpha1PodPreset
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body