Package ai.octoryn.sdk
Record Class GovernanceMetadata
java.lang.Object
java.lang.Record
ai.octoryn.sdk.GovernanceMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionGovernanceMetadata(String runId, String upstream, String byok, String region, String route, String policyDecision, String evidenceHash, BigDecimal estimatedCost) Creates an instance of aGovernanceMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyok()Returns the value of thebyokrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theestimatedCostrecord component.Returns the value of theevidenceHashrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepolicyDecisionrecord component.region()Returns the value of theregionrecord component.route()Returns the value of therouterecord component.runId()Returns the value of therunIdrecord component.final StringtoString()Returns a string representation of this record class.upstream()Returns the value of theupstreamrecord component.
-
Constructor Details
-
GovernanceMetadata
public GovernanceMetadata(String runId, String upstream, String byok, String region, String route, String policyDecision, String evidenceHash, BigDecimal estimatedCost) Creates an instance of aGovernanceMetadatarecord class.- Parameters:
runId- the value for therunIdrecord componentupstream- the value for theupstreamrecord componentbyok- the value for thebyokrecord componentregion- the value for theregionrecord componentroute- the value for therouterecord componentpolicyDecision- the value for thepolicyDecisionrecord componentevidenceHash- the value for theevidenceHashrecord componentestimatedCost- the value for theestimatedCostrecord 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). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
upstream
Returns the value of theupstreamrecord component.- Returns:
- the value of the
upstreamrecord component
-
byok
Returns the value of thebyokrecord component.- Returns:
- the value of the
byokrecord component
-
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
route
Returns the value of therouterecord component.- Returns:
- the value of the
routerecord component
-
policyDecision
Returns the value of thepolicyDecisionrecord component.- Returns:
- the value of the
policyDecisionrecord component
-
evidenceHash
Returns the value of theevidenceHashrecord component.- Returns:
- the value of the
evidenceHashrecord component
-
estimatedCost
Returns the value of theestimatedCostrecord component.- Returns:
- the value of the
estimatedCostrecord component
-