Class ShareServiceProperties
- java.lang.Object
-
- com.azure.storage.file.share.models.ShareServiceProperties
-
public final class ShareServiceProperties extends Object
Storage service properties.
-
-
Constructor Summary
Constructors Constructor Description ShareServiceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ShareCorsRule>getCors()Get the cors property: The set of CORS rules.ShareMetricsgetHourMetrics()Get the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for files.ShareMetricsgetMinuteMetrics()Get the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for files.ShareProtocolSettingsgetProtocol()Get the protocol property: Protocol settings.ShareServicePropertiessetCors(List<ShareCorsRule> cors)Set the cors property: The set of CORS rules.ShareServicePropertiessetHourMetrics(ShareMetrics hourMetrics)Set the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for files.ShareServicePropertiessetMinuteMetrics(ShareMetrics minuteMetrics)Set the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for files.ShareServicePropertiessetProtocol(ShareProtocolSettings protocol)Set the protocol property: Protocol settings.
-
-
-
Method Detail
-
getHourMetrics
public ShareMetrics getHourMetrics()
Get the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for files.- Returns:
- the hourMetrics value.
-
setHourMetrics
public ShareServiceProperties setHourMetrics(ShareMetrics hourMetrics)
Set the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for files.- Parameters:
hourMetrics- the hourMetrics value to set.- Returns:
- the ShareServiceProperties object itself.
-
getMinuteMetrics
public ShareMetrics getMinuteMetrics()
Get the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for files.- Returns:
- the minuteMetrics value.
-
setMinuteMetrics
public ShareServiceProperties setMinuteMetrics(ShareMetrics minuteMetrics)
Set the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for files.- Parameters:
minuteMetrics- the minuteMetrics value to set.- Returns:
- the ShareServiceProperties object itself.
-
getCors
public List<ShareCorsRule> getCors()
Get the cors property: The set of CORS rules.- Returns:
- the cors value.
-
setCors
public ShareServiceProperties setCors(List<ShareCorsRule> cors)
Set the cors property: The set of CORS rules.- Parameters:
cors- the cors value to set.- Returns:
- the ShareServiceProperties object itself.
-
getProtocol
public ShareProtocolSettings getProtocol()
Get the protocol property: Protocol settings.- Returns:
- the protocol value.
-
setProtocol
public ShareServiceProperties setProtocol(ShareProtocolSettings protocol)
Set the protocol property: Protocol settings.- Parameters:
protocol- the protocol value to set.- Returns:
- the ShareServiceProperties object itself.
-
-