InterconnectGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. InterconnectGroupInner
- com.
- com.
- com.
public final class InterconnectGroupInner
extends Resource
An interconnect group resource.
Constructor Summary
| Constructor | Description |
|---|---|
| InterconnectGroupInner() |
Creates an instance of Interconnect |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Interconnect |
fromJson(JsonReader jsonReader)
Reads an instance of Interconnect |
| String |
id()
Get the id property: Resource ID. |
| String |
name()
Get the name property: The name of the resource. |
|
Interconnect |
properties()
Get the properties property: Properties of the interconnect group. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Interconnect |
withId(String id)
Set the id property: Resource ID. |
|
Interconnect |
withLocation(String location) |
|
Interconnect |
withProperties(InterconnectGroupPropertiesFormat properties)
Set the properties property: Properties of the interconnect group. |
|
Interconnect |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
InterconnectGroupInner
public InterconnectGroupInner()
Creates an instance of InterconnectGroupInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static InterconnectGroupInner fromJson(JsonReader jsonReader)
Reads an instance of InterconnectGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
InterconnectGroupInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
InterconnectGroupInner.name()Returns:
properties
public InterconnectGroupPropertiesFormat properties()
Get the properties property: Properties of the interconnect group.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
InterconnectGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
InterconnectGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
withId
public InterconnectGroupInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public InterconnectGroupInner withLocation(String location)
Overrides:
InterconnectGroupInner.withLocation(String location)Parameters:
withProperties
public InterconnectGroupInner withProperties(InterconnectGroupPropertiesFormat properties)
Set the properties property: Properties of the interconnect group.
Parameters:
Returns:
withTags
public InterconnectGroupInner withTags(Map<String,String> tags)
Overrides:
InterconnectGroupInner.withTags(Map<String,String> tags)Parameters: