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.OperationDisplay; import com.microsoft.azure.management.storage.ServiceSpecification; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
Storage REST API operation definition.
/** * Storage REST API operation definition. */
@JsonFlatten public class OperationInner {
Operation name: {provider}/{resource}/{operation}.
/** * Operation name: {provider}/{resource}/{operation}. */
@JsonProperty(value = "name") private String name;
Display metadata associated with the operation.
/** * Display metadata associated with the operation. */
@JsonProperty(value = "display") private OperationDisplay display;
The origin of operations.
/** * The origin of operations. */
@JsonProperty(value = "origin") private String origin;
One property of operation, include metric specifications.
/** * One property of operation, include metric specifications. */
@JsonProperty(value = "properties.serviceSpecification") private ServiceSpecification serviceSpecification;
Get operation name: {provider}/{resource}/{operation}.
Returns:the name value
/** * Get operation name: {provider}/{resource}/{operation}. * * @return the name value */
public String name() { return this.name; }
Set operation name: {provider}/{resource}/{operation}.
Params:
  • name – the name value to set
Returns:the OperationInner object itself.
/** * Set operation name: {provider}/{resource}/{operation}. * * @param name the name value to set * @return the OperationInner object itself. */
public OperationInner withName(String name) { this.name = name; return this; }
Get display metadata associated with the operation.
Returns:the display value
/** * Get display metadata associated with the operation. * * @return the display value */
public OperationDisplay display() { return this.display; }
Set display metadata associated with the operation.
Params:
  • display – the display value to set
Returns:the OperationInner object itself.
/** * Set display metadata associated with the operation. * * @param display the display value to set * @return the OperationInner object itself. */
public OperationInner withDisplay(OperationDisplay display) { this.display = display; return this; }
Get the origin of operations.
Returns:the origin value
/** * Get the origin of operations. * * @return the origin value */
public String origin() { return this.origin; }
Set the origin of operations.
Params:
  • origin – the origin value to set
Returns:the OperationInner object itself.
/** * Set the origin of operations. * * @param origin the origin value to set * @return the OperationInner object itself. */
public OperationInner withOrigin(String origin) { this.origin = origin; return this; }
Get one property of operation, include metric specifications.
Returns:the serviceSpecification value
/** * Get one property of operation, include metric specifications. * * @return the serviceSpecification value */
public ServiceSpecification serviceSpecification() { return this.serviceSpecification; }
Set one property of operation, include metric specifications.
Params:
  • serviceSpecification – the serviceSpecification value to set
Returns:the OperationInner object itself.
/** * Set one property of operation, include metric specifications. * * @param serviceSpecification the serviceSpecification value to set * @return the OperationInner object itself. */
public OperationInner withServiceSpecification(ServiceSpecification serviceSpecification) { this.serviceSpecification = serviceSpecification; return this; } }