
com.azure.resourcemanager.eventgrid.fluent.models.OperationInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-eventgrid Show documentation
Show all versions of azure-resourcemanager-eventgrid Show documentation
This package contains Microsoft Azure SDK for EventGrid Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure EventGrid Management Client. Package tag package-2021-10-preview.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.eventgrid.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.eventgrid.models.OperationInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Represents an operation returned by the GetOperations request.
*/
@Fluent
public final class OperationInner {
/*
* Name of the operation.
*/
@JsonProperty(value = "name")
private String name;
/*
* Display name of the operation.
*/
@JsonProperty(value = "display")
private OperationInfo display;
/*
* Origin of the operation.
*/
@JsonProperty(value = "origin")
private String origin;
/*
* This Boolean is used to determine if the operation is a data plane action or not.
*/
@JsonProperty(value = "isDataAction")
private Boolean isDataAction;
/*
* Properties of the operation.
*/
@JsonProperty(value = "properties")
private Object properties;
/**
* Creates an instance of OperationInner class.
*/
public OperationInner() {
}
/**
* Get the name property: Name of the operation.
*
* @return the name value.
*/
public String name() {
return this.name;
}
/**
* Set the name property: Name of the operation.
*
* @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 property: Display name of the operation.
*
* @return the display value.
*/
public OperationInfo display() {
return this.display;
}
/**
* Set the display property: Display name of the operation.
*
* @param display the display value to set.
* @return the OperationInner object itself.
*/
public OperationInner withDisplay(OperationInfo display) {
this.display = display;
return this;
}
/**
* Get the origin property: Origin of the operation.
*
* @return the origin value.
*/
public String origin() {
return this.origin;
}
/**
* Set the origin property: 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 the isDataAction property: This Boolean is used to determine if the operation is a data plane action or not.
*
* @return the isDataAction value.
*/
public Boolean isDataAction() {
return this.isDataAction;
}
/**
* Set the isDataAction property: This Boolean is used to determine if the operation is a data plane action or not.
*
* @param isDataAction the isDataAction value to set.
* @return the OperationInner object itself.
*/
public OperationInner withIsDataAction(Boolean isDataAction) {
this.isDataAction = isDataAction;
return this;
}
/**
* Get the properties property: Properties of the operation.
*
* @return the properties value.
*/
public Object properties() {
return this.properties;
}
/**
* Set the properties property: Properties of the operation.
*
* @param properties the properties value to set.
* @return the OperationInner object itself.
*/
public OperationInner withProperties(Object properties) {
this.properties = properties;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (display() != null) {
display().validate();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy