ConnectionSharedKeyResultInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. SubResourceModel - com.
azure. resourcemanager. network. fluent. models. ConnectionSharedKeyResultInner
- com.
- com.
- com.
public final class ConnectionSharedKeyResultInner
extends SubResourceModel
SharedKey Resource .
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionSharedKeyResultInner() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
|
Shared |
properties()
Get the properties property: Properties of the shared key. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Resource type. |
| void |
validate()
Validates the instance. |
|
Connection |
withId(String id) |
|
Connection |
withName(String name)
Set the name property: Name of the resource. |
|
Connection |
withProperties(SharedKeyProperties properties)
Set the properties property: Properties of the shared key. |
Methods inherited from SubResource
Methods inherited from SubResourceModel
Methods inherited from java.lang.Object
Constructor Details
ConnectionSharedKeyResultInner
public ConnectionSharedKeyResultInner()
Creates an instance of ConnectionSharedKeyResultInner class.
Method Details
fromJson
public static ConnectionSharedKeyResultInner fromJson(JsonReader jsonReader)
Reads an instance of ConnectionSharedKeyResultInner from the JsonReader.
Parameters:
Returns:
Throws:
properties
public SharedKeyProperties properties()
Get the properties property: Properties of the shared key.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConnectionSharedKeyResultInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
ConnectionSharedKeyResultInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ConnectionSharedKeyResultInner.validate()withId
public ConnectionSharedKeyResultInner withId(String id)
Overrides:
ConnectionSharedKeyResultInner.withId(String id)Parameters:
withName
public ConnectionSharedKeyResultInner withName(String name)
Set the name property: Name of the resource.
Overrides:
ConnectionSharedKeyResultInner.withName(String name)Parameters:
withProperties
public ConnectionSharedKeyResultInner withProperties(SharedKeyProperties properties)
Set the properties property: Properties of the shared key.
Parameters:
Returns: