FileServiceProperties Class
- java.
lang. Object - com.
microsoft. azure. storage. file. FileServiceProperties
- com.
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 |
---|---|
Cors |
getCors()
Gets the Cross-Origin Resource Sharing (CORS) properties. |
Metrics |
getHourMetrics()
Gets the hour metrics properties. |
Metrics |
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:
getHourMetrics
public MetricsProperties getHourMetrics()
Gets the hour metrics properties.
Returns:
getMinuteMetrics
public MetricsProperties getMinuteMetrics()
Gets the minute metrics properties.
Returns:
setCors
public void setCors(CorsProperties cors)
Sets the Cross-Origin Resource Sharing (CORS) properties.
Parameters:
setHourMetrics
public void setHourMetrics(final MetricsProperties metrics)
Sets the hour metrics properties.
Parameters:
setMinuteMetrics
public void setMinuteMetrics(final MetricsProperties metrics)
Sets the minute metrics properties.
Parameters:
Applies to
Azure SDK for Java