public final class AccessPolicy extends Object
Constructor and Description |
---|
AccessPolicy() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
expiry()
Get the expiry value.
|
String |
permission()
Get the permission value.
|
OffsetDateTime |
start()
Get the start value.
|
AccessPolicy |
withExpiry(OffsetDateTime expiry)
Set the expiry value.
|
AccessPolicy |
withPermission(String permission)
Set the permission value.
|
AccessPolicy |
withStart(OffsetDateTime start)
Set the start value.
|
public OffsetDateTime start()
public AccessPolicy withStart(OffsetDateTime start)
start
- the start value to set.public OffsetDateTime expiry()
public AccessPolicy withExpiry(OffsetDateTime expiry)
expiry
- the expiry value to set.public String permission()
public AccessPolicy withPermission(String permission)
permission
- the permission value to set.Copyright © 2018. All rights reserved.