ConnectionResetSharedKeyInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ConnectionResetSharedKeyInner
- com.
Implements
public final class ConnectionResetSharedKeyInner
implements JsonSerializable<ConnectionResetSharedKeyInner>
The virtual network connection reset shared key.
Constructor Summary
Constructor | Description |
---|---|
ConnectionResetSharedKeyInner() |
Creates an instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
int |
keyLength()
Get the key |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Connection |
withKeyLength(int keyLength)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
ConnectionResetSharedKeyInner
public ConnectionResetSharedKeyInner()
Creates an instance of ConnectionResetSharedKeyInner class.
Method Details
fromJson
public static ConnectionResetSharedKeyInner fromJson(JsonReader jsonReader)
Reads an instance of ConnectionResetSharedKeyInner from the JsonReader.
Parameters:
Returns:
Throws:
keyLength
public int keyLength()
Get the keyLength property: The virtual network connection reset shared key length, should between 1 and 128.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeyLength
public ConnectionResetSharedKeyInner withKeyLength(int keyLength)
Set the keyLength property: The virtual network connection reset shared key length, should between 1 and 128.
Parameters:
Returns:
Applies to
Azure SDK for Java