public CloudTableClient createCloudTableClient ( ) { if ( this . getTableStorageUri ( ) == null ) { throw new IllegalArgumentException ( SR . TABLE_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 CloudTableClient ( this . getTableStorageUri ( ) , this . getCredentials ( ) ) ; }
Creates a new Table service client .