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 java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty;
Resource type managed by the resource provider.
/** * Resource type managed by the resource provider. */
public class ProviderResourceType {
The resource type.
/** * The resource type. */
@JsonProperty(value = "resourceType") private String resourceType;
The collection of locations where this resource type can be created.
/** * The collection of locations where this resource type can be created. */
@JsonProperty(value = "locations") private List<String> locations;
The aliases that are supported by this resource type.
/** * The aliases that are supported by this resource type. */
@JsonProperty(value = "aliases") private List<Alias> aliases;
The API version.
/** * The API version. */
@JsonProperty(value = "apiVersions") private List<String> apiVersions;
The default API version.
/** * The default API version. */
@JsonProperty(value = "defaultApiVersion", access = JsonProperty.Access.WRITE_ONLY) private String defaultApiVersion;
The API profiles for the resource provider.
/** * The API profiles for the resource provider. */
@JsonProperty(value = "apiProfiles", access = JsonProperty.Access.WRITE_ONLY) private List<ApiProfile> apiProfiles;
The additional capabilities offered by this resource type.
/** * The additional capabilities offered by this resource type. */
@JsonProperty(value = "capabilities") private String capabilities;
The properties.
/** * The properties. */
@JsonProperty(value = "properties") private Map<String, String> properties;
Get the resource type.
Returns:the resourceType value
/** * Get the resource type. * * @return the resourceType value */
public String resourceType() { return this.resourceType; }
Set the resource type.
Params:
  • resourceType – the resourceType value to set
Returns:the ProviderResourceType object itself.
/** * Set the resource type. * * @param resourceType the resourceType value to set * @return the ProviderResourceType object itself. */
public ProviderResourceType withResourceType(String resourceType) { this.resourceType = resourceType; return this; }
Get the collection of locations where this resource type can be created.
Returns:the locations value
/** * Get the collection of locations where this resource type can be created. * * @return the locations value */
public List<String> locations() { return this.locations; }
Set the collection of locations where this resource type can be created.
Params:
  • locations – the locations value to set
Returns:the ProviderResourceType object itself.
/** * Set the collection of locations where this resource type can be created. * * @param locations the locations value to set * @return the ProviderResourceType object itself. */
public ProviderResourceType withLocations(List<String> locations) { this.locations = locations; return this; }
Get the aliases that are supported by this resource type.
Returns:the aliases value
/** * Get the aliases that are supported by this resource type. * * @return the aliases value */
public List<Alias> aliases() { return this.aliases; }
Set the aliases that are supported by this resource type.
Params:
  • aliases – the aliases value to set
Returns:the ProviderResourceType object itself.
/** * Set the aliases that are supported by this resource type. * * @param aliases the aliases value to set * @return the ProviderResourceType object itself. */
public ProviderResourceType withAliases(List<Alias> aliases) { this.aliases = aliases; return this; }
Get the API version.
Returns:the apiVersions value
/** * Get the API version. * * @return the apiVersions value */
public List<String> apiVersions() { return this.apiVersions; }
Set the API version.
Params:
  • apiVersions – the apiVersions value to set
Returns:the ProviderResourceType object itself.
/** * Set the API version. * * @param apiVersions the apiVersions value to set * @return the ProviderResourceType object itself. */
public ProviderResourceType withApiVersions(List<String> apiVersions) { this.apiVersions = apiVersions; return this; }
Get the default API version.
Returns:the defaultApiVersion value
/** * Get the default API version. * * @return the defaultApiVersion value */
public String defaultApiVersion() { return this.defaultApiVersion; }
Get the API profiles for the resource provider.
Returns:the apiProfiles value
/** * Get the API profiles for the resource provider. * * @return the apiProfiles value */
public List<ApiProfile> apiProfiles() { return this.apiProfiles; }
Get the additional capabilities offered by this resource type.
Returns:the capabilities value
/** * Get the additional capabilities offered by this resource type. * * @return the capabilities value */
public String capabilities() { return this.capabilities; }
Set the additional capabilities offered by this resource type.
Params:
  • capabilities – the capabilities value to set
Returns:the ProviderResourceType object itself.
/** * Set the additional capabilities offered by this resource type. * * @param capabilities the capabilities value to set * @return the ProviderResourceType object itself. */
public ProviderResourceType withCapabilities(String capabilities) { this.capabilities = capabilities; return this; }
Get the properties.
Returns:the properties value
/** * Get the properties. * * @return the properties value */
public Map<String, String> properties() { return this.properties; }
Set the properties.
Params:
  • properties – the properties value to set
Returns:the ProviderResourceType object itself.
/** * Set the properties. * * @param properties the properties value to set * @return the ProviderResourceType object itself. */
public ProviderResourceType withProperties(Map<String, String> properties) { this.properties = properties; return this; } }