Package org.cloudburstmc.netty.signaling
Record Class ProviderClient.Configuration
java.lang.Object
java.lang.Record
org.cloudburstmc.netty.signaling.ProviderClient.Configuration
- Enclosing class:
- ProviderClient
-
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) Creates an instance of aConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorizationSchemerecord component.Returns the value of theauthorizationTokenrecord component.Returns the value of thecontrolTransportrecord 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) 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 component
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
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
-