TrafficControllerInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. servicenetworking. fluent. models. TrafficControllerInner
- com.
- com.
- com.
public final class TrafficControllerInner
extends Resource
Concrete tracked resource types can be created by aliasing this type using a specific property type.
Constructor Summary
| Constructor | Description |
|---|---|
| TrafficControllerInner() |
Creates an instance of Traffic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Traffic |
fromJson(JsonReader jsonReader)
Reads an instance of Traffic |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Traffic |
properties()
Get the properties property: The resource-specific properties for this 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. |
|
Traffic |
withLocation(String location) |
|
Traffic |
withProperties(TrafficControllerProperties properties)
Set the properties property: The resource-specific properties for this resource. |
|
Traffic |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
TrafficControllerInner
public TrafficControllerInner()
Creates an instance of TrafficControllerInner class.
Method Details
fromJson
public static TrafficControllerInner fromJson(JsonReader jsonReader)
Reads an instance of TrafficControllerInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TrafficControllerInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TrafficControllerInner.name()Returns:
properties
public TrafficControllerProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TrafficControllerInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TrafficControllerInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public TrafficControllerInner withLocation(String location)
Overrides:
TrafficControllerInner.withLocation(String location)Parameters:
withProperties
public TrafficControllerInner withProperties(TrafficControllerProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns:
withTags
public TrafficControllerInner withTags(Map<String,String> tags)
Overrides:
TrafficControllerInner.withTags(Map<String,String> tags)Parameters: