public CloudQueueClient createCloudQueueClient() {
        if (this.getQueueStorageUri() == null) {
            throw new IllegalArgumentException(SR.QUEUE_ENDPOINT_NOT_CONFIGURED);
        }

        if (this.credentials == null) {
            throw new IllegalArgumentException(SR.MISSING_CREDENTIALS);
        }

        if (!StorageCredentialsHelper.canCredentialsGenerateClient(this.credentials)) {
            
            throw new IllegalArgumentException(SR.CREDENTIALS_CANNOT_SIGN_REQUEST);
        }
        
        return new CloudQueueClient(this.getQueueStorageUri(), this.getCredentials());
    }
public CloudQueueClient createCloudQueueClient() {
        if (this.getQueueStorageUri() == null) {
            throw new IllegalArgumentException(SR.QUEUE_ENDPOINT_NOT_CONFIGURED);
        }

        if (this.credentials == null) {
            throw new IllegalArgumentException(SR.MISSING_CREDENTIALS);
        }

        if (!StorageCredentialsHelper.canCredentialsGenerateClient(this.credentials)) {
            
            throw new IllegalArgumentException(SR.CREDENTIALS_CANNOT_SIGN_REQUEST);
        }
        
        return new CloudQueueClient(this.getQueueStorageUri(), this.getCredentials());
    }
public CloudQueueClient createCloudQueueClient ( ) { if ( this . getQueueStorageUri ( ) == null ) { throw new IllegalArgumentException ( SR . QUEUE_ENDPOINT_NOT_CONFIGURED ) ; } if ( this . credentials == null ) { throw new IllegalArgumentException ( SR . MISSING_CREDENTIALS ) ; } if ( ! StorageCredentialsHelper . canCredentialsGenerateClient ( this . credentials ) ) { throw new IllegalArgumentException ( SR . CREDENTIALS_CANNOT_SIGN_REQUEST ) ; } return new CloudQueueClient ( this . getQueueStorageUri ( ) , this . getCredentials ( ) ) ; }
Creates a new Queue service client.

@return A client object that uses the Queue service endpoint.
Creates a new Queue service client .