ConnectionSharedKeyResultInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. ConnectionSharedKeyResultInner
- com.
- com.
public final class ConnectionSharedKeyResultInner
extends SubResource
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 |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
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: The name of the resource that is unique within a resource group. |
Connection |
withProperties(SharedKeyProperties properties)
Set the properties property: Properties of the shared key. |
Methods inherited from SubResource
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:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
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.
Returns:
validate
public void validate()
Validates the instance.
withId
public ConnectionSharedKeyResultInner withId(String id)
Overrides:
ConnectionSharedKeyResultInner.withId(String id)Parameters:
withName
public ConnectionSharedKeyResultInner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withProperties
public ConnectionSharedKeyResultInner withProperties(SharedKeyProperties properties)
Set the properties property: Properties of the shared key.
Parameters:
Returns:
Applies to
Azure SDK for Java