Record Class PermissionManifestClient.Config
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.manifest.PermissionManifestClient.Config
- Enclosing class:
PermissionManifestClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientId()Returns the value of theclientIdrecord component.Returns the value of theclientSecretrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theissuerEndpointrecord component.intReturns the value of themaxRetriesrecord component.Returns the value of themaxRetryDelayrecord component.Returns the value of theportalApiEndpointrecord component.timeout()Returns the value of thetimeoutrecord component.Returns the value of thetokenSkewrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Config
-
Config
public Config(String issuerEndpoint, String portalApiEndpoint, String clientId, String clientSecret, Duration timeout, Duration tokenSkew, int maxRetries, Duration maxRetryDelay) Creates an instance of aConfigrecord class.- Parameters:
issuerEndpoint- the value for theissuerEndpointrecord componentportalApiEndpoint- the value for theportalApiEndpointrecord componentclientId- the value for theclientIdrecord componentclientSecret- the value for theclientSecretrecord componenttimeout- the value for thetimeoutrecord componenttokenSkew- the value for thetokenSkewrecord componentmaxRetries- the value for themaxRetriesrecord componentmaxRetryDelay- the value for themaxRetryDelayrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
issuerEndpoint
Returns the value of theissuerEndpointrecord component.- Returns:
- the value of the
issuerEndpointrecord component
-
portalApiEndpoint
Returns the value of theportalApiEndpointrecord component.- Returns:
- the value of the
portalApiEndpointrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
clientSecret
Returns the value of theclientSecretrecord component.- Returns:
- the value of the
clientSecretrecord component
-
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
tokenSkew
Returns the value of thetokenSkewrecord component.- Returns:
- the value of the
tokenSkewrecord component
-
maxRetries
public int maxRetries()Returns the value of themaxRetriesrecord component.- Returns:
- the value of the
maxRetriesrecord component
-
maxRetryDelay
Returns the value of themaxRetryDelayrecord component.- Returns:
- the value of the
maxRetryDelayrecord component
-