Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.redis; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Parameters for Redis import operation.
/** * Parameters for Redis import operation. */
public class ImportRDBParameters {
File format.
/** * File format. */
@JsonProperty(value = "format") private String format;
files to import.
/** * files to import. */
@JsonProperty(value = "files", required = true) private List<String> files;
Get the format value.
Returns:the format value
/** * Get the format value. * * @return the format value */
public String format() { return this.format; }
Set the format value.
Params:
  • format – the format value to set
Returns:the ImportRDBParameters object itself.
/** * Set the format value. * * @param format the format value to set * @return the ImportRDBParameters object itself. */
public ImportRDBParameters withFormat(String format) { this.format = format; return this; }
Get the files value.
Returns:the files value
/** * Get the files value. * * @return the files value */
public List<String> files() { return this.files; }
Set the files value.
Params:
  • files – the files value to set
Returns:the ImportRDBParameters object itself.
/** * Set the files value. * * @param files the files value to set * @return the ImportRDBParameters object itself. */
public ImportRDBParameters withFiles(List<String> files) { this.files = files; return this; } }