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 AliasPath {
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;
The pattern for an alias path.
/** * The pattern for an alias path. */
@JsonProperty(value = "pattern") private AliasPattern pattern;
The metadata of the alias path. If missing, fall back to the default metadata of the alias.
/** * The metadata of the alias path. If missing, fall back to the default * metadata of the alias. */
@JsonProperty(value = "metadata", access = JsonProperty.Access.WRITE_ONLY) private AliasPathMetadata metadata;
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 AliasPath object itself.
/** * Set the path of an alias. * * @param path the path value to set * @return the AliasPath object itself. */
public AliasPath 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 AliasPath object itself.
/** * Set the API versions. * * @param apiVersions the apiVersions value to set * @return the AliasPath object itself. */
public AliasPath withApiVersions(List<String> apiVersions) { this.apiVersions = apiVersions; return this; }
Get the pattern for an alias path.
Returns:the pattern value
/** * Get the pattern for an alias path. * * @return the pattern value */
public AliasPattern pattern() { return this.pattern; }
Set the pattern for an alias path.
Params:
  • pattern – the pattern value to set
Returns:the AliasPath object itself.
/** * Set the pattern for an alias path. * * @param pattern the pattern value to set * @return the AliasPath object itself. */
public AliasPath withPattern(AliasPattern pattern) { this.pattern = pattern; return this; }
Get the metadata of the alias path. If missing, fall back to the default metadata of the alias.
Returns:the metadata value
/** * Get the metadata of the alias path. If missing, fall back to the default metadata of the alias. * * @return the metadata value */
public AliasPathMetadata metadata() { return this.metadata; } }