com.microsoft.azure.management.containerinstance.Operation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-containerinstance Show documentation
Show all versions of azure-mgmt-containerinstance Show documentation
This package contains Microsoft Azure Container Instance SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-containerinstance is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.containerinstance;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* An operation for Azure Container Instance service.
*/
public class Operation {
/**
* The name of the operation.
*/
@JsonProperty(value = "name", required = true)
private String name;
/**
* The display information of the operation.
*/
@JsonProperty(value = "display", required = true)
private OperationDisplay display;
/**
* The additional properties.
*/
@JsonProperty(value = "properties")
private Object properties;
/**
* The intended executor of the operation. Possible values include: 'User',
* 'System'.
*/
@JsonProperty(value = "origin")
private ContainerInstanceOperationsOrigin origin;
/**
* Get the name of the operation.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Set the name of the operation.
*
* @param name the name value to set
* @return the Operation object itself.
*/
public Operation withName(String name) {
this.name = name;
return this;
}
/**
* Get the display information of the operation.
*
* @return the display value
*/
public OperationDisplay display() {
return this.display;
}
/**
* Set the display information of the operation.
*
* @param display the display value to set
* @return the Operation object itself.
*/
public Operation withDisplay(OperationDisplay display) {
this.display = display;
return this;
}
/**
* Get the additional properties.
*
* @return the properties value
*/
public Object properties() {
return this.properties;
}
/**
* Set the additional properties.
*
* @param properties the properties value to set
* @return the Operation object itself.
*/
public Operation withProperties(Object properties) {
this.properties = properties;
return this;
}
/**
* Get the intended executor of the operation. Possible values include: 'User', 'System'.
*
* @return the origin value
*/
public ContainerInstanceOperationsOrigin origin() {
return this.origin;
}
/**
* Set the intended executor of the operation. Possible values include: 'User', 'System'.
*
* @param origin the origin value to set
* @return the Operation object itself.
*/
public Operation withOrigin(ContainerInstanceOperationsOrigin origin) {
this.origin = origin;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy