RoutingRuleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. network. models. ChildResource - com.
azure. resourcemanager. network. fluent. models. RoutingRuleInner
- com.
- com.
- com.
public final class RoutingRuleInner
extends ChildResource
Network routing rule.
Constructor Summary
Constructor | Description |
---|---|
RoutingRuleInner() |
Creates an instance of Routing |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: A description for this rule. |
Routing |
destination()
Get the destination property: Indicates the destination for this particular rule. |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Routing |
fromJson(JsonReader jsonReader)
Reads an instance of Routing |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Routing |
nextHop()
Get the next |
Provisioning |
provisioningState()
Get the provisioning |
String |
resourceGuid()
Get the resource |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Routing |
withDescription(String description)
Set the description property: A description for this rule. |
Routing |
withDestination(RoutingRuleRouteDestination destination)
Set the destination property: Indicates the destination for this particular rule. |
Routing |
withNextHop(RoutingRuleNextHop nextHop)
Set the next |
Methods inherited from ChildResource
Methods inherited from java.lang.Object
Constructor Details
RoutingRuleInner
public RoutingRuleInner()
Creates an instance of RoutingRuleInner class.
Method Details
description
public String description()
Get the description property: A description for this rule.
Returns:
destination
public RoutingRuleRouteDestination destination()
Get the destination property: Indicates the destination for this particular rule.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Overrides:
RoutingRuleInner.etag()Returns:
fromJson
public static RoutingRuleInner fromJson(JsonReader jsonReader)
Reads an instance of RoutingRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RoutingRuleInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RoutingRuleInner.name()Returns:
nextHop
public RoutingRuleNextHop nextHop()
Get the nextHop property: Indicates the next hop for this particular rule.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: Unique identifier for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata related to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RoutingRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RoutingRuleInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
RoutingRuleInner.validate()withDescription
public RoutingRuleInner withDescription(String description)
Set the description property: A description for this rule.
Parameters:
Returns:
withDestination
public RoutingRuleInner withDestination(RoutingRuleRouteDestination destination)
Set the destination property: Indicates the destination for this particular rule.
Parameters:
Returns:
withNextHop
public RoutingRuleInner withNextHop(RoutingRuleNextHop nextHop)
Set the nextHop property: Indicates the next hop for this particular rule.
Parameters:
Returns:
Applies to
Azure SDK for Java