Class AccessPolicy
- java.lang.Object
-
- com.azure.android.core.test.implementation.entities.AccessPolicy
-
public class AccessPolicy extends java.lang.Object
An Access policy.
-
-
Constructor Summary
Constructors Constructor Description AccessPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.threeten.bp.OffsetDateTime
expiry()
Get the expiry value.java.lang.String
permission()
Get the permission value.org.threeten.bp.OffsetDateTime
start()
Get the start value.AccessPolicy
withExpiry(org.threeten.bp.OffsetDateTime expiry)
Set the expiry value.AccessPolicy
withPermission(java.lang.String permission)
Set the permission value.AccessPolicy
withStart(org.threeten.bp.OffsetDateTime start)
Set the start value.
-
-
-
Method Detail
-
start
public org.threeten.bp.OffsetDateTime start()
Get the start value.- Returns:
- the start value
-
withStart
public AccessPolicy withStart(org.threeten.bp.OffsetDateTime start)
Set the start value.- Parameters:
start
- the start value to set- Returns:
- the AccessPolicy object itself.
-
expiry
public org.threeten.bp.OffsetDateTime expiry()
Get the expiry value.- Returns:
- the expiry value
-
withExpiry
public AccessPolicy withExpiry(org.threeten.bp.OffsetDateTime expiry)
Set the expiry value.- Parameters:
expiry
- the expiry value to set- Returns:
- the AccessPolicy object itself.
-
permission
public java.lang.String permission()
Get the permission value.- Returns:
- the permission value
-
withPermission
public AccessPolicy withPermission(java.lang.String permission)
Set the permission value.- Parameters:
permission
- the permission value to set- Returns:
- the AccessPolicy object itself.
-
-