Package com.azure.storage.blob.models
Class UserDelegationKey
- java.lang.Object
-
- com.azure.storage.blob.models.UserDelegationKey
-
public final class UserDelegationKey extends Object
A user delegation key.
-
-
Constructor Summary
Constructors Constructor Description UserDelegationKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getSignedExpiry()
Get the signedExpiry property: The date-time the key expires.String
getSignedObjectId()
Get the signedObjectId property: The Azure Active Directory object ID in GUID format.String
getSignedService()
Get the signedService property: Abbreviation of the Azure Storage service that accepts the key.OffsetDateTime
getSignedStart()
Get the signedStart property: The date-time the key is active.String
getSignedTenantId()
Get the signedTenantId property: The Azure Active Directory tenant ID in GUID format.String
getSignedVersion()
Get the signedVersion property: The service version that created the key.String
getValue()
Get the value property: The key as a base64 string.UserDelegationKey
setSignedExpiry(OffsetDateTime signedExpiry)
Set the signedExpiry property: The date-time the key expires.UserDelegationKey
setSignedObjectId(String signedObjectId)
Set the signedObjectId property: The Azure Active Directory object ID in GUID format.UserDelegationKey
setSignedService(String signedService)
Set the signedService property: Abbreviation of the Azure Storage service that accepts the key.UserDelegationKey
setSignedStart(OffsetDateTime signedStart)
Set the signedStart property: The date-time the key is active.UserDelegationKey
setSignedTenantId(String signedTenantId)
Set the signedTenantId property: The Azure Active Directory tenant ID in GUID format.UserDelegationKey
setSignedVersion(String signedVersion)
Set the signedVersion property: The service version that created the key.UserDelegationKey
setValue(String value)
Set the value property: The key as a base64 string.
-
-
-
Method Detail
-
getSignedObjectId
public String getSignedObjectId()
Get the signedObjectId property: The Azure Active Directory object ID in GUID format.- Returns:
- the signedObjectId value.
-
setSignedObjectId
public UserDelegationKey setSignedObjectId(String signedObjectId)
Set the signedObjectId property: The Azure Active Directory object ID in GUID format.- Parameters:
signedObjectId
- the signedObjectId value to set.- Returns:
- the UserDelegationKey object itself.
-
getSignedTenantId
public String getSignedTenantId()
Get the signedTenantId property: The Azure Active Directory tenant ID in GUID format.- Returns:
- the signedTenantId value.
-
setSignedTenantId
public UserDelegationKey setSignedTenantId(String signedTenantId)
Set the signedTenantId property: The Azure Active Directory tenant ID in GUID format.- Parameters:
signedTenantId
- the signedTenantId value to set.- Returns:
- the UserDelegationKey object itself.
-
getSignedStart
public OffsetDateTime getSignedStart()
Get the signedStart property: The date-time the key is active.- Returns:
- the signedStart value.
-
setSignedStart
public UserDelegationKey setSignedStart(OffsetDateTime signedStart)
Set the signedStart property: The date-time the key is active.- Parameters:
signedStart
- the signedStart value to set.- Returns:
- the UserDelegationKey object itself.
-
getSignedExpiry
public OffsetDateTime getSignedExpiry()
Get the signedExpiry property: The date-time the key expires.- Returns:
- the signedExpiry value.
-
setSignedExpiry
public UserDelegationKey setSignedExpiry(OffsetDateTime signedExpiry)
Set the signedExpiry property: The date-time the key expires.- Parameters:
signedExpiry
- the signedExpiry value to set.- Returns:
- the UserDelegationKey object itself.
-
getSignedService
public String getSignedService()
Get the signedService property: Abbreviation of the Azure Storage service that accepts the key.- Returns:
- the signedService value.
-
setSignedService
public UserDelegationKey setSignedService(String signedService)
Set the signedService property: Abbreviation of the Azure Storage service that accepts the key.- Parameters:
signedService
- the signedService value to set.- Returns:
- the UserDelegationKey object itself.
-
getSignedVersion
public String getSignedVersion()
Get the signedVersion property: The service version that created the key.- Returns:
- the signedVersion value.
-
setSignedVersion
public UserDelegationKey setSignedVersion(String signedVersion)
Set the signedVersion property: The service version that created the key.- Parameters:
signedVersion
- the signedVersion value to set.- Returns:
- the UserDelegationKey object itself.
-
getValue
public String getValue()
Get the value property: The key as a base64 string.- Returns:
- the value value.
-
setValue
public UserDelegationKey setValue(String value)
Set the value property: The key as a base64 string.- Parameters:
value
- the value value to set.- Returns:
- the UserDelegationKey object itself.
-
-