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.network.implementation;
import com.microsoft.azure.management.network.OperationDisplay;
import com.microsoft.azure.management.network.OperationPropertiesFormatServiceSpecification;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
Network REST API operation definition.
/**
* Network 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;
Origin of the operation.
/**
* Origin of the operation.
*/
@JsonProperty(value = "origin")
private String origin;
Specification of the service.
/**
* Specification of the service.
*/
@JsonProperty(value = "properties.serviceSpecification")
private OperationPropertiesFormatServiceSpecification 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 origin of the operation.
Returns: the origin value
/**
* Get origin of the operation.
*
* @return the origin value
*/
public String origin() {
return this.origin;
}
Set origin of the operation.
Params: - origin – the origin value to set
Returns: the OperationInner object itself.
/**
* Set origin of the operation.
*
* @param origin the origin value to set
* @return the OperationInner object itself.
*/
public OperationInner withOrigin(String origin) {
this.origin = origin;
return this;
}
Get specification of the service.
Returns: the serviceSpecification value
/**
* Get specification of the service.
*
* @return the serviceSpecification value
*/
public OperationPropertiesFormatServiceSpecification serviceSpecification() {
return this.serviceSpecification;
}
Set specification of the service.
Params: - serviceSpecification – the serviceSpecification value to set
Returns: the OperationInner object itself.
/**
* Set specification of the service.
*
* @param serviceSpecification the serviceSpecification value to set
* @return the OperationInner object itself.
*/
public OperationInner withServiceSpecification(OperationPropertiesFormatServiceSpecification serviceSpecification) {
this.serviceSpecification = serviceSpecification;
return this;
}
}