Package app.ductape.sdk.cloud
Record Class CloudRuntimeUtil.CloudRuntimeContext
java.lang.Object
java.lang.Record
app.ductape.sdk.cloud.CloudRuntimeUtil.CloudRuntimeContext
- Enclosing class:
- CloudRuntimeUtil
public static record CloudRuntimeUtil.CloudRuntimeContext(RequestContext auth, String productTag, String componentTag, String envSlug)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCloudRuntimeContext(RequestContext auth, String productTag, String componentTag, String envSlug) Creates an instance of aCloudRuntimeContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionauth()Returns the value of theauthrecord component.Returns the value of thecomponentTagrecord component.envSlug()Returns the value of theenvSlugrecord 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 theproductTagrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CloudRuntimeContext
public CloudRuntimeContext(RequestContext auth, String productTag, String componentTag, String envSlug) Creates an instance of aCloudRuntimeContextrecord class.- Parameters:
auth- the value for theauthrecord componentproductTag- the value for theproductTagrecord componentcomponentTag- the value for thecomponentTagrecord componentenvSlug- the value for theenvSlugrecord 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). -
auth
Returns the value of theauthrecord component.- Returns:
- the value of the
authrecord component
-
productTag
Returns the value of theproductTagrecord component.- Returns:
- the value of the
productTagrecord component
-
componentTag
Returns the value of thecomponentTagrecord component.- Returns:
- the value of the
componentTagrecord component
-
envSlug
Returns the value of theenvSlugrecord component.- Returns:
- the value of the
envSlugrecord component
-