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.microsoft.azure.management.appservice.VirtualIPMapping;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.appservice.ProxyOnlyResource;
Describes main public IP address and any extra virtual IPs.
/**
* Describes main public IP address and any extra virtual IPs.
*/
@JsonFlatten
public class AddressResponseInner extends ProxyOnlyResource {
Main public virtual IP.
/**
* Main public virtual IP.
*/
@JsonProperty(value = "properties.serviceIpAddress")
private String serviceIpAddress;
Virtual Network internal IP address of the App Service Environment if it
is in internal load-balancing mode.
/**
* Virtual Network internal IP address of the App Service Environment if it
* is in internal load-balancing mode.
*/
@JsonProperty(value = "properties.internalIpAddress")
private String internalIpAddress;
IP addresses appearing on outbound connections.
/**
* IP addresses appearing on outbound connections.
*/
@JsonProperty(value = "properties.outboundIpAddresses")
private List<String> outboundIpAddresses;
Additional virtual IPs.
/**
* Additional virtual IPs.
*/
@JsonProperty(value = "properties.vipMappings")
private List<VirtualIPMapping> vipMappings;
Get main public virtual IP.
Returns: the serviceIpAddress value
/**
* Get main public virtual IP.
*
* @return the serviceIpAddress value
*/
public String serviceIpAddress() {
return this.serviceIpAddress;
}
Set main public virtual IP.
Params: - serviceIpAddress – the serviceIpAddress value to set
Returns: the AddressResponseInner object itself.
/**
* Set main public virtual IP.
*
* @param serviceIpAddress the serviceIpAddress value to set
* @return the AddressResponseInner object itself.
*/
public AddressResponseInner withServiceIpAddress(String serviceIpAddress) {
this.serviceIpAddress = serviceIpAddress;
return this;
}
Get virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.
Returns: the internalIpAddress value
/**
* Get virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.
*
* @return the internalIpAddress value
*/
public String internalIpAddress() {
return this.internalIpAddress;
}
Set virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.
Params: - internalIpAddress – the internalIpAddress value to set
Returns: the AddressResponseInner object itself.
/**
* Set virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode.
*
* @param internalIpAddress the internalIpAddress value to set
* @return the AddressResponseInner object itself.
*/
public AddressResponseInner withInternalIpAddress(String internalIpAddress) {
this.internalIpAddress = internalIpAddress;
return this;
}
Get iP addresses appearing on outbound connections.
Returns: the outboundIpAddresses value
/**
* Get iP addresses appearing on outbound connections.
*
* @return the outboundIpAddresses value
*/
public List<String> outboundIpAddresses() {
return this.outboundIpAddresses;
}
Set iP addresses appearing on outbound connections.
Params: - outboundIpAddresses – the outboundIpAddresses value to set
Returns: the AddressResponseInner object itself.
/**
* Set iP addresses appearing on outbound connections.
*
* @param outboundIpAddresses the outboundIpAddresses value to set
* @return the AddressResponseInner object itself.
*/
public AddressResponseInner withOutboundIpAddresses(List<String> outboundIpAddresses) {
this.outboundIpAddresses = outboundIpAddresses;
return this;
}
Get additional virtual IPs.
Returns: the vipMappings value
/**
* Get additional virtual IPs.
*
* @return the vipMappings value
*/
public List<VirtualIPMapping> vipMappings() {
return this.vipMappings;
}
Set additional virtual IPs.
Params: - vipMappings – the vipMappings value to set
Returns: the AddressResponseInner object itself.
/**
* Set additional virtual IPs.
*
* @param vipMappings the vipMappings value to set
* @return the AddressResponseInner object itself.
*/
public AddressResponseInner withVipMappings(List<VirtualIPMapping> vipMappings) {
this.vipMappings = vipMappings;
return this;
}
}