共用方式為


UserDelegationKey Class

  • java.lang.Object
    • com.azure.storage.file.datalake.models.UserDelegationKey

public final class UserDelegationKey

A user delegation key.

Constructor Summary

Constructor Description
UserDelegationKey()

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

UserDelegationKey

public UserDelegationKey()

Method Details

getSignedExpiry

public OffsetDateTime getSignedExpiry()

Get the signedExpiry property: The date-time the key expires.

Returns:

the signedExpiry value.

getSignedObjectId

public String getSignedObjectId()

Get the signedObjectId property: The Azure Active Directory object ID in GUID format.

Returns:

the signedObjectId value.

getSignedService

public String getSignedService()

Get the signedService property: Abbreviation of the Azure Storage service that accepts the key.

Returns:

the signedService value.

getSignedStart

public OffsetDateTime getSignedStart()

Get the signedStart property: The date-time the key is active.

Returns:

the signedStart value.

getSignedTenantId

public String getSignedTenantId()

Get the signedTenantId property: The Azure Active Directory tenant ID in GUID format.

Returns:

the signedTenantId value.

getSignedVersion

public String getSignedVersion()

Get the signedVersion property: The service version that created the key.

Returns:

the signedVersion value.

getValue

public String getValue()

Get the value property: The key as a base64 string.

Returns:

the value 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.

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.

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.

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.

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.

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.

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.

Applies to