com.microsoft.azure.management.network.ExpressRouteCircuitPeeringConfig 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Specifies the peering configuration.
*/
public class ExpressRouteCircuitPeeringConfig {
/**
* The reference of AdvertisedPublicPrefixes.
*/
@JsonProperty(value = "advertisedPublicPrefixes")
private List advertisedPublicPrefixes;
/**
* AdvertisedPublicPrefixState of the Peering resource. Possible values are
* 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'.
* Possible values include: 'NotConfigured', 'Configuring', 'Configured',
* 'ValidationNeeded'.
*/
@JsonProperty(value = "advertisedPublicPrefixesState")
private ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState;
/**
* The CustomerASN of the peering.
*/
@JsonProperty(value = "customerASN")
private Integer customerASN;
/**
* The RoutingRegistryName of the configuration.
*/
@JsonProperty(value = "routingRegistryName")
private String routingRegistryName;
/**
* Get the advertisedPublicPrefixes value.
*
* @return the advertisedPublicPrefixes value
*/
public List advertisedPublicPrefixes() {
return this.advertisedPublicPrefixes;
}
/**
* Set the advertisedPublicPrefixes value.
*
* @param advertisedPublicPrefixes the advertisedPublicPrefixes value to set
* @return the ExpressRouteCircuitPeeringConfig object itself.
*/
public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List advertisedPublicPrefixes) {
this.advertisedPublicPrefixes = advertisedPublicPrefixes;
return this;
}
/**
* Get the advertisedPublicPrefixesState value.
*
* @return the advertisedPublicPrefixesState value
*/
public ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState() {
return this.advertisedPublicPrefixesState;
}
/**
* Set the advertisedPublicPrefixesState value.
*
* @param advertisedPublicPrefixesState the advertisedPublicPrefixesState value to set
* @return the ExpressRouteCircuitPeeringConfig object itself.
*/
public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixesState(ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState) {
this.advertisedPublicPrefixesState = advertisedPublicPrefixesState;
return this;
}
/**
* Get the customerASN value.
*
* @return the customerASN value
*/
public Integer customerASN() {
return this.customerASN;
}
/**
* Set the customerASN value.
*
* @param customerASN the customerASN value to set
* @return the ExpressRouteCircuitPeeringConfig object itself.
*/
public ExpressRouteCircuitPeeringConfig withCustomerASN(Integer customerASN) {
this.customerASN = customerASN;
return this;
}
/**
* Get the routingRegistryName value.
*
* @return the routingRegistryName value
*/
public String routingRegistryName() {
return this.routingRegistryName;
}
/**
* Set the routingRegistryName value.
*
* @param routingRegistryName the routingRegistryName value to set
* @return the ExpressRouteCircuitPeeringConfig object itself.
*/
public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName) {
this.routingRegistryName = routingRegistryName;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy