HubRouteTableInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. HubRouteTableInner
- com.
- com.
public final class HubRouteTableInner
extends SubResource
RouteTable resource in a virtual hub.
Constructor Summary
Constructor | Description |
---|---|
HubRouteTableInner() |
Creates an instance of Hub |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
associatedConnections()
Get the associated |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Hub |
fromJson(JsonReader jsonReader)
Reads an instance of Hub |
List<String> |
labels()
Get the labels property: List of labels associated with this route table. |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
List<String> |
propagatingConnections()
Get the propagating |
Provisioning |
provisioningState()
Get the provisioning |
List<Hub |
routes()
Get the routes property: List of all routes. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Hub |
withId(String id) |
Hub |
withLabels(List<String> labels)
Set the labels property: List of labels associated with this route table. |
Hub |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Hub |
withRoutes(List<HubRoute> routes)
Set the routes property: List of all routes. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
HubRouteTableInner
public HubRouteTableInner()
Creates an instance of HubRouteTableInner class.
Method Details
associatedConnections
public List
Get the associatedConnections property: List of all connections associated with this route table.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static HubRouteTableInner fromJson(JsonReader jsonReader)
Reads an instance of HubRouteTableInner from the JsonReader.
Parameters:
Returns:
Throws:
labels
public List
Get the labels property: List of labels associated with this route table.
Returns:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
propagatingConnections
public List
Get the propagatingConnections property: List of all connections that advertise to this route table.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the RouteTable resource.
Returns:
routes
public List
Get the routes property: List of all routes.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HubRouteTableInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withId
public HubRouteTableInner withId(String id)
Overrides:
HubRouteTableInner.withId(String id)Parameters:
withLabels
public HubRouteTableInner withLabels(List
Set the labels property: List of labels associated with this route table.
Parameters:
Returns:
withName
public HubRouteTableInner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withRoutes
public HubRouteTableInner withRoutes(List
Set the routes property: List of all routes.
Parameters:
Returns:
Applies to
Azure SDK for Java