public final class AccessCondition extends Object
Constructor and Description |
---|
AccessCondition() |
Modifier and Type | Method and Description |
---|---|
String |
getCondition()
Gets the value of the condition - for AccessConditionType IfMatchs and IfNotMatch, this is the ETag that has to
be compared to.
|
AccessConditionType |
getType()
Gets the condition type.
|
AccessCondition |
setCondition(String condition)
Sets the value of the condition - for AccessConditionType IfMatchs and IfNotMatch, this is the ETag that has to
be compared to.
|
AccessCondition |
setType(AccessConditionType type)
Sets the condition type.
|
public AccessConditionType getType()
public AccessCondition setType(AccessConditionType type)
type
- the condition type to use.public String getCondition()
public AccessCondition setCondition(String condition)
condition
- the condition to use.Copyright © 2020 Microsoft Corporation. All rights reserved.