Module xorcery.log4j
Record Class LoggingMetadata.Builder
- All Implemented Interfaces:
CommonMetadata.Builder<LoggingMetadata.Builder>,DeploymentMetadata.Builder<LoggingMetadata.Builder>
- Enclosing class:
- LoggingMetadata
public static record LoggingMetadata.Builder(Metadata.Builder builder)
extends Record
implements CommonMetadata.Builder<LoggingMetadata.Builder>, DeploymentMetadata.Builder<LoggingMetadata.Builder>
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(Metadata.Builder builder) Creates an instance of aBuilderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuild()builder()Returns the value of thebuilderrecord 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.Methods inherited from interface CommonMetadata.Builder
contentType, timestampMethods inherited from interface DeploymentMetadata.Builder
configuration
-
Constructor Details
-
Builder
Creates an instance of aBuilderrecord class.- Parameters:
builder- the value for thebuilderrecord component
-
-
Method Details
-
build
-
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
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). -
builder
Returns the value of thebuilderrecord component.- Specified by:
builderin interfaceCommonMetadata.Builder<LoggingMetadata.Builder>- Specified by:
builderin interfaceDeploymentMetadata.Builder<LoggingMetadata.Builder>- Returns:
- the value of the
builderrecord component
-