Class RouteMapInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.RouteMapInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class RouteMapInner
extends com.azure.core.management.SubResource
The RouteMap child resource of a Virtual hub.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.Get the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.name()Get the name property: The name of the resource that is unique within a resource group.Get the provisioningState property: The provisioning state of the RouteMap resource.rules()Get the rules property: List of RouteMap rules to be applied.type()Get the type property: Resource type.voidvalidate()Validates the instance.withAssociatedInboundConnections(List<String> associatedInboundConnections) Set the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.withAssociatedOutboundConnections(List<String> associatedOutboundConnections) Set the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.withRules(List<RouteMapRule> rules) Set the rules property: List of RouteMap rules to be applied.Methods inherited from class com.azure.core.management.SubResource
fromJson, id, toJson
-
Constructor Details
-
RouteMapInner
public RouteMapInner()Creates an instance of RouteMapInner class.
-
-
Method Details
-
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:
- the name value.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
associatedInboundConnections
Get the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.- Returns:
- the associatedInboundConnections value.
-
withAssociatedInboundConnections
Set the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.- Parameters:
associatedInboundConnections- the associatedInboundConnections value to set.- Returns:
- the RouteMapInner object itself.
-
associatedOutboundConnections
Get the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.- Returns:
- the associatedOutboundConnections value.
-
withAssociatedOutboundConnections
Set the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.- Parameters:
associatedOutboundConnections- the associatedOutboundConnections value to set.- Returns:
- the RouteMapInner object itself.
-
rules
Get the rules property: List of RouteMap rules to be applied.- Returns:
- the rules value.
-
withRules
Set the rules property: List of RouteMap rules to be applied.- Parameters:
rules- the rules value to set.- Returns:
- the RouteMapInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the RouteMap resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-