public final class FileShareProperties extends Object
| Constructor and Description |
|---|
FileShareProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEtag()
Gets the ETag value of the share.
|
Date |
getLastModified()
Gets the last modified time on the share.
|
protected void |
setEtag(String etag)
Sets the ETag value on the share.
|
protected void |
setLastModified(Date lastModified)
Sets the last modified time on the share.
|
public String getEtag()
The ETag value is a unique identifier that is updated when a write operation is performed against the share. It may be used to perform operations conditionally, providing concurrency control and improved efficiency.
The AccessCondition#ifMatch and AccessCondition#ifNoneMatch methods take an ETag value and return
an AccessCondition object that may be specified on the request.
String which represents the ETag.public Date getLastModified()
java.util.Date object which represents the last modified time.protected void setEtag(String etag)
etag - A String which represents the ETag to set.protected void setLastModified(Date lastModified)
lastModified - A java.util.Date object which represents the last modified time to set./**
* 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.
*/