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.network; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
The service endpoint properties.
/** * The service endpoint properties. */
public class ServiceEndpointPropertiesFormat {
The type of the endpoint service.
/** * The type of the endpoint service. */
@JsonProperty(value = "service") private String service;
A list of locations.
/** * A list of locations. */
@JsonProperty(value = "locations") private List<String> locations;
The provisioning state of the service endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/** * The provisioning state of the service endpoint resource. Possible values * include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. */
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
Get the type of the endpoint service.
Returns:the service value
/** * Get the type of the endpoint service. * * @return the service value */
public String service() { return this.service; }
Set the type of the endpoint service.
Params:
  • service – the service value to set
Returns:the ServiceEndpointPropertiesFormat object itself.
/** * Set the type of the endpoint service. * * @param service the service value to set * @return the ServiceEndpointPropertiesFormat object itself. */
public ServiceEndpointPropertiesFormat withService(String service) { this.service = service; return this; }
Get a list of locations.
Returns:the locations value
/** * Get a list of locations. * * @return the locations value */
public List<String> locations() { return this.locations; }
Set a list of locations.
Params:
  • locations – the locations value to set
Returns:the ServiceEndpointPropertiesFormat object itself.
/** * Set a list of locations. * * @param locations the locations value to set * @return the ServiceEndpointPropertiesFormat object itself. */
public ServiceEndpointPropertiesFormat withLocations(List<String> locations) { this.locations = locations; return this; }
Get the provisioning state of the service endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the service endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; } }