Record Class ResolvedConnectionProperties
java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.autoconfigure.dashscope.ResolvedConnectionProperties
public record ResolvedConnectionProperties(String baseUrl, String apiKey, String workspaceId, org.springframework.util.MultiValueMap<String,String> headers)
extends Record
- Author:
- yuluo, yuluo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiKey()Returns the value of theapiKeyrecord component.baseUrl()Returns the value of thebaseUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.headers()Returns the value of theheadersrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkspaceIdrecord component.
-
Constructor Details
-
ResolvedConnectionProperties
public ResolvedConnectionProperties(String baseUrl, String apiKey, String workspaceId, org.springframework.util.MultiValueMap<String, String> headers) Creates an instance of aResolvedConnectionPropertiesrecord class.- Parameters:
baseUrl- the value for thebaseUrlrecord componentapiKey- the value for theapiKeyrecord componentworkspaceId- the value for theworkspaceIdrecord componentheaders- the value for theheadersrecord component
-
-
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). -
baseUrl
Returns the value of thebaseUrlrecord component.- Returns:
- the value of the
baseUrlrecord component
-
apiKey
Returns the value of theapiKeyrecord component.- Returns:
- the value of the
apiKeyrecord component
-
workspaceId
Returns the value of theworkspaceIdrecord component.- Returns:
- the value of the
workspaceIdrecord component
-
headers
Returns the value of theheadersrecord component.- Returns:
- the value of the
headersrecord component
-