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.SubResource
Response for GetConnectionSharedKey API service call.
  • Constructor Details

    • ConnectionSharedKeyInner

      public ConnectionSharedKeyInner()
      Creates an instance of ConnectionSharedKeyInner class.
  • Method Details

    • 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:
      withId in class com.azure.core.management.SubResource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.