Class AccessKeysInner

java.lang.Object
com.azure.resourcemanager.relay.fluent.models.AccessKeysInner

public final class AccessKeysInner extends Object
Namespace/Relay Connection String.
  • Constructor Details

    • AccessKeysInner

      public AccessKeysInner()
  • Method Details

    • primaryConnectionString

      public String primaryConnectionString()
      Get the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
      Returns:
      the primaryConnectionString value.
    • withPrimaryConnectionString

      public AccessKeysInner withPrimaryConnectionString(String primaryConnectionString)
      Set the primaryConnectionString property: Primary connection string of the created namespace authorization rule.
      Parameters:
      primaryConnectionString - the primaryConnectionString value to set.
      Returns:
      the AccessKeysInner object itself.
    • secondaryConnectionString

      public String secondaryConnectionString()
      Get the secondaryConnectionString property: Secondary connection string of the created namespace authorization rule.
      Returns:
      the secondaryConnectionString value.
    • withSecondaryConnectionString

      public AccessKeysInner withSecondaryConnectionString(String secondaryConnectionString)
      Set the secondaryConnectionString property: Secondary connection string of the created namespace authorization rule.
      Parameters:
      secondaryConnectionString - the secondaryConnectionString value to set.
      Returns:
      the AccessKeysInner object itself.
    • primaryKey

      public String primaryKey()
      Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
      Returns:
      the primaryKey value.
    • withPrimaryKey

      public AccessKeysInner withPrimaryKey(String primaryKey)
      Set the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
      Parameters:
      primaryKey - the primaryKey value to set.
      Returns:
      the AccessKeysInner object itself.
    • secondaryKey

      public String secondaryKey()
      Get the secondaryKey property: A base64-encoded 256-bit secondary key for signing and validating the SAS token.
      Returns:
      the secondaryKey value.
    • withSecondaryKey

      public AccessKeysInner withSecondaryKey(String secondaryKey)
      Set the secondaryKey property: A base64-encoded 256-bit secondary key for signing and validating the SAS token.
      Parameters:
      secondaryKey - the secondaryKey value to set.
      Returns:
      the AccessKeysInner object itself.
    • keyName

      public String keyName()
      Get the keyName property: A string that describes the authorization rule.
      Returns:
      the keyName value.
    • withKeyName

      public AccessKeysInner withKeyName(String keyName)
      Set the keyName property: A string that describes the authorization rule.
      Parameters:
      keyName - the keyName value to set.
      Returns:
      the AccessKeysInner object itself.
    • validate

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