Class HybridConnectionProperties

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

public final class HybridConnectionProperties extends Object
Properties of the HybridConnection.
  • Constructor Details

    • HybridConnectionProperties

      public HybridConnectionProperties()
  • Method Details

    • createdAt

      public OffsetDateTime createdAt()
      Get the createdAt property: The time the hybrid connection was created.
      Returns:
      the createdAt value.
    • updatedAt

      public OffsetDateTime updatedAt()
      Get the updatedAt property: The time the namespace was updated.
      Returns:
      the updatedAt value.
    • listenerCount

      public Integer listenerCount()
      Get the listenerCount property: The number of listeners for this hybrid connection. Note that min : 1 and max:25 are supported.
      Returns:
      the listenerCount value.
    • requiresClientAuthorization

      public Boolean requiresClientAuthorization()
      Get the requiresClientAuthorization property: Returns true if client authorization is needed for this hybrid connection; otherwise, false.
      Returns:
      the requiresClientAuthorization value.
    • withRequiresClientAuthorization

      public HybridConnectionProperties withRequiresClientAuthorization(Boolean requiresClientAuthorization)
      Set the requiresClientAuthorization property: Returns true if client authorization is needed for this hybrid connection; otherwise, false.
      Parameters:
      requiresClientAuthorization - the requiresClientAuthorization value to set.
      Returns:
      the HybridConnectionProperties object itself.
    • userMetadata

      public String userMetadata()
      Get the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.
      Returns:
      the userMetadata value.
    • withUserMetadata

      public HybridConnectionProperties withUserMetadata(String userMetadata)
      Set the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.
      Parameters:
      userMetadata - the userMetadata value to set.
      Returns:
      the HybridConnectionProperties object itself.
    • validate

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