Package org.cloudburstmc.netty.signaling
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 Summary
ConstructorsConstructorDescriptionConfiguration(URI provider, String profile, String label) Configuration(URI provider, String profile, String label, String registrationMode, String authorizationScheme, String authorizationToken, String region, String pool, Map<String, String> tags) 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(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(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 aConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theassistedJoinsrecord component.Returns the value of theauthorizationSchemerecord component.Returns the value of theauthorizationTokenrecord component.Returns the value of theconnectivityMethodrecord component.Returns the value of thecontrolTransportrecord component.booleanReturns the value of thediagnosticAdmissionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.pool()Returns the value of thepoolrecord component.profile()Returns the value of theprofilerecord component.provider()Returns the value of theproviderrecord component.region()Returns the value of theregionrecord component.Returns the value of theregistrationModerecord component.tags()Returns the value of thetagsrecord component.toString()Returns a string representation of this record class.
-
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 aConfigurationrecord class.- Parameters:
provider- the value for theproviderrecord componentprofile- the value for theprofilerecord componentlabel- the value for thelabelrecord componentregistrationMode- the value for theregistrationModerecord componentauthorizationScheme- the value for theauthorizationSchemerecord componentauthorizationToken- the value for theauthorizationTokenrecord componentregion- the value for theregionrecord componentpool- the value for thepoolrecord componenttags- the value for thetagsrecord componentcontrolTransport- the value for thecontrolTransportrecord componentdiagnosticAdmission- the value for thediagnosticAdmissionrecord componentconnectivityMethod- the value for theconnectivityMethodrecord componentassistedJoins- the value for theassistedJoinsrecord 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
-
Configuration
-
Configuration
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
profile
Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
registrationMode
Returns the value of theregistrationModerecord component.- Returns:
- the value of the
registrationModerecord component
-
authorizationScheme
Returns the value of theauthorizationSchemerecord component.- Returns:
- the value of the
authorizationSchemerecord component
-
authorizationToken
Returns the value of theauthorizationTokenrecord component.- Returns:
- the value of the
authorizationTokenrecord component
-
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
pool
Returns the value of thepoolrecord component.- Returns:
- the value of the
poolrecord component
-
tags
Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-
controlTransport
Returns the value of thecontrolTransportrecord component.- Returns:
- the value of the
controlTransportrecord component
-
diagnosticAdmission
public boolean diagnosticAdmission()Returns the value of thediagnosticAdmissionrecord component.- Returns:
- the value of the
diagnosticAdmissionrecord component
-
connectivityMethod
Returns the value of theconnectivityMethodrecord component.- Returns:
- the value of the
connectivityMethodrecord component
-
assistedJoins
public boolean assistedJoins()Returns the value of theassistedJoinsrecord component.- Returns:
- the value of the
assistedJoinsrecord component
-