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 com.fasterxml.jackson.annotation.JsonProperty;
Parameters for Redis export operation.
/** * Parameters for Redis export operation. */
public class ExportRDBParameters {
File format.
/** * File format. */
@JsonProperty(value = "format") private String format;
Prefix to use for exported files.
/** * Prefix to use for exported files. */
@JsonProperty(value = "prefix", required = true) private String prefix;
Container name to export to.
/** * Container name to export to. */
@JsonProperty(value = "container", required = true) private String container;
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 ExportRDBParameters object itself.
/** * Set the format value. * * @param format the format value to set * @return the ExportRDBParameters object itself. */
public ExportRDBParameters withFormat(String format) { this.format = format; return this; }
Get the prefix value.
Returns:the prefix value
/** * Get the prefix value. * * @return the prefix value */
public String prefix() { return this.prefix; }
Set the prefix value.
Params:
  • prefix – the prefix value to set
Returns:the ExportRDBParameters object itself.
/** * Set the prefix value. * * @param prefix the prefix value to set * @return the ExportRDBParameters object itself. */
public ExportRDBParameters withPrefix(String prefix) { this.prefix = prefix; return this; }
Get the container value.
Returns:the container value
/** * Get the container value. * * @return the container value */
public String container() { return this.container; }
Set the container value.
Params:
  • container – the container value to set
Returns:the ExportRDBParameters object itself.
/** * Set the container value. * * @param container the container value to set * @return the ExportRDBParameters object itself. */
public ExportRDBParameters withContainer(String container) { this.container = container; return this; } }