Record Class ObjectStorageResourceParser.NamedStorageUri
java.lang.Object
java.lang.Record
io.micronaut.objectstorage.resource.ObjectStorageResourceParser.NamedStorageUri
- Enclosing class:
ObjectStorageResourceParser
-
Constructor Summary
ConstructorsConstructorDescriptionNamedStorageUri(@NonNull String storageName, @NonNull String key) Creates an instance of aNamedStorageUrirecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NonNull Stringkey()Returns the value of thekeyrecord component.@NonNull StringReturns the value of thestorageNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NamedStorageUri
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
storageName
Returns the value of thestorageNamerecord component.- Returns:
- the value of the
storageNamerecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-