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.compute;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
Specifies information about the gallery Application Definition that you want
to update.
/**
* Specifies information about the gallery Application Definition that you want
* to update.
*/
@JsonFlatten
public class GalleryApplicationUpdate extends UpdateResourceDefinition {
The description of this gallery Application Definition resource. This
property is updatable.
/**
* The description of this gallery Application Definition resource. This
* property is updatable.
*/
@JsonProperty(value = "properties.description")
private String description;
The Eula agreement for the gallery Application Definition.
/**
* The Eula agreement for the gallery Application Definition.
*/
@JsonProperty(value = "properties.eula")
private String eula;
The privacy statement uri.
/**
* The privacy statement uri.
*/
@JsonProperty(value = "properties.privacyStatementUri")
private String privacyStatementUri;
The release note uri.
/**
* The release note uri.
*/
@JsonProperty(value = "properties.releaseNoteUri")
private String releaseNoteUri;
The end of life date of the gallery Application Definition. This
property can be used for decommissioning purposes. This property is
updatable.
/**
* The end of life date of the gallery Application Definition. This
* property can be used for decommissioning purposes. This property is
* updatable.
*/
@JsonProperty(value = "properties.endOfLifeDate")
private DateTime endOfLifeDate;
This property allows you to specify the supported type of the OS that
application is built for. <br><br> Possible values are:
<br><br> **Windows** <br><br> **Linux**.
Possible values include: 'Windows', 'Linux'.
/**
* This property allows you to specify the supported type of the OS that
* application is built for. <br><br> Possible values are:
* <br><br> **Windows** <br><br> **Linux**.
* Possible values include: 'Windows', 'Linux'.
*/
@JsonProperty(value = "properties.supportedOSType", required = true)
private OperatingSystemTypes supportedOSType;
Get the description of this gallery Application Definition resource. This property is updatable.
Returns: the description value
/**
* Get the description of this gallery Application Definition resource. This property is updatable.
*
* @return the description value
*/
public String description() {
return this.description;
}
Set the description of this gallery Application Definition resource. This property is updatable.
Params: - description – the description value to set
Returns: the GalleryApplicationUpdate object itself.
/**
* Set the description of this gallery Application Definition resource. This property is updatable.
*
* @param description the description value to set
* @return the GalleryApplicationUpdate object itself.
*/
public GalleryApplicationUpdate withDescription(String description) {
this.description = description;
return this;
}
Get the Eula agreement for the gallery Application Definition.
Returns: the eula value
/**
* Get the Eula agreement for the gallery Application Definition.
*
* @return the eula value
*/
public String eula() {
return this.eula;
}
Set the Eula agreement for the gallery Application Definition.
Params: - eula – the eula value to set
Returns: the GalleryApplicationUpdate object itself.
/**
* Set the Eula agreement for the gallery Application Definition.
*
* @param eula the eula value to set
* @return the GalleryApplicationUpdate object itself.
*/
public GalleryApplicationUpdate withEula(String eula) {
this.eula = eula;
return this;
}
Get the privacy statement uri.
Returns: the privacyStatementUri value
/**
* Get the privacy statement uri.
*
* @return the privacyStatementUri value
*/
public String privacyStatementUri() {
return this.privacyStatementUri;
}
Set the privacy statement uri.
Params: - privacyStatementUri – the privacyStatementUri value to set
Returns: the GalleryApplicationUpdate object itself.
/**
* Set the privacy statement uri.
*
* @param privacyStatementUri the privacyStatementUri value to set
* @return the GalleryApplicationUpdate object itself.
*/
public GalleryApplicationUpdate withPrivacyStatementUri(String privacyStatementUri) {
this.privacyStatementUri = privacyStatementUri;
return this;
}
Get the release note uri.
Returns: the releaseNoteUri value
/**
* Get the release note uri.
*
* @return the releaseNoteUri value
*/
public String releaseNoteUri() {
return this.releaseNoteUri;
}
Set the release note uri.
Params: - releaseNoteUri – the releaseNoteUri value to set
Returns: the GalleryApplicationUpdate object itself.
/**
* Set the release note uri.
*
* @param releaseNoteUri the releaseNoteUri value to set
* @return the GalleryApplicationUpdate object itself.
*/
public GalleryApplicationUpdate withReleaseNoteUri(String releaseNoteUri) {
this.releaseNoteUri = releaseNoteUri;
return this;
}
Get the end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
Returns: the endOfLifeDate value
/**
* Get the end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
*
* @return the endOfLifeDate value
*/
public DateTime endOfLifeDate() {
return this.endOfLifeDate;
}
Set the end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
Params: - endOfLifeDate – the endOfLifeDate value to set
Returns: the GalleryApplicationUpdate object itself.
/**
* Set the end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
*
* @param endOfLifeDate the endOfLifeDate value to set
* @return the GalleryApplicationUpdate object itself.
*/
public GalleryApplicationUpdate withEndOfLifeDate(DateTime endOfLifeDate) {
this.endOfLifeDate = endOfLifeDate;
return this;
}
Get this property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux'.
Returns: the supportedOSType value
/**
* Get this property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux'.
*
* @return the supportedOSType value
*/
public OperatingSystemTypes supportedOSType() {
return this.supportedOSType;
}
Set this property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux'.
Params: - supportedOSType – the supportedOSType value to set
Returns: the GalleryApplicationUpdate object itself.
/**
* Set this property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux'.
*
* @param supportedOSType the supportedOSType value to set
* @return the GalleryApplicationUpdate object itself.
*/
public GalleryApplicationUpdate withSupportedOSType(OperatingSystemTypes supportedOSType) {
this.supportedOSType = supportedOSType;
return this;
}
}