public class AccountSasParameters extends Object
Constructor and Description |
---|
AccountSasParameters() |
Modifier and Type | Method and Description |
---|---|
String |
iPAddressOrRange()
Get an IP address or a range of IP addresses from which to accept requests.
|
String |
keyToSign()
Get the key to sign the account SAS token with.
|
Permissions |
permissions()
Get the signed permissions for the account SAS.
|
HttpProtocol |
protocols()
Get the protocol permitted for a request made with the account SAS.
|
SignedResourceTypes |
resourceTypes()
Get the signed resource types that are accessible with the account SAS.
|
Services |
services()
Get the signed services accessible with the account SAS.
|
org.joda.time.DateTime |
sharedAccessExpiryTime()
Get the time at which the shared access signature becomes invalid.
|
org.joda.time.DateTime |
sharedAccessStartTime()
Get the time at which the SAS becomes valid.
|
AccountSasParameters |
withIPAddressOrRange(String iPAddressOrRange)
Set an IP address or a range of IP addresses from which to accept requests.
|
AccountSasParameters |
withKeyToSign(String keyToSign)
Set the key to sign the account SAS token with.
|
AccountSasParameters |
withPermissions(Permissions permissions)
Set the signed permissions for the account SAS.
|
AccountSasParameters |
withProtocols(HttpProtocol protocols)
Set the protocol permitted for a request made with the account SAS.
|
AccountSasParameters |
withResourceTypes(SignedResourceTypes resourceTypes)
Set the signed resource types that are accessible with the account SAS.
|
AccountSasParameters |
withServices(Services services)
Set the signed services accessible with the account SAS.
|
AccountSasParameters |
withSharedAccessExpiryTime(org.joda.time.DateTime sharedAccessExpiryTime)
Set the time at which the shared access signature becomes invalid.
|
AccountSasParameters |
withSharedAccessStartTime(org.joda.time.DateTime sharedAccessStartTime)
Set the time at which the SAS becomes valid.
|
public Services services()
public AccountSasParameters withServices(Services services)
services
- the services value to setpublic SignedResourceTypes resourceTypes()
public AccountSasParameters withResourceTypes(SignedResourceTypes resourceTypes)
resourceTypes
- the resourceTypes value to setpublic Permissions permissions()
public AccountSasParameters withPermissions(Permissions permissions)
permissions
- the permissions value to setpublic String iPAddressOrRange()
public AccountSasParameters withIPAddressOrRange(String iPAddressOrRange)
iPAddressOrRange
- the iPAddressOrRange value to setpublic HttpProtocol protocols()
public AccountSasParameters withProtocols(HttpProtocol protocols)
protocols
- the protocols value to setpublic org.joda.time.DateTime sharedAccessStartTime()
public AccountSasParameters withSharedAccessStartTime(org.joda.time.DateTime sharedAccessStartTime)
sharedAccessStartTime
- the sharedAccessStartTime value to setpublic org.joda.time.DateTime sharedAccessExpiryTime()
public AccountSasParameters withSharedAccessExpiryTime(org.joda.time.DateTime sharedAccessExpiryTime)
sharedAccessExpiryTime
- the sharedAccessExpiryTime value to setpublic String keyToSign()
public AccountSasParameters withKeyToSign(String keyToSign)
keyToSign
- the keyToSign value to setCopyright © 2019. All rights reserved.