Record Class ProviderClient.Configuration

java.lang.Object
java.lang.Record
org.cloudburstmc.netty.signaling.ProviderClient.Configuration
Enclosing class:
ProviderClient

public static record ProviderClient.Configuration(URI provider, String profile, String label, String registrationMode, String authorizationScheme, String authorizationToken, String region, String pool, Map<String,String> tags, ProviderClient.ControlTransport controlTransport, boolean diagnosticAdmission, String connectivityMethod, boolean assistedJoins) extends Record
  • Constructor Details

    • Configuration

      public Configuration(URI provider, String profile, String label, String registrationMode, String authorizationScheme, String authorizationToken, String region, String pool, Map<String,String> tags, ProviderClient.ControlTransport controlTransport, boolean diagnosticAdmission, String connectivityMethod, boolean assistedJoins)
      Creates an instance of a Configuration record class.
      Parameters:
      provider - the value for the provider record component
      profile - the value for the profile record component
      label - the value for the label record component
      registrationMode - the value for the registrationMode record component
      authorizationScheme - the value for the authorizationScheme record component
      authorizationToken - the value for the authorizationToken record component
      region - the value for the region record component
      pool - the value for the pool record component
      tags - the value for the tags record component
      controlTransport - the value for the controlTransport record component
      diagnosticAdmission - the value for the diagnosticAdmission record component
      connectivityMethod - the value for the connectivityMethod record component
      assistedJoins - the value for the assistedJoins record component
    • Configuration

      public Configuration(URI provider, String profile, String label, String registrationMode, String authorizationScheme, String authorizationToken, String region, String pool, Map<String,String> tags, ProviderClient.ControlTransport controlTransport, boolean diagnosticAdmission, String connectivityMethod)
    • Configuration

      public Configuration(URI provider, String profile, String label, String registrationMode, String authorizationScheme, String authorizationToken, String region, String pool, Map<String,String> tags, ProviderClient.ControlTransport controlTransport)
    • Configuration

      public Configuration(URI provider, String profile, String label, String registrationMode, String authorizationScheme, String authorizationToken, String region, String pool, Map<String,String> tags)
    • Configuration

      public Configuration(URI provider, String profile, String label)
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • provider

      public URI provider()
      Returns the value of the provider record component.
      Returns:
      the value of the provider record component
    • profile

      public String profile()
      Returns the value of the profile record component.
      Returns:
      the value of the profile record component
    • label

      public String label()
      Returns the value of the label record component.
      Returns:
      the value of the label record component
    • registrationMode

      public String registrationMode()
      Returns the value of the registrationMode record component.
      Returns:
      the value of the registrationMode record component
    • authorizationScheme

      public String authorizationScheme()
      Returns the value of the authorizationScheme record component.
      Returns:
      the value of the authorizationScheme record component
    • authorizationToken

      public String authorizationToken()
      Returns the value of the authorizationToken record component.
      Returns:
      the value of the authorizationToken record component
    • region

      public String region()
      Returns the value of the region record component.
      Returns:
      the value of the region record component
    • pool

      public String pool()
      Returns the value of the pool record component.
      Returns:
      the value of the pool record component
    • tags

      public Map<String,String> tags()
      Returns the value of the tags record component.
      Returns:
      the value of the tags record component
    • controlTransport

      public ProviderClient.ControlTransport controlTransport()
      Returns the value of the controlTransport record component.
      Returns:
      the value of the controlTransport record component
    • diagnosticAdmission

      public boolean diagnosticAdmission()
      Returns the value of the diagnosticAdmission record component.
      Returns:
      the value of the diagnosticAdmission record component
    • connectivityMethod

      public String connectivityMethod()
      Returns the value of the connectivityMethod record component.
      Returns:
      the value of the connectivityMethod record component
    • assistedJoins

      public boolean assistedJoins()
      Returns the value of the assistedJoins record component.
      Returns:
      the value of the assistedJoins record component