SharedKeyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. SharedKeyProperties
- com.
Implements
public final class SharedKeyProperties
implements JsonSerializable<SharedKeyProperties>
Parameters for SharedKey.
Constructor Summary
Constructor | Description |
---|---|
SharedKeyProperties() |
Creates an instance of Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Shared |
fromJson(JsonReader jsonReader)
Reads an instance of Shared |
Provisioning |
provisioningState()
Get the provisioning |
String |
sharedKey()
Get the shared |
Integer |
sharedKeyLength()
Get the shared |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Shared |
withSharedKey(String sharedKey)
Set the shared |
Shared |
withSharedKeyLength(Integer sharedKeyLength)
Set the shared |
Methods inherited from java.lang.Object
Constructor Details
SharedKeyProperties
public SharedKeyProperties()
Creates an instance of SharedKeyProperties class.
Method Details
fromJson
public static SharedKeyProperties fromJson(JsonReader jsonReader)
Reads an instance of SharedKeyProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the SharedKey resource.
Returns:
sharedKey
public String sharedKey()
Get the sharedKey property: The value of the shared key for the vpn link connection.
Returns:
sharedKeyLength
public Integer sharedKeyLength()
Get the sharedKeyLength property: The length of the shared key for the vpn link connection.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSharedKey
public SharedKeyProperties withSharedKey(String sharedKey)
Set the sharedKey property: The value of the shared key for the vpn link connection.
Parameters:
Returns:
withSharedKeyLength
public SharedKeyProperties withSharedKeyLength(Integer sharedKeyLength)
Set the sharedKeyLength property: The length of the shared key for the vpn link connection.
Parameters:
Returns:
Applies to
Azure SDK for Java