public static class ServiceProperties.Logging extends Object
ServiceProperties.RetentionPolicy instance for retention policy
settings.| Constructor and Description |
|---|
Logging() |
| Modifier and Type | Method and Description |
|---|---|
ServiceProperties.RetentionPolicy |
getRetentionPolicy()
Gets a reference to the
ServiceProperties.RetentionPolicy instance in this
ServiceProperties.Logging instance. |
String |
getVersion()
Gets the Storage Analytics version number associated with this
ServiceProperties.Logging instance. |
boolean |
isDelete()
Gets a flag indicating whether queue delete operations are logged.
|
boolean |
isRead()
Gets a flag indicating whether queue read operations are logged.
|
boolean |
isWrite()
Gets a flag indicating whether queue write operations are logged.
|
ServiceProperties.Logging |
setDelete(boolean delete)
Sets a flag indicating whether queue delete operations are logged.
|
ServiceProperties.Logging |
setRead(boolean read)
Sets a flag indicating whether queue read operations are logged.
|
ServiceProperties.Logging |
setRetentionPolicy(ServiceProperties.RetentionPolicy retentionPolicy)
Sets the
ServiceProperties.RetentionPolicy instance in this ServiceProperties.Logging
instance. |
ServiceProperties.Logging |
setVersion(String version)
Sets the Storage Analytics version number to associate with this
ServiceProperties.Logging instance. |
ServiceProperties.Logging |
setWrite(boolean write)
Sets a flag indicating whether queue write operations are logged.
|
public ServiceProperties.RetentionPolicy getRetentionPolicy()
ServiceProperties.RetentionPolicy instance in this
ServiceProperties.Logging instance.ServiceProperties.RetentionPolicy instance in this
ServiceProperties.Logging instance.public ServiceProperties.Logging setRetentionPolicy(ServiceProperties.RetentionPolicy retentionPolicy)
ServiceProperties.RetentionPolicy instance in this ServiceProperties.Logging
instance.retentionPolicy - The ServiceProperties.RetentionPolicy instance to set in this
ServiceProperties.Logging instance.ServiceProperties.Logging instance.public boolean isWrite()
true then all requests that write to the
Queue service will be logged. These requests include adding a
message, updating a message, setting queue metadata, and creating a
queue.true if queue write operations are logged,
otherwise false.public ServiceProperties.Logging setWrite(boolean write)
true then all requests that write to the
Queue service will be logged. These requests include adding a
message, updating a message, setting queue metadata, and creating a
queue.write - true to enable logging of queue write
operations, otherwise false.ServiceProperties.Logging instance.public boolean isRead()
true then all requests that read from the
Queue service will be logged. These requests include listing queues,
getting queue metadata, listing messages, and peeking messages.true if queue read operations are logged,
otherwise false.public ServiceProperties.Logging setRead(boolean read)
true then all requests that read from the
Queue service will be logged. These requests include listing queues,
getting queue metadata, listing messages, and peeking messages.read - true to enable logging of queue read
operations, otherwise false.ServiceProperties.Logging instance.public boolean isDelete()
true then all requests that delete from
the Queue service will be logged. These requests include deleting
queues, deleting messages, and clearing messages.true if queue delete operations are logged,
otherwise false.public ServiceProperties.Logging setDelete(boolean delete)
true then all requests that delete from
the Queue service will be logged. These requests include deleting
queues, deleting messages, and clearing messages.delete - true to enable logging of queue delete
operations, otherwise false.ServiceProperties.Logging instance.public String getVersion()
ServiceProperties.Logging instance.String containing the Storage Analytics version
number.public ServiceProperties.Logging setVersion(String version)
ServiceProperties.Logging instance. The current supported version number is
"1.0".
See the Storage Analytics Overview documentation on MSDN for more information.
version - A String containing the Storage Analytics version
number to set.ServiceProperties.Logging instance./**
* 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.
*/