UserDelegationKey Class
- java.
lang. Object - com.
azure. storage. blob. models. UserDelegationKey
- com.
Implements
public final class UserDelegationKey
implements XmlSerializable<UserDelegationKey>
A user delegation key.
Constructor Summary
Constructor | Description |
---|---|
UserDelegationKey() |
Creates an instance of User |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
User |
fromXml(XmlReader xmlReader)
Reads an instance of User |
static
User |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of User |
Offset |
getSignedExpiry()
Get the signed |
String |
getSignedObjectId()
Get the signed |
String |
getSignedService()
Get the signed |
Offset |
getSignedStart()
Get the signed |
String |
getSignedTenantId()
Get the signed |
String |
getSignedVersion()
Get the signed |
String |
getValue()
Get the value property: The key as a base64 string. |
User |
setSignedExpiry(OffsetDateTime signedExpiry)
Set the signed |
User |
setSignedObjectId(String signedObjectId)
Set the signed |
User |
setSignedService(String signedService)
Set the signed |
User |
setSignedStart(OffsetDateTime signedStart)
Set the signed |
User |
setSignedTenantId(String signedTenantId)
Set the signed |
User |
setSignedVersion(String signedVersion)
Set the signed |
User |
setValue(String value)
Set the value property: The key as a base64 string. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
UserDelegationKey
public UserDelegationKey()
Creates an instance of UserDelegationKey class.
Method Details
fromXml
public static UserDelegationKey fromXml(XmlReader xmlReader)
Reads an instance of UserDelegationKey from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static UserDelegationKey fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of UserDelegationKey from the XmlReader.
Parameters:
Returns:
Throws:
getSignedExpiry
public OffsetDateTime getSignedExpiry()
Get the signedExpiry property: The date-time the key expires.
Returns:
getSignedObjectId
public String getSignedObjectId()
Get the signedObjectId property: The Azure Active Directory object ID in GUID format.
Returns:
getSignedService
public String getSignedService()
Get the signedService property: Abbreviation of the Azure Storage service that accepts the key.
Returns:
getSignedStart
public OffsetDateTime getSignedStart()
Get the signedStart property: The date-time the key is active.
Returns:
getSignedTenantId
public String getSignedTenantId()
Get the signedTenantId property: The Azure Active Directory tenant ID in GUID format.
Returns:
getSignedVersion
public String getSignedVersion()
Get the signedVersion property: The service version that created the key.
Returns:
getValue
public String getValue()
Get the value property: The key as a base64 string.
Returns:
setSignedExpiry
public UserDelegationKey setSignedExpiry(OffsetDateTime signedExpiry)
Set the signedExpiry property: The date-time the key expires.
Parameters:
Returns:
setSignedObjectId
public UserDelegationKey setSignedObjectId(String signedObjectId)
Set the signedObjectId property: The Azure Active Directory object ID in GUID format.
Parameters:
Returns:
setSignedService
public UserDelegationKey setSignedService(String signedService)
Set the signedService property: Abbreviation of the Azure Storage service that accepts the key.
Parameters:
Returns:
setSignedStart
public UserDelegationKey setSignedStart(OffsetDateTime signedStart)
Set the signedStart property: The date-time the key is active.
Parameters:
Returns:
setSignedTenantId
public UserDelegationKey setSignedTenantId(String signedTenantId)
Set the signedTenantId property: The Azure Active Directory tenant ID in GUID format.
Parameters:
Returns:
setSignedVersion
public UserDelegationKey setSignedVersion(String signedVersion)
Set the signedVersion property: The service version that created the key.
Parameters:
Returns:
setValue
public UserDelegationKey setValue(String value)
Set the value property: The key as a base64 string.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java