Record Class PublicEndpoint
java.lang.Object
java.lang.Record
io.leandev.appfuse.web.url.PublicEndpoint
public record PublicEndpoint(String id, String scopeId, PublicServerUrl server, Map<String, PublicServerUrl> frontends, Set<String> oidcRegistrationIds)
extends Record
維運受控入口。scopeId 為消費端的 opaque 識別,null 表示平台;不賦予 scope 權限。
-
Constructor Summary
ConstructorsConstructorDescriptionPublicEndpoint(String id, String scopeId, PublicServerUrl server, Map<String, PublicServerUrl> frontends, Set<String> oidcRegistrationIds) Creates an instance of aPublicEndpointrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbinding()final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefrontendsrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theoidcRegistrationIdsrecord component.origin()scopeId()Returns the value of thescopeIdrecord component.server()Returns the value of theserverrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PublicEndpoint
public PublicEndpoint(String id, String scopeId, PublicServerUrl server, Map<String, PublicServerUrl> frontends, Set<String> oidcRegistrationIds) Creates an instance of aPublicEndpointrecord class.- Parameters:
id- the value for theidrecord componentscopeId- the value for thescopeIdrecord componentserver- the value for theserverrecord componentfrontends- the value for thefrontendsrecord componentoidcRegistrationIds- the value for theoidcRegistrationIdsrecord component
-
-
Method Details
-
origin
-
binding
-
frontend
-
toString
-
hashCode
-
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
scopeId
Returns the value of thescopeIdrecord component.- Returns:
- the value of the
scopeIdrecord component
-
server
Returns the value of theserverrecord component.- Returns:
- the value of the
serverrecord component
-
frontends
Returns the value of thefrontendsrecord component.- Returns:
- the value of the
frontendsrecord component
-
oidcRegistrationIds
-