ConnectionSharedKeyInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. ConnectionSharedKeyInner
- com.
- com.
public final class ConnectionSharedKeyInner
extends SubResource
Response for GetConnectionSharedKey API service call.
Constructor Summary
Constructor | Description |
---|---|
ConnectionSharedKeyInner() |
Creates an instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The virtual network connection shared key value. |
Connection |
withId(String id) |
Connection |
withValue(String value)
Set the value property: The virtual network connection shared key value. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ConnectionSharedKeyInner
public ConnectionSharedKeyInner()
Creates an instance of ConnectionSharedKeyInner class.
Method Details
fromJson
public static ConnectionSharedKeyInner fromJson(JsonReader jsonReader)
Reads an instance of ConnectionSharedKeyInner from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConnectionSharedKeyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The virtual network connection shared key value.
Returns:
withId
public ConnectionSharedKeyInner withId(String id)
Overrides:
ConnectionSharedKeyInner.withId(String id)Parameters:
withValue
public ConnectionSharedKeyInner withValue(String value)
Set the value property: The virtual network connection shared key value.
Parameters:
Returns:
Applies to
Azure SDK for Java