Skip to content

Commit

Permalink
Updated names of async APIs (#23144)
Browse files Browse the repository at this point in the history
  • Loading branch information
gapra-msft authored Jul 22, 2021
1 parent 70428a0 commit 1f26bd1
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public class EncryptedBlobAsyncClient extends BlobAsyncClient {
* @return a {@link EncryptedBlobAsyncClient} with the specified {@code encryptionScope}.
*/
@Override
public EncryptedBlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
public EncryptedBlobAsyncClient getEncryptionScopeAsyncClient(String encryptionScope) {
EncryptionScope finalEncryptionScope = null;
if (encryptionScope != null) {
finalEncryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope);
Expand All @@ -145,7 +145,7 @@ public EncryptedBlobAsyncClient getEncryptionScopeClient(String encryptionScope)
* @return a {@link EncryptedBlobAsyncClient} with the specified {@code customerProvidedKey}.
*/
@Override
public EncryptedBlobAsyncClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
public EncryptedBlobAsyncClient getCustomerProvidedKeyAsyncClient(CustomerProvidedKey customerProvidedKey) {
CpkInfo finalCustomerProvidedKey = null;
if (customerProvidedKey != null) {
finalCustomerProvidedKey = new CpkInfo()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class EncryptedBlobClient extends BlobClient {
*/
@Override
public EncryptedBlobClient getEncryptionScopeClient(String encryptionScope) {
return new EncryptedBlobClient(encryptedBlobAsyncClient.getEncryptionScopeClient(encryptionScope));
return new EncryptedBlobClient(encryptedBlobAsyncClient.getEncryptionScopeAsyncClient(encryptionScope));
}

/**
Expand All @@ -94,7 +94,7 @@ public EncryptedBlobClient getEncryptionScopeClient(String encryptionScope) {
*/
@Override
public EncryptedBlobClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
return new EncryptedBlobClient(encryptedBlobAsyncClient.getCustomerProvidedKeyClient(customerProvidedKey));
return new EncryptedBlobClient(encryptedBlobAsyncClient.getCustomerProvidedKeyAsyncClient(customerProvidedKey));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public BlobAsyncClient getVersionClient(String versionId) {
* @return a {@link BlobAsyncClient} with the specified {@code encryptionScope}.
*/
@Override
public BlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
public BlobAsyncClient getEncryptionScopeAsyncClient(String encryptionScope) {
EncryptionScope finalEncryptionScope = null;
if (encryptionScope != null) {
finalEncryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope);
Expand All @@ -213,7 +213,7 @@ public BlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
* @return a {@link BlobAsyncClient} with the specified {@code customerProvidedKey}.
*/
@Override
public BlobAsyncClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
public BlobAsyncClient getCustomerProvidedKeyAsyncClient(CustomerProvidedKey customerProvidedKey) {
CpkInfo finalCustomerProvidedKey = null;
if (customerProvidedKey != null) {
finalCustomerProvidedKey = new CpkInfo()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public BlobClient getVersionClient(String versionId) {
*/
@Override
public BlobClient getEncryptionScopeClient(String encryptionScope) {
return new BlobClient(client.getEncryptionScopeClient(encryptionScope));
return new BlobClient(client.getEncryptionScopeAsyncClient(encryptionScope));
}

/**
Expand All @@ -127,7 +127,7 @@ public BlobClient getEncryptionScopeClient(String encryptionScope) {
*/
@Override
public BlobClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
return new BlobClient(client.getCustomerProvidedKeyClient(customerProvidedKey));
return new BlobClient(client.getCustomerProvidedKeyAsyncClient(customerProvidedKey));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public final class AppendBlobAsyncClient extends BlobAsyncClientBase {
* @return a {@link AppendBlobAsyncClient} with the specified {@code encryptionScope}.
*/
@Override
public AppendBlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
public AppendBlobAsyncClient getEncryptionScopeAsyncClient(String encryptionScope) {
EncryptionScope finalEncryptionScope = null;
if (encryptionScope != null) {
finalEncryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope);
Expand All @@ -126,7 +126,7 @@ public AppendBlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
* @return a {@link AppendBlobAsyncClient} with the specified {@code customerProvidedKey}.
*/
@Override
public AppendBlobAsyncClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
public AppendBlobAsyncClient getCustomerProvidedKeyAsyncClient(CustomerProvidedKey customerProvidedKey) {
CpkInfo finalCustomerProvidedKey = null;
if (customerProvidedKey != null) {
finalCustomerProvidedKey = new CpkInfo()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public final class AppendBlobClient extends BlobClientBase {
*/
@Override
public AppendBlobClient getEncryptionScopeClient(String encryptionScope) {
return new AppendBlobClient(appendBlobAsyncClient.getEncryptionScopeClient(encryptionScope));
return new AppendBlobClient(appendBlobAsyncClient.getEncryptionScopeAsyncClient(encryptionScope));
}

/**
Expand All @@ -94,7 +94,7 @@ public AppendBlobClient getEncryptionScopeClient(String encryptionScope) {
*/
@Override
public AppendBlobClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
return new AppendBlobClient(appendBlobAsyncClient.getCustomerProvidedKeyClient(customerProvidedKey));
return new AppendBlobClient(appendBlobAsyncClient.getCustomerProvidedKeyAsyncClient(customerProvidedKey));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public BlobAsyncClientBase getVersionClient(String versionId) {
* @param encryptionScope the encryption scope for the blob, pass {@code null} to use no encryption scope.
* @return a {@link BlobAsyncClientBase} with the specified {@code encryptionScope}.
*/
public BlobAsyncClientBase getEncryptionScopeClient(String encryptionScope) {
public BlobAsyncClientBase getEncryptionScopeAsyncClient(String encryptionScope) {
EncryptionScope finalEncryptionScope = null;
if (encryptionScope != null) {
finalEncryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope);
Expand All @@ -278,7 +278,7 @@ public BlobAsyncClientBase getEncryptionScopeClient(String encryptionScope) {
* pass {@code null} to use no customer provided key.
* @return a {@link BlobAsyncClientBase} with the specified {@code customerProvidedKey}.
*/
public BlobAsyncClientBase getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
public BlobAsyncClientBase getCustomerProvidedKeyAsyncClient(CustomerProvidedKey customerProvidedKey) {
CpkInfo finalCustomerProvidedKey = null;
if (customerProvidedKey != null) {
finalCustomerProvidedKey = new CpkInfo()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public BlobClientBase getVersionClient(String versionId) {
* @return a {@link BlobClientBase} with the specified {@code encryptionScope}.
*/
public BlobClientBase getEncryptionScopeClient(String encryptionScope) {
return new BlobClientBase(client.getEncryptionScopeClient(encryptionScope));
return new BlobClientBase(client.getEncryptionScopeAsyncClient(encryptionScope));
}

/**
Expand All @@ -132,7 +132,7 @@ public BlobClientBase getEncryptionScopeClient(String encryptionScope) {
* @return a {@link BlobClientBase} with the specified {@code customerProvidedKey}.
*/
public BlobClientBase getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
return new BlobClientBase(client.getCustomerProvidedKeyClient(customerProvidedKey));
return new BlobClientBase(client.getCustomerProvidedKeyAsyncClient(customerProvidedKey));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public final class BlockBlobAsyncClient extends BlobAsyncClientBase {
* @return a {@link BlockBlobAsyncClient} with the specified {@code encryptionScope}.
*/
@Override
public BlockBlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
public BlockBlobAsyncClient getEncryptionScopeAsyncClient(String encryptionScope) {
EncryptionScope finalEncryptionScope = null;
if (encryptionScope != null) {
finalEncryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope);
Expand All @@ -146,7 +146,7 @@ public BlockBlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
* @return a {@link BlockBlobAsyncClient} with the specified {@code customerProvidedKey}.
*/
@Override
public BlockBlobAsyncClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
public BlockBlobAsyncClient getCustomerProvidedKeyAsyncClient(CustomerProvidedKey customerProvidedKey) {
CpkInfo finalCustomerProvidedKey = null;
if (customerProvidedKey != null) {
finalCustomerProvidedKey = new CpkInfo()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public final class BlockBlobClient extends BlobClientBase {
*/
@Override
public BlockBlobClient getEncryptionScopeClient(String encryptionScope) {
return new BlockBlobClient(client.getEncryptionScopeClient(encryptionScope));
return new BlockBlobClient(client.getEncryptionScopeAsyncClient(encryptionScope));
}

/**
Expand All @@ -115,7 +115,7 @@ public BlockBlobClient getEncryptionScopeClient(String encryptionScope) {
*/
@Override
public BlockBlobClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
return new BlockBlobClient(client.getCustomerProvidedKeyClient(customerProvidedKey));
return new BlockBlobClient(client.getCustomerProvidedKeyAsyncClient(customerProvidedKey));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public final class PageBlobAsyncClient extends BlobAsyncClientBase {
* @return a {@link PageBlobAsyncClient} with the specified {@code encryptionScope}.
*/
@Override
public PageBlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
public PageBlobAsyncClient getEncryptionScopeAsyncClient(String encryptionScope) {
EncryptionScope finalEncryptionScope = null;
if (encryptionScope != null) {
finalEncryptionScope = new EncryptionScope().setEncryptionScope(encryptionScope);
Expand All @@ -129,7 +129,7 @@ public PageBlobAsyncClient getEncryptionScopeClient(String encryptionScope) {
* @return a {@link PageBlobAsyncClient} with the specified {@code customerProvidedKey}.
*/
@Override
public PageBlobAsyncClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
public PageBlobAsyncClient getCustomerProvidedKeyAsyncClient(CustomerProvidedKey customerProvidedKey) {
CpkInfo finalCustomerProvidedKey = null;
if (customerProvidedKey != null) {
finalCustomerProvidedKey = new CpkInfo()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public final class PageBlobClient extends BlobClientBase {
*/
@Override
public PageBlobClient getEncryptionScopeClient(String encryptionScope) {
return new PageBlobClient(pageBlobAsyncClient.getEncryptionScopeClient(encryptionScope));
return new PageBlobClient(pageBlobAsyncClient.getEncryptionScopeAsyncClient(encryptionScope));
}

/**
Expand All @@ -92,7 +92,7 @@ public PageBlobClient getEncryptionScopeClient(String encryptionScope) {
*/
@Override
public PageBlobClient getCustomerProvidedKeyClient(CustomerProvidedKey customerProvidedKey) {
return new PageBlobClient(pageBlobAsyncClient.getCustomerProvidedKeyClient(customerProvidedKey));
return new PageBlobClient(pageBlobAsyncClient.getCustomerProvidedKeyAsyncClient(customerProvidedKey));
}

/**
Expand Down

0 comments on commit 1f26bd1

Please sign in to comment.