FileServiceProperties Class

  • java.lang.Object
    • com.microsoft.azure.storage.file.FileServiceProperties

public class FileServiceProperties

Class representing a set of properties pertaining to the Azure File service.

Constructor Summary

Constructor Description
FileServiceProperties()

Generate a from a new .

Method Summary

Modifier and Type Method and Description
CorsProperties getCors()

Gets the Cross-Origin Resource Sharing (CORS) properties.

MetricsProperties getHourMetrics()

Gets the hour metrics properties.

MetricsProperties getMinuteMetrics()

Gets the minute metrics properties.

void setCors(CorsProperties cors)

Sets the Cross-Origin Resource Sharing (CORS) properties.

void setHourMetrics(final MetricsProperties metrics)

Sets the hour metrics properties.

void setMinuteMetrics(final MetricsProperties metrics)

Sets the minute metrics properties.

Constructor Details

FileServiceProperties

public FileServiceProperties()

Generate a from a new .

Method Details

getCors

public CorsProperties getCors()

Gets the Cross-Origin Resource Sharing (CORS) properties.

Returns:

A CorsProperties object which represents the CORS properties.

getHourMetrics

public MetricsProperties getHourMetrics()

Gets the hour metrics properties.

Returns:

A MetricsProperties object which represents the hour metrics properties.

getMinuteMetrics

public MetricsProperties getMinuteMetrics()

Gets the minute metrics properties.

Returns:

A MetricsProperties object which represents the minute metrics properties.

setCors

public void setCors(CorsProperties cors)

Sets the Cross-Origin Resource Sharing (CORS) properties.

Parameters:

cors - A CorsProperties object which represents the CORS properties.

setHourMetrics

public void setHourMetrics(final MetricsProperties metrics)

Sets the hour metrics properties.

Parameters:

metrics - A MetricsProperties object which represents the hour metrics properties.

setMinuteMetrics

public void setMinuteMetrics(final MetricsProperties metrics)

Sets the minute metrics properties.

Parameters:

metrics - A MetricsProperties object which represents the minute metrics properties.

Applies to