Class ConnectionSharedKeyInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner
-
public final class ConnectionSharedKeyInner extends com.azure.core.management.SubResourceResponse for GetConnectionSharedKey API service call.
-
-
Constructor Summary
Constructors Constructor Description ConnectionSharedKeyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.Stringvalue()Get the value property: The virtual network connection shared key value.ConnectionSharedKeyInnerwithId(String id)ConnectionSharedKeyInnerwithValue(String value)Set the value property: The virtual network connection shared key value.
-
-
-
Method Detail
-
value
public String value()
Get the value property: The virtual network connection shared key value.- Returns:
- the value value.
-
withValue
public ConnectionSharedKeyInner withValue(String value)
Set the value property: The virtual network connection shared key value.- Parameters:
value- the value value to set.- Returns:
- the ConnectionSharedKeyInner object itself.
-
withId
public ConnectionSharedKeyInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-