All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.network.ServiceEndpointPropertiesFormat Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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.
 */
public class ServiceEndpointPropertiesFormat {
    /**
     * The type of the endpoint service.
     */
    @JsonProperty(value = "service")
    private String service;

    /**
     * A list of locations.
     */
    @JsonProperty(value = "locations")
    private List locations;

    /**
     * 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.
     *
     * @return the service value
     */
    public String service() {
        return this.service;
    }

    /**
     * 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.
     *
     * @return the locations value
     */
    public List locations() {
        return this.locations;
    }

    /**
     * Set a list of locations.
     *
     * @param locations the locations value to set
     * @return the ServiceEndpointPropertiesFormat object itself.
     */
    public ServiceEndpointPropertiesFormat withLocations(List locations) {
        this.locations = locations;
        return this;
    }

    /**
     * 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy