Record Class ObjetoExpirado
java.lang.Object
java.lang.Record
br.com.vantroba.bi.transporte.processamento.ObjetoExpirado
- Record Components:
id- identificador do processamentoobjetoBucket- bucket do objetoobjetoChave- chave do objeto
-
Constructor Summary
ConstructorsConstructorDescriptionObjetoExpirado(Long id, String objetoBucket, String objetoChave) Creates an instance of aObjetoExpiradorecord 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.id()Returns the value of theidrecord component.Returns the value of theobjetoBucketrecord component.Returns the value of theobjetoChaverecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ObjetoExpirado
Creates an instance of aObjetoExpiradorecord class.- Parameters:
id- the value for theidrecord componentobjetoBucket- the value for theobjetoBucketrecord componentobjetoChave- the value for theobjetoChaverecord 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). -
id
-
objetoBucket
Returns the value of theobjetoBucketrecord component.- Returns:
- the value of the
objetoBucketrecord component
-
objetoChave
Returns the value of theobjetoChaverecord component.- Returns:
- the value of the
objetoChaverecord component
-