Record Class ObjectStorageResourceParser.OracleCloudStorageUri
java.lang.Object
java.lang.Record
io.micronaut.objectstorage.resource.ObjectStorageResourceParser.OracleCloudStorageUri
- Enclosing class:
ObjectStorageResourceParser
-
Constructor Summary
ConstructorsConstructorDescriptionOracleCloudStorageUri(@NonNull String region, @NonNull String namespace, @NonNull String bucket, @NonNull String key) Creates an instance of aOracleCloudStorageUrirecord 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 StringReturns the value of thenamespacerecord component.@NonNull Stringregion()Returns the value of theregionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OracleCloudStorageUri
public OracleCloudStorageUri(@NonNull String region, @NonNull String namespace, @NonNull String bucket, @NonNull String key) Creates an instance of aOracleCloudStorageUrirecord class.- Parameters:
region- the value for theregionrecord componentnamespace- the value for thenamespacerecord 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). -
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
namespace
Returns the value of thenamespacerecord component.- Returns:
- the value of the
namespacerecord 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
-