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.keyvault.implementation; import com.microsoft.azure.management.keyvault.OperationDisplay; import com.microsoft.azure.management.keyvault.ServiceSpecification; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
Key Vault REST API operation definition.
/** * Key Vault 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 the name value.
Returns:the name value
/** * Get the name value. * * @return the name value */
public String name() { return this.name; }
Set the name value.
Params:
  • name – the name value to set
Returns:the OperationInner object itself.
/** * Set the name value. * * @param name the name value to set * @return the OperationInner object itself. */
public OperationInner withName(String name) { this.name = name; return this; }
Get the display value.
Returns:the display value
/** * Get the display value. * * @return the display value */
public OperationDisplay display() { return this.display; }
Set the display value.
Params:
  • display – the display value to set
Returns:the OperationInner object itself.
/** * Set the display value. * * @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 value.
Returns:the origin value
/** * Get the origin value. * * @return the origin value */
public String origin() { return this.origin; }
Set the origin value.
Params:
  • origin – the origin value to set
Returns:the OperationInner object itself.
/** * Set the origin value. * * @param origin the origin value to set * @return the OperationInner object itself. */
public OperationInner withOrigin(String origin) { this.origin = origin; return this; }
Get the serviceSpecification value.
Returns:the serviceSpecification value
/** * Get the serviceSpecification value. * * @return the serviceSpecification value */
public ServiceSpecification serviceSpecification() { return this.serviceSpecification; }
Set the serviceSpecification value.
Params:
  • serviceSpecification – the serviceSpecification value to set
Returns:the OperationInner object itself.
/** * Set the serviceSpecification value. * * @param serviceSpecification the serviceSpecification value to set * @return the OperationInner object itself. */
public OperationInner withServiceSpecification(ServiceSpecification serviceSpecification) { this.serviceSpecification = serviceSpecification; return this; } }