com.microsoft.azure.management.network.ServiceEndpointPropertiesFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK.
/**
* 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;
}
}