com.microsoft.azure.management.network.implementation.RouteTableInner 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.implementation;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.rest.SkipParentValidation;
import com.microsoft.azure.Resource;
/**
* Route table resource.
*/
@JsonFlatten
@SkipParentValidation
public class RouteTableInner extends Resource {
/**
* Collection of routes contained within a route table.
*/
@JsonProperty(value = "properties.routes")
private List routes;
/**
* A collection of references to subnets.
*/
@JsonProperty(value = "properties.subnets", access = JsonProperty.Access.WRITE_ONLY)
private List subnets;
/**
* Gets or sets whether to disable the routes learned by BGP on that route
* table. True means disable.
*/
@JsonProperty(value = "properties.disableBgpRoutePropagation")
private Boolean disableBgpRoutePropagation;
/**
* The provisioning state of the resource. Possible values are: 'Updating',
* 'Deleting', and 'Failed'.
*/
@JsonProperty(value = "properties.provisioningState")
private String provisioningState;
/**
* Gets a unique read-only string that changes whenever the resource is
* updated.
*/
@JsonProperty(value = "etag")
private String etag;
/**
* Resource ID.
*/
@JsonProperty(value = "id")
private String id;
/**
* Get the routes value.
*
* @return the routes value
*/
public List routes() {
return this.routes;
}
/**
* Set the routes value.
*
* @param routes the routes value to set
* @return the RouteTableInner object itself.
*/
public RouteTableInner withRoutes(List routes) {
this.routes = routes;
return this;
}
/**
* Get the subnets value.
*
* @return the subnets value
*/
public List subnets() {
return this.subnets;
}
/**
* Get the disableBgpRoutePropagation value.
*
* @return the disableBgpRoutePropagation value
*/
public Boolean disableBgpRoutePropagation() {
return this.disableBgpRoutePropagation;
}
/**
* Set the disableBgpRoutePropagation value.
*
* @param disableBgpRoutePropagation the disableBgpRoutePropagation value to set
* @return the RouteTableInner object itself.
*/
public RouteTableInner withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation) {
this.disableBgpRoutePropagation = disableBgpRoutePropagation;
return this;
}
/**
* Get the provisioningState value.
*
* @return the provisioningState value
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* Set the provisioningState value.
*
* @param provisioningState the provisioningState value to set
* @return the RouteTableInner object itself.
*/
public RouteTableInner withProvisioningState(String provisioningState) {
this.provisioningState = provisioningState;
return this;
}
/**
* Get the etag value.
*
* @return the etag value
*/
public String etag() {
return this.etag;
}
/**
* Set the etag value.
*
* @param etag the etag value to set
* @return the RouteTableInner object itself.
*/
public RouteTableInner withEtag(String etag) {
this.etag = etag;
return this;
}
/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Set the id value.
*
* @param id the id value to set
* @return the RouteTableInner object itself.
*/
public RouteTableInner withId(String id) {
this.id = id;
return this;
}
}