ScopeConnectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. network. models. ChildResource - com.
azure. resourcemanager. network. fluent. models. ScopeConnectionInner
- com.
- com.
- com.
public final class ScopeConnectionInner
extends ChildResource
The Scope Connections resource.
Constructor Summary
Constructor | Description |
---|---|
ScopeConnectionInner() |
Creates an instance of Scope |
Method Summary
Modifier and Type | Method and Description |
---|---|
Scope |
connectionState()
Get the connection |
String |
description()
Get the description property: A description of the scope connection. |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Scope |
fromJson(JsonReader jsonReader)
Reads an instance of Scope |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
resourceId()
Get the resource |
System |
systemData()
Get the system |
String |
tenantId()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Scope |
withDescription(String description)
Set the description property: A description of the scope connection. |
Scope |
withResourceId(String resourceId)
Set the resource |
Scope |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from ChildResource
Methods inherited from java.lang.Object
Constructor Details
ScopeConnectionInner
public ScopeConnectionInner()
Creates an instance of ScopeConnectionInner class.
Method Details
connectionState
public ScopeConnectionState connectionState()
Get the connectionState property: Connection State.
Returns:
description
public String description()
Get the description property: A description of the scope connection.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Overrides:
ScopeConnectionInner.etag()Returns:
fromJson
public static ScopeConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of ScopeConnectionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ScopeConnectionInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ScopeConnectionInner.name()Returns:
resourceId
public String resourceId()
Get the resourceId property: Resource ID.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata related to this resource.
Returns:
tenantId
public String tenantId()
Get the tenantId property: Tenant ID.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ScopeConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ScopeConnectionInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ScopeConnectionInner.validate()withDescription
public ScopeConnectionInner withDescription(String description)
Set the description property: A description of the scope connection.
Parameters:
Returns:
withResourceId
public ScopeConnectionInner withResourceId(String resourceId)
Set the resourceId property: Resource ID.
Parameters:
Returns:
withTenantId
public ScopeConnectionInner withTenantId(String tenantId)
Set the tenantId property: Tenant ID.
Parameters:
Returns:
Applies to
Azure SDK for Java