StorageCredentialsAnonymous Class

  • java.lang.Object

public class StorageCredentialsAnonymous extends StorageCredentials

Represents credentials for anonymous access.

Field Summary

Modifier and Type Field and Description
final StorageCredentials ANONYMOUS

Stores the singleton instance of this class.

Method Summary

Modifier and Type Method and Description
StorageCredentials getInstance()

Returns the singleton instance of the class.

String toString(final boolean exportSecrets)

Returns a object that represents this instance.

StorageUri transformUri(StorageUri resourceUri, OperationContext opContext)
URI transformUri(URI resourceUri, OperationContext opContext)

Inherited Members

Field Details

ANONYMOUS

public static final StorageCredentials ANONYMOUS= new StorageCredentialsAnonymous()

Stores the singleton instance of this class.

Method Details

getInstance

protected static StorageCredentials getInstance()

Returns the singleton instance of the class.

Returns:

the singleton instance of this class

toString

public String toString(final boolean exportSecrets)

Returns a object that represents this instance.

Parameters:

exportSecrets -

true to include sensitive data in the string; otherwise, false

Returns:

a string representation of the credentials, optionally including sensitive data.

transformUri

public StorageUri transformUri(StorageUri resourceUri, OperationContext opContext)

Parameters:

resourceUri
opContext

transformUri

public URI transformUri(URI resourceUri, OperationContext opContext)

Parameters:

resourceUri
opContext

Applies to