ServiceProperties Class
- java.
lang. Object - com.
microsoft. azure. storage. ServiceProperties
- com.
public class ServiceProperties
Represents the analytics properties for the service.
Constructor Summary
Constructor | Description |
---|---|
ServiceProperties() |
Initializes a new instances of the ServiceProperties class. |
Method Summary
Constructor Details
ServiceProperties
public ServiceProperties()
Initializes a new instances of the ServiceProperties class.
Method Details
getCors
public CorsProperties getCors()
Gets the Cross-Origin Resource Sharing (CORS) properties.
Returns:
getDefaultServiceVersion
public String getDefaultServiceVersion()
Gets default service version.
Returns:
String
which represents the default service version.getDeleteRetentionPolicy
public DeleteRetentionPolicy getDeleteRetentionPolicy()
Get the delete retention policy.
Returns:
getHourMetrics
public MetricsProperties getHourMetrics()
Gets the hour metrics properties.
Returns:
getLogging
public LoggingProperties getLogging()
Gets the logging properties.
Returns:
getMinuteMetrics
public MetricsProperties getMinuteMetrics()
Gets the minute metrics properties.
Returns:
getStaticWebsiteProperties
public StaticWebsiteProperties getStaticWebsiteProperties()
Returns:
setCors
public void setCors(final CorsProperties cors)
Sets the Cross-Origin Resource Sharing (CORS) properties.
Parameters:
setDefaultServiceVersion
public void setDefaultServiceVersion(final String defaultServiceVersion)
Sets default service version.
Parameters:
String
which represents the default service version.
setDeleteRetentionPolicy
public void setDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy)
Set the delete retention policy for blobs.
Parameters:
setHourMetrics
public void setHourMetrics(final MetricsProperties metrics)
Sets the hour metrics properties.
Parameters:
setLogging
public void setLogging(final LoggingProperties logging)
Sets the logging properties.
Parameters:
setMinuteMetrics
public void setMinuteMetrics(final MetricsProperties metrics)
Sets the minute metrics properties.
Parameters:
setStaticWebsiteProperties
public void setStaticWebsiteProperties(StaticWebsiteProperties staticWebsiteProperties)
Parameters:
Applies to
Azure SDK for Java