Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.storage.implementation; import com.microsoft.azure.management.storage.CorsRules; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.ProxyResource;
The properties of a storage account’s Queue service.
/** * The properties of a storage account’s Queue service. */
@JsonFlatten public class QueueServicePropertiesInner extends ProxyResource {
Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service.
/** * Specifies CORS rules for the Queue service. You can include up to five * CorsRule elements in the request. If no CorsRule elements are included * in the request body, all CORS rules will be deleted, and CORS will be * disabled for the Queue service. */
@JsonProperty(value = "properties.cors") private CorsRules cors;
Get specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service.
Returns:the cors value
/** * Get specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service. * * @return the cors value */
public CorsRules cors() { return this.cors; }
Set specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service.
Params:
  • cors – the cors value to set
Returns:the QueueServicePropertiesInner object itself.
/** * Set specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service. * * @param cors the cors value to set * @return the QueueServicePropertiesInner object itself. */
public QueueServicePropertiesInner withCors(CorsRules cors) { this.cors = cors; return this; } }