public final class ServiceProperties extends Object
Constructor and Description |
---|
ServiceProperties()
Initializes a new instances of the ServiceProperties class.
|
Modifier and Type | Method and Description |
---|---|
CorsProperties |
getCors()
Gets the Cross-Origin Resource Sharing (CORS) properties.
|
String |
getDefaultServiceVersion()
Gets default service version.
|
DeleteRetentionPolicy |
getDeleteRetentionPolicy()
Get the delete retention policy.
|
MetricsProperties |
getHourMetrics()
Gets the hour metrics properties.
|
LoggingProperties |
getLogging()
Gets the logging properties.
|
MetricsProperties |
getMinuteMetrics()
Gets the minute metrics properties.
|
StaticWebsiteProperties |
getStaticWebsiteProperties() |
void |
setCors(CorsProperties cors)
Sets the Cross-Origin Resource Sharing (CORS) properties.
|
void |
setDefaultServiceVersion(String defaultServiceVersion)
Sets default service version.
|
void |
setDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy)
Set the delete retention policy for blobs.
|
void |
setHourMetrics(MetricsProperties metrics)
Sets the hour metrics properties.
|
void |
setLogging(LoggingProperties logging)
Sets the logging properties.
|
void |
setMinuteMetrics(MetricsProperties metrics)
Sets the minute metrics properties.
|
void |
setStaticWebsiteProperties(StaticWebsiteProperties staticWebsiteProperties) |
public ServiceProperties()
public LoggingProperties getLogging()
LoggingProperties
object which represents the logging properties.public void setLogging(LoggingProperties logging)
logging
- A LoggingProperties
object which represents the logging properties.public MetricsProperties getHourMetrics()
MetricsProperties
object which represents the hour metrics properties.public void setHourMetrics(MetricsProperties metrics)
metrics
- A MetricsProperties
object which represents the hour metrics properties.public MetricsProperties getMinuteMetrics()
MetricsProperties
object which represents the minute metrics properties.public void setMinuteMetrics(MetricsProperties metrics)
metrics
- A MetricsProperties
object which represents the minute metrics properties.public CorsProperties getCors()
CorsProperties
object which represents the CORS properties.public void setCors(CorsProperties cors)
cors
- A CorsProperties
object which represents the CORS properties.public String getDefaultServiceVersion()
String
which represents the default service version.public void setDefaultServiceVersion(String defaultServiceVersion)
defaultServiceVersion
- A String
which represents the default service version.public void setDeleteRetentionPolicy(DeleteRetentionPolicy deleteRetentionPolicy)
deleteRetentionPolicy
- is the policy which indicates whether to retain deleted blobs for a period of time.public DeleteRetentionPolicy getDeleteRetentionPolicy()
public void setStaticWebsiteProperties(StaticWebsiteProperties staticWebsiteProperties)
staticWebsiteProperties
- The static website properties.public StaticWebsiteProperties getStaticWebsiteProperties()
Copyright © 2018. All Rights Reserved.