Record Class TenantManagedArchiveBucket
java.lang.Object
java.lang.Record
com.yahoo.vespa.hosted.controller.api.integration.archive.TenantManagedArchiveBucket
public record TenantManagedArchiveBucket(String bucketName, com.yahoo.config.provision.CloudAccount cloudAccount, Instant updatedAt)
extends Record
Represents a cloud storage bucket (e.g. AWS S3 or Google Storage) used to store archive data - logs, heap/core dumps, etc.
that is managed by the tenant directly.
- Author:
- freva
-
Constructor Summary
ConstructorsConstructorDescriptionTenantManagedArchiveBucket(String bucketName, com.yahoo.config.provision.CloudAccount cloudAccount, Instant updatedAt) Creates an instance of aTenantManagedArchiveBucketrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebucketNamerecord component.com.yahoo.config.provision.CloudAccountReturns the value of thecloudAccountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.
-
Constructor Details
-
TenantManagedArchiveBucket
public TenantManagedArchiveBucket(String bucketName, com.yahoo.config.provision.CloudAccount cloudAccount, Instant updatedAt) Creates an instance of aTenantManagedArchiveBucketrecord class.- Parameters:
bucketName- the value for thebucketNamerecord componentcloudAccount- the value for thecloudAccountrecord componentupdatedAt- the value for theupdatedAtrecord 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). -
bucketName
Returns the value of thebucketNamerecord component.- Returns:
- the value of the
bucketNamerecord component
-
cloudAccount
public com.yahoo.config.provision.CloudAccount cloudAccount()Returns the value of thecloudAccountrecord component.- Returns:
- the value of the
cloudAccountrecord component
-
updatedAt
Returns the value of theupdatedAtrecord component.- Returns:
- the value of the
updatedAtrecord component
-