com.microsoft.azure.management.network.PrivateLinkServiceIpConfiguration 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. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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 com.microsoft.azure.management.network.implementation.SubnetInner;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.SubResource;
/**
* The private link service ip configuration.
*/
@JsonFlatten
public class PrivateLinkServiceIpConfiguration extends SubResource {
/**
* The private IP address of the IP configuration.
*/
@JsonProperty(value = "properties.privateIPAddress")
private String privateIPAddress;
/**
* The private IP address allocation method. Possible values include:
* 'Static', 'Dynamic'.
*/
@JsonProperty(value = "properties.privateIPAllocationMethod")
private IPAllocationMethod privateIPAllocationMethod;
/**
* The reference to the subnet resource.
*/
@JsonProperty(value = "properties.subnet")
private SubnetInner subnet;
/**
* Whether the ip configuration is primary or not.
*/
@JsonProperty(value = "properties.primary")
private Boolean primary;
/**
* The provisioning state of the private link service IP configuration
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
* 'Failed'.
*/
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
/**
* Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
* Possible values include: 'IPv4', 'IPv6'.
*/
@JsonProperty(value = "properties.privateIPAddressVersion")
private IPVersion privateIPAddressVersion;
/**
* The name of private link service ip configuration.
*/
@JsonProperty(value = "name")
private String name;
/**
* A unique read-only string that changes whenever the resource is updated.
*/
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
private String etag;
/**
* The resource type.
*/
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;
/**
* Get the private IP address of the IP configuration.
*
* @return the privateIPAddress value
*/
public String privateIPAddress() {
return this.privateIPAddress;
}
/**
* Set the private IP address of the IP configuration.
*
* @param privateIPAddress the privateIPAddress value to set
* @return the PrivateLinkServiceIpConfiguration object itself.
*/
public PrivateLinkServiceIpConfiguration withPrivateIPAddress(String privateIPAddress) {
this.privateIPAddress = privateIPAddress;
return this;
}
/**
* Get the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.
*
* @return the privateIPAllocationMethod value
*/
public IPAllocationMethod privateIPAllocationMethod() {
return this.privateIPAllocationMethod;
}
/**
* Set the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.
*
* @param privateIPAllocationMethod the privateIPAllocationMethod value to set
* @return the PrivateLinkServiceIpConfiguration object itself.
*/
public PrivateLinkServiceIpConfiguration withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod) {
this.privateIPAllocationMethod = privateIPAllocationMethod;
return this;
}
/**
* Get the reference to the subnet resource.
*
* @return the subnet value
*/
public SubnetInner subnet() {
return this.subnet;
}
/**
* Set the reference to the subnet resource.
*
* @param subnet the subnet value to set
* @return the PrivateLinkServiceIpConfiguration object itself.
*/
public PrivateLinkServiceIpConfiguration withSubnet(SubnetInner subnet) {
this.subnet = subnet;
return this;
}
/**
* Get whether the ip configuration is primary or not.
*
* @return the primary value
*/
public Boolean primary() {
return this.primary;
}
/**
* Set whether the ip configuration is primary or not.
*
* @param primary the primary value to set
* @return the PrivateLinkServiceIpConfiguration object itself.
*/
public PrivateLinkServiceIpConfiguration withPrimary(Boolean primary) {
this.primary = primary;
return this;
}
/**
* Get the provisioning state of the private link service IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
*
* @return the provisioningState value
*/
public ProvisioningState provisioningState() {
return this.provisioningState;
}
/**
* Get whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPv4', 'IPv6'.
*
* @return the privateIPAddressVersion value
*/
public IPVersion privateIPAddressVersion() {
return this.privateIPAddressVersion;
}
/**
* Set whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPv4', 'IPv6'.
*
* @param privateIPAddressVersion the privateIPAddressVersion value to set
* @return the PrivateLinkServiceIpConfiguration object itself.
*/
public PrivateLinkServiceIpConfiguration withPrivateIPAddressVersion(IPVersion privateIPAddressVersion) {
this.privateIPAddressVersion = privateIPAddressVersion;
return this;
}
/**
* Get the name of private link service ip configuration.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Set the name of private link service ip configuration.
*
* @param name the name value to set
* @return the PrivateLinkServiceIpConfiguration object itself.
*/
public PrivateLinkServiceIpConfiguration withName(String name) {
this.name = name;
return this;
}
/**
* Get a unique read-only string that changes whenever the resource is updated.
*
* @return the etag value
*/
public String etag() {
return this.etag;
}
/**
* Get the resource type.
*
* @return the type value
*/
public String type() {
return this.type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy