com.azure.resourcemanager.automation.models.VariableUpdateParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-automation Show documentation
Show all versions of azure-resourcemanager-automation Show documentation
This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2019-06.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.automation.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The parameters supplied to the update variable operation. */
@JsonFlatten
@Fluent
public class VariableUpdateParameters {
@JsonIgnore private final ClientLogger logger = new ClientLogger(VariableUpdateParameters.class);
/*
* Gets or sets the name of the variable.
*/
@JsonProperty(value = "name")
private String name;
/*
* Gets or sets the value of the variable.
*/
@JsonProperty(value = "properties.value")
private String value;
/*
* Gets or sets the description of the variable.
*/
@JsonProperty(value = "properties.description")
private String description;
/**
* Get the name property: Gets or sets the name of the variable.
*
* @return the name value.
*/
public String name() {
return this.name;
}
/**
* Set the name property: Gets or sets the name of the variable.
*
* @param name the name value to set.
* @return the VariableUpdateParameters object itself.
*/
public VariableUpdateParameters withName(String name) {
this.name = name;
return this;
}
/**
* Get the value property: Gets or sets the value of the variable.
*
* @return the value value.
*/
public String value() {
return this.value;
}
/**
* Set the value property: Gets or sets the value of the variable.
*
* @param value the value value to set.
* @return the VariableUpdateParameters object itself.
*/
public VariableUpdateParameters withValue(String value) {
this.value = value;
return this;
}
/**
* Get the description property: Gets or sets the description of the variable.
*
* @return the description value.
*/
public String description() {
return this.description;
}
/**
* Set the description property: Gets or sets the description of the variable.
*
* @param description the description value to set.
* @return the VariableUpdateParameters object itself.
*/
public VariableUpdateParameters withDescription(String description) {
this.description = description;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy