Package com.azure.data.tables.models
Class TableServiceProperties
- java.lang.Object
-
- com.azure.data.tables.models.TableServiceProperties
-
public final class TableServiceProperties extends Object
A model representing configurable settings of the Table service.
-
-
Constructor Summary
Constructors Constructor Description TableServiceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TableServiceCorsRule>getCorsRules()Get theCORS rules.TableServiceMetricsgetHourMetrics()Get settings for generating a summary of request statistics grouped by API in hourly aggregates for tables.TableServiceLogginggetLogging()Get theAzure Analytics Logging settings.TableServiceMetricsgetMinuteMetrics()Get settings for generating a summary of request statistics grouped by API in minute aggregates for tables.TableServicePropertiessetCorsRules(List<TableServiceCorsRule> corsRules)Set theCORS rules.TableServicePropertiessetHourMetrics(TableServiceMetrics hourMetrics)Set settings for generating a summary of request statistics grouped by API in hourly aggregates for tables.TableServicePropertiessetLogging(TableServiceLogging logging)Set theAzure Analytics Logging settings.TableServicePropertiessetMinuteMetrics(TableServiceMetrics minuteMetrics)Set settings for generating a summary of request statistics grouped by API in minute aggregates for tables.
-
-
-
Method Detail
-
setLogging
public TableServiceProperties setLogging(TableServiceLogging logging)
Set theAzure Analytics Logging settings.- Parameters:
logging- TheTableServiceLoggingto set.- Returns:
- The updated
TableServicePropertiesobject.
-
getLogging
public TableServiceLogging getLogging()
Get theAzure Analytics Logging settings.- Returns:
- The
TableServiceLogging.
-
getHourMetrics
public TableServiceMetrics getHourMetrics()
Get settings for generating a summary of request statistics grouped by API in hourly aggregates for tables.- Returns:
- The
hourMetrics.
-
setHourMetrics
public TableServiceProperties setHourMetrics(TableServiceMetrics hourMetrics)
Set settings for generating a summary of request statistics grouped by API in hourly aggregates for tables.- Parameters:
hourMetrics- ThehourMetricsvalue to set.- Returns:
- The updated
TableServicePropertiesobject.
-
getMinuteMetrics
public TableServiceMetrics getMinuteMetrics()
Get settings for generating a summary of request statistics grouped by API in minute aggregates for tables.- Returns:
- The
minuteMetrics.
-
setMinuteMetrics
public TableServiceProperties setMinuteMetrics(TableServiceMetrics minuteMetrics)
Set settings for generating a summary of request statistics grouped by API in minute aggregates for tables.- Parameters:
minuteMetrics- TheminuteMetricsto set.- Returns:
- The updated
TableServicePropertiesobject.
-
getCorsRules
public List<TableServiceCorsRule> getCorsRules()
Get theCORS rules.- Returns:
- A collection of
CORS rules.
-
setCorsRules
public TableServiceProperties setCorsRules(List<TableServiceCorsRule> corsRules)
Set theCORS rules.- Parameters:
corsRules- A collection ofCORS rulesto set.- Returns:
- The updated
TableServicePropertiesobject.
-
-