Class WcfRelayInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.relay.fluent.models.WcfRelayInner

public final class WcfRelayInner extends com.azure.core.management.ProxyResource
Description of the WCF relay resource.
  • Constructor Details

    • WcfRelayInner

      public WcfRelayInner()
  • Method Details

    • isDynamic

      public Boolean isDynamic()
      Get the isDynamic property: Returns true if the relay is dynamic; otherwise, false.
      Returns:
      the isDynamic value.
    • createdAt

      public OffsetDateTime createdAt()
      Get the createdAt property: The time the WCF relay 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 relay. Note that min :1 and max:25 are supported.
      Returns:
      the listenerCount value.
    • relayType

      public Relaytype relayType()
      Get the relayType property: WCF relay type.
      Returns:
      the relayType value.
    • withRelayType

      public WcfRelayInner withRelayType(Relaytype relayType)
      Set the relayType property: WCF relay type.
      Parameters:
      relayType - the relayType value to set.
      Returns:
      the WcfRelayInner object itself.
    • requiresClientAuthorization

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

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

      public Boolean requiresTransportSecurity()
      Get the requiresTransportSecurity property: Returns true if transport security is needed for this relay; otherwise, false.
      Returns:
      the requiresTransportSecurity value.
    • withRequiresTransportSecurity

      public WcfRelayInner withRequiresTransportSecurity(Boolean requiresTransportSecurity)
      Set the requiresTransportSecurity property: Returns true if transport security is needed for this relay; otherwise, false.
      Parameters:
      requiresTransportSecurity - the requiresTransportSecurity value to set.
      Returns:
      the WcfRelayInner object itself.
    • userMetadata

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

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

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