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.resources; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
The type of the paths for alias.
/** * The type of the paths for alias. */
public class AliasPathType {
The path of an alias.
/** * The path of an alias. */
@JsonProperty(value = "path") private String path;
The API versions.
/** * The API versions. */
@JsonProperty(value = "apiVersions") private List<String> apiVersions;
Get the path of an alias.
Returns:the path value
/** * Get the path of an alias. * * @return the path value */
public String path() { return this.path; }
Set the path of an alias.
Params:
  • path – the path value to set
Returns:the AliasPathType object itself.
/** * Set the path of an alias. * * @param path the path value to set * @return the AliasPathType object itself. */
public AliasPathType withPath(String path) { this.path = path; return this; }
Get the API versions.
Returns:the apiVersions value
/** * Get the API versions. * * @return the apiVersions value */
public List<String> apiVersions() { return this.apiVersions; }
Set the API versions.
Params:
  • apiVersions – the apiVersions value to set
Returns:the AliasPathType object itself.
/** * Set the API versions. * * @param apiVersions the apiVersions value to set * @return the AliasPathType object itself. */
public AliasPathType withApiVersions(List<String> apiVersions) { this.apiVersions = apiVersions; return this; } }