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.appservice.implementation;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
The IP Addresses and Ports that require inbound network access to and within
the subnet of the App Service Environment.
/**
* The IP Addresses and Ports that require inbound network access to and within
* the subnet of the App Service Environment.
*/
public class InboundEnvironmentEndpointInner {
Short text describing the purpose of the network traffic.
/**
* Short text describing the purpose of the network traffic.
*/
@JsonProperty(value = "description")
private String description;
The IP addresses that network traffic will originate from in cidr
notation.
/**
* The IP addresses that network traffic will originate from in cidr
* notation.
*/
@JsonProperty(value = "endpoints")
private List<String> endpoints;
The ports that network traffic will arrive to the App Service
Environment at.
/**
* The ports that network traffic will arrive to the App Service
* Environment at.
*/
@JsonProperty(value = "ports")
private List<String> ports;
Get short text describing the purpose of the network traffic.
Returns: the description value
/**
* Get short text describing the purpose of the network traffic.
*
* @return the description value
*/
public String description() {
return this.description;
}
Set short text describing the purpose of the network traffic.
Params: - description – the description value to set
Returns: the InboundEnvironmentEndpointInner object itself.
/**
* Set short text describing the purpose of the network traffic.
*
* @param description the description value to set
* @return the InboundEnvironmentEndpointInner object itself.
*/
public InboundEnvironmentEndpointInner withDescription(String description) {
this.description = description;
return this;
}
Get the IP addresses that network traffic will originate from in cidr notation.
Returns: the endpoints value
/**
* Get the IP addresses that network traffic will originate from in cidr notation.
*
* @return the endpoints value
*/
public List<String> endpoints() {
return this.endpoints;
}
Set the IP addresses that network traffic will originate from in cidr notation.
Params: - endpoints – the endpoints value to set
Returns: the InboundEnvironmentEndpointInner object itself.
/**
* Set the IP addresses that network traffic will originate from in cidr notation.
*
* @param endpoints the endpoints value to set
* @return the InboundEnvironmentEndpointInner object itself.
*/
public InboundEnvironmentEndpointInner withEndpoints(List<String> endpoints) {
this.endpoints = endpoints;
return this;
}
Get the ports that network traffic will arrive to the App Service Environment at.
Returns: the ports value
/**
* Get the ports that network traffic will arrive to the App Service Environment at.
*
* @return the ports value
*/
public List<String> ports() {
return this.ports;
}
Set the ports that network traffic will arrive to the App Service Environment at.
Params: - ports – the ports value to set
Returns: the InboundEnvironmentEndpointInner object itself.
/**
* Set the ports that network traffic will arrive to the App Service Environment at.
*
* @param ports the ports value to set
* @return the InboundEnvironmentEndpointInner object itself.
*/
public InboundEnvironmentEndpointInner withPorts(List<String> ports) {
this.ports = ports;
return this;
}
}