Class ShareServiceProperties
java.lang.Object
com.azure.storage.file.share.models.ShareServiceProperties
Storage service properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCors()
Get the cors property: The set of CORS rules.Get the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for files.Get the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for files.Get the protocol property: Protocol settings.setCors
(List<ShareCorsRule> cors) Set the cors property: The set of CORS rules.setHourMetrics
(ShareMetrics hourMetrics) Set the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for files.setMinuteMetrics
(ShareMetrics minuteMetrics) Set the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for files.setProtocol
(ShareProtocolSettings protocol) Set the protocol property: Protocol settings.
-
Constructor Details
-
ShareServiceProperties
public ShareServiceProperties()
-
-
Method Details
-
getHourMetrics
Get the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for files.- Returns:
- the hourMetrics value.
-
getMinuteMetrics
Get the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for files.- Returns:
- the minuteMetrics value.
-
getCors
Get the cors property: The set of CORS rules.- Returns:
- the cors value.
-
setCors
Set the cors property: The set of CORS rules.- Parameters:
cors
- the cors value to set.- Returns:
- the ShareServiceProperties object itself.
-
getProtocol
Get the protocol property: Protocol settings.- Returns:
- the protocol value.
-