Class ShareServiceProperties


  • public final class ShareServiceProperties
    extends Object
    Storage service properties.
    • Constructor Detail

      • ShareServiceProperties

        public ShareServiceProperties()
    • 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.