RouteMapInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. RouteMapInner
- com.
- com.
public final class RouteMapInner
extends SubResource
The RouteMap child resource of a Virtual hub.
Constructor Summary
Constructor | Description |
---|---|
RouteMapInner() |
Creates an instance of Route |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
associatedInboundConnections()
Get the associated |
List<String> |
associatedOutboundConnections()
Get the associated |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Route |
fromJson(JsonReader jsonReader)
Reads an instance of Route |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Provisioning |
provisioningState()
Get the provisioning |
List<Route |
rules()
Get the rules property: List of Route |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Route |
withAssociatedInboundConnections(List<String> associatedInboundConnections)
Set the associated |
Route |
withAssociatedOutboundConnections(List<String> associatedOutboundConnections)
Set the associated |
Route |
withId(String id) |
Route |
withRules(List<RouteMapRule> rules)
Set the rules property: List of Route |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
RouteMapInner
public RouteMapInner()
Creates an instance of RouteMapInner class.
Method Details
associatedInboundConnections
public List
Get the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.
Returns:
associatedOutboundConnections
public List
Get the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.
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 RouteMapInner fromJson(JsonReader jsonReader)
Reads an instance of RouteMapInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the RouteMap resource.
Returns:
rules
public List
Get the rules property: List of RouteMap rules to be applied.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RouteMapInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withAssociatedInboundConnections
public RouteMapInner withAssociatedInboundConnections(List
Set the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.
Parameters:
Returns:
withAssociatedOutboundConnections
public RouteMapInner withAssociatedOutboundConnections(List
Set the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.
Parameters:
Returns:
withId
public RouteMapInner withId(String id)
Overrides:
RouteMapInner.withId(String id)Parameters:
withRules
public RouteMapInner withRules(List
Set the rules property: List of RouteMap rules to be applied.
Parameters:
Returns:
Applies to
Azure SDK for Java