TableAccessPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. TableAccessPolicy
- com.
Implements
public final class TableAccessPolicy
implements JsonSerializable<TableAccessPolicy>
Table Access Policy Properties Object.
Constructor Summary
| Constructor | Description |
|---|---|
| TableAccessPolicy() |
Creates an instance of Table |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
expiryTime()
Get the expiry |
|
static
Table |
fromJson(JsonReader jsonReader)
Reads an instance of Table |
| String |
permission()
Get the permission property: Required. |
|
Offset |
startTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Table |
withExpiryTime(OffsetDateTime expiryTime)
Set the expiry |
|
Table |
withPermission(String permission)
Set the permission property: Required. |
|
Table |
withStartTime(OffsetDateTime startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
TableAccessPolicy
public TableAccessPolicy()
Creates an instance of TableAccessPolicy class.
Method Details
expiryTime
public OffsetDateTime expiryTime()
Get the expiryTime property: Expiry time of the access policy.
Returns:
fromJson
public static TableAccessPolicy fromJson(JsonReader jsonReader)
Reads an instance of TableAccessPolicy from the JsonReader.
Parameters:
Returns:
Throws:
permission
public String permission()
Get the permission property: Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the access policy.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExpiryTime
public TableAccessPolicy withExpiryTime(OffsetDateTime expiryTime)
Set the expiryTime property: Expiry time of the access policy.
Parameters:
Returns:
withPermission
public TableAccessPolicy withPermission(String permission)
Set the permission property: Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'.
Parameters:
Returns:
withStartTime
public TableAccessPolicy withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the access policy.
Parameters:
Returns: