AzureQueueStorageImpl.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.storage.queue.implementation;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
import com.azure.core.http.policy.CookiePolicy;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
/**
* Initializes a new instance of the AzureQueueStorage type.
*/
public final class AzureQueueStorageImpl {
/**
* The URL of the service account, queue or message that is the targe of the desired operation.
*/
private String url;
/**
* Gets The URL of the service account, queue or message that is the targe of the desired operation.
*
* @return the url value.
*/
public String getUrl() {
return this.url;
}
/**
* Sets The URL of the service account, queue or message that is the targe of the desired operation.
*
* @param url the url value.
*/
AzureQueueStorageImpl setUrl(String url) {
this.url = url;
return this;
}
/**
* Specifies the version of the operation to use for this request.
*/
private String version;
/**
* Gets Specifies the version of the operation to use for this request.
*
* @return the version value.
*/
public String getVersion() {
return this.version;
}
/**
* Sets Specifies the version of the operation to use for this request.
*
* @param version the version value.
*/
AzureQueueStorageImpl setVersion(String version) {
this.version = version;
return this;
}
/**
* The HTTP pipeline to send requests through.
*/
private HttpPipeline httpPipeline;
/**
* Gets The HTTP pipeline to send requests through.
*
* @return the httpPipeline value.
*/
public HttpPipeline getHttpPipeline() {
return this.httpPipeline;
}
/**
* The ServicesImpl object to access its operations.
*/
private ServicesImpl services;
/**
* Gets the ServicesImpl object to access its operations.
*
* @return the ServicesImpl object.
*/
public ServicesImpl services() {
return this.services;
}
/**
* The QueuesImpl object to access its operations.
*/
private QueuesImpl queues;
/**
* Gets the QueuesImpl object to access its operations.
*
* @return the QueuesImpl object.
*/
public QueuesImpl queues() {
return this.queues;
}
/**
* The MessagesImpl object to access its operations.
*/
private MessagesImpl messages;
/**
* Gets the MessagesImpl object to access its operations.
*
* @return the MessagesImpl object.
*/
public MessagesImpl messages() {
return this.messages;
}
/**
* The MessageIdsImpl object to access its operations.
*/
private MessageIdsImpl messageIds;
/**
* Gets the MessageIdsImpl object to access its operations.
*
* @return the MessageIdsImpl object.
*/
public MessageIdsImpl messageIds() {
return this.messageIds;
}
/**
* Initializes an instance of AzureQueueStorage client.
*/
public AzureQueueStorageImpl() {
this(new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()).build());
}
/**
* Initializes an instance of AzureQueueStorage client.
*
* @param httpPipeline The HTTP pipeline to send requests through.
*/
public AzureQueueStorageImpl(HttpPipeline httpPipeline) {
this.httpPipeline = httpPipeline;
this.services = new ServicesImpl(this);
this.queues = new QueuesImpl(this);
this.messages = new MessagesImpl(this);
this.messageIds = new MessageIdsImpl(this);
}
}