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.
|
MetricsProperties |
getHourMetrics()
Gets the hour metrics properties.
|
LoggingProperties |
getLogging()
Gets the logging properties.
|
MetricsProperties |
getMinuteMetrics()
Gets the minute metrics properties.
|
void |
setCors(CorsProperties cors)
Sets the Cross-Origin Resource Sharing (CORS) properties.
|
void |
setDefaultServiceVersion(String defaultServiceVersion)
Sets default service version.
|
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.
|
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./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/