Record Class ObjectStorageResourceParser.BucketStorageUri
java.lang.Object
java.lang.Record
io.micronaut.objectstorage.resource.ObjectStorageResourceParser.BucketStorageUri
- Enclosing class:
ObjectStorageResourceParser
-
Constructor Summary
ConstructorsConstructorDescriptionBucketStorageUri(@NonNull String scheme, @NonNull String bucket, @NonNull String key) Creates an instance of aBucketStorageUrirecord class. -
Method Summary
Modifier and TypeMethodDescription@NonNull Stringbucket()Returns the value of thebucketrecord component.final 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 Stringscheme()Returns the value of theschemerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BucketStorageUri
Creates an instance of aBucketStorageUrirecord class.- Parameters:
scheme- the value for theschemerecord componentbucket- the value for thebucketrecord componentkey- the value for thekeyrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
scheme
Returns the value of theschemerecord component.- Returns:
- the value of the
schemerecord component
-
bucket
Returns the value of thebucketrecord component.- Returns:
- the value of the
bucketrecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-