Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ known_content_issues:
- ['sdk/cosmos/changelog/README.md', '#3113']
- ['sdk/cosmos/microsoft-azure-cosmos-benchmark/README.md', '#3113']
- ['sdk/cosmos/README.md', '#3113']
- ['sdk/storage/azure-storage-blob/swagger/README.md', '#3113']
- ['sdk/storage/azure-storage-queue/swagger/README.md', '#3113']
- ['sdk/storage/azure-storage-file/swagger/README.md', '#3113']
package_indexing_exclusion_list:
- azure-loganalytics-sample
- azure-applicationinsights-query-sample

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import com.azure.core.http.HttpPipeline;
import com.azure.core.implementation.RestProxy;
import com.azure.core.implementation.annotation.ServiceClientBuilder;
import com.azure.storage.blob.models.PathRenameMode;

/**
* A builder for creating a new instance of the AzureBlobStorage type.
Expand Down Expand Up @@ -45,6 +46,38 @@ public AzureBlobStorageBuilder version(String version) {
return this;
}

/*
* The filter parameter enables the caller to query blobs whose tags match a given expression. The given expression must evaluate to true for a blob to be returned in the results.
*/
private String filter;

/**
* Sets The filter parameter enables the caller to query blobs whose tags match a given expression. The given expression must evaluate to true for a blob to be returned in the results.
*
* @param filter the filter value.
* @return the AzureBlobStorageBuilder.
*/
public AzureBlobStorageBuilder filter(String filter) {
this.filter = filter;
return this;
}

/*
* Determines the behavior of the rename operation. Possible values include: 'legacy', 'posix'
*/
private PathRenameMode pathRenameMode;

/**
* Sets Determines the behavior of the rename operation. Possible values include: 'legacy', 'posix'.
*
* @param pathRenameMode the pathRenameMode value.
* @return the AzureBlobStorageBuilder.
*/
public AzureBlobStorageBuilder pathRenameMode(PathRenameMode pathRenameMode) {
this.pathRenameMode = pathRenameMode;
return this;
}

/*
* The HTTP pipeline to send requests through
*/
Expand All @@ -67,6 +100,9 @@ public AzureBlobStorageBuilder pipeline(HttpPipeline pipeline) {
* @return an instance of AzureBlobStorageImpl.
*/
public AzureBlobStorageImpl build() {
if (version == null) {
this.version = "2019-02-02";
}
if (pipeline == null) {
this.pipeline = RestProxy.createDefaultPipeline();
}
Expand All @@ -76,8 +112,12 @@ public AzureBlobStorageImpl build() {
}
if (this.version != null) {
client.setVersion(this.version);
} else {
client.setVersion("2018-11-09");
}
if (this.filter != null) {
client.setFilter(this.filter);
}
if (this.pathRenameMode != null) {
client.setPathRenameMode(this.pathRenameMode);
}
return client;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import com.azure.core.http.HttpPipeline;
import com.azure.core.implementation.RestProxy;
import com.azure.storage.blob.models.PathRenameMode;

/**
* Initializes a new instance of the AzureBlobStorage type.
Expand All @@ -29,9 +30,11 @@ public String getUrl() {
* Sets The URL of the service account, container, or blob that is the targe of the desired operation.
*
* @param url the url value.
* @return the service client itself.
*/
void setUrl(String url) {
AzureBlobStorageImpl setUrl(String url) {
this.url = url;
return this;
}

/**
Expand All @@ -52,9 +55,61 @@ public String getVersion() {
* Sets Specifies the version of the operation to use for this request.
*
* @param version the version value.
* @return the service client itself.
*/
void setVersion(String version) {
AzureBlobStorageImpl setVersion(String version) {
this.version = version;
return this;
}

/**
* The filter parameter enables the caller to query blobs whose tags match a given expression. The given expression must evaluate to true for a blob to be returned in the results.
*/
private String filter;

/**
* Gets The filter parameter enables the caller to query blobs whose tags match a given expression. The given expression must evaluate to true for a blob to be returned in the results.
*
* @return the filter value.
*/
public String getFilter() {
return this.filter;
}

/**
* Sets The filter parameter enables the caller to query blobs whose tags match a given expression. The given expression must evaluate to true for a blob to be returned in the results.
*
* @param filter the filter value.
* @return the service client itself.
*/
AzureBlobStorageImpl setFilter(String filter) {
this.filter = filter;
return this;
}

/**
* Determines the behavior of the rename operation. Possible values include: 'legacy', 'posix'.
*/
private PathRenameMode pathRenameMode;

/**
* Gets Determines the behavior of the rename operation. Possible values include: 'legacy', 'posix'.
*
* @return the pathRenameMode value.
*/
public PathRenameMode getPathRenameMode() {
return this.pathRenameMode;
}

/**
* Sets Determines the behavior of the rename operation. Possible values include: 'legacy', 'posix'.
*
* @param pathRenameMode the pathRenameMode value.
* @return the service client itself.
*/
AzureBlobStorageImpl setPathRenameMode(PathRenameMode pathRenameMode) {
this.pathRenameMode = pathRenameMode;
return this;
}

/**
Expand Down Expand Up @@ -99,6 +154,20 @@ public ContainersImpl containers() {
return this.containers;
}

/**
* The DirectorysImpl object to access its operations.
*/
private DirectorysImpl directorys;

/**
* Gets the DirectorysImpl object to access its operations.
*
* @return the DirectorysImpl object.
*/
public DirectorysImpl directorys() {
return this.directorys;
}

/**
* The BlobsImpl object to access its operations.
*/
Expand Down Expand Up @@ -171,6 +240,7 @@ public AzureBlobStorageImpl(HttpPipeline httpPipeline) {
this.httpPipeline = httpPipeline;
this.services = new ServicesImpl(this);
this.containers = new ContainersImpl(this);
this.directorys = new DirectorysImpl(this);
this.blobs = new BlobsImpl(this);
this.pageBlobs = new PageBlobsImpl(this);
this.appendBlobs = new AppendBlobsImpl(this);
Expand Down
Loading