CAtomChangelogWriterConfigurationTypepublic final class CAtomChangelogWriterConfiguration extends Object implements CAtomChangelogWriterConfigurationType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CAtomChangelogWriterConfiguration.Builder |
Builds instances of type
CAtomChangelogWriterConfiguration. |
| Modifier and Type | Method | Description |
|---|---|---|
String |
authorEmail() |
|
String |
authorName() |
|
static CAtomChangelogWriterConfiguration.Builder |
builder() |
Creates a builder for
CAtomChangelogWriterConfiguration. |
static CAtomChangelogWriterConfiguration |
copyOf(CAtomChangelogWriterConfigurationType instance) |
Creates an immutable copy of a
CAtomChangelogWriterConfigurationType value. |
boolean |
equals(Object another) |
This instance is equal to all instances of
CAtomChangelogWriterConfiguration that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
updated, authorEmail, authorName, title, uri. |
static CAtomChangelogWriterConfiguration |
of(ZonedDateTime updated,
String authorEmail,
String authorName,
String title,
URI uri) |
Construct a new immutable
CAtomChangelogWriterConfiguration instance. |
String |
title() |
|
String |
toString() |
Prints the immutable value
CAtomChangelogWriterConfiguration with attribute values. |
ZonedDateTime |
updated() |
|
URI |
uri() |
|
CAtomChangelogWriterConfiguration |
withAuthorEmail(String value) |
Copy the current immutable object by setting a value for the
authorEmail attribute. |
CAtomChangelogWriterConfiguration |
withAuthorName(String value) |
Copy the current immutable object by setting a value for the
authorName attribute. |
CAtomChangelogWriterConfiguration |
withTitle(String value) |
Copy the current immutable object by setting a value for the
title attribute. |
CAtomChangelogWriterConfiguration |
withUpdated(ZonedDateTime value) |
Copy the current immutable object by setting a value for the
updated attribute. |
CAtomChangelogWriterConfiguration |
withUri(URI value) |
Copy the current immutable object by setting a value for the
uri attribute. |
public ZonedDateTime updated()
updated in interface CAtomChangelogWriterConfigurationTypepublic String authorEmail()
authorEmail in interface CAtomChangelogWriterConfigurationTypepublic String authorName()
authorName in interface CAtomChangelogWriterConfigurationTypepublic String title()
title in interface CAtomChangelogWriterConfigurationTypepublic URI uri()
uri in interface CAtomChangelogWriterConfigurationTypepublic final CAtomChangelogWriterConfiguration withUpdated(ZonedDateTime value)
updated attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for updatedthis objectpublic final CAtomChangelogWriterConfiguration withAuthorEmail(String value)
authorEmail attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for authorEmailthis objectpublic final CAtomChangelogWriterConfiguration withAuthorName(String value)
authorName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for authorNamethis objectpublic final CAtomChangelogWriterConfiguration withTitle(String value)
title attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for titlethis objectpublic final CAtomChangelogWriterConfiguration withUri(URI value)
uri attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for urithis objectpublic boolean equals(Object another)
CAtomChangelogWriterConfiguration that have equal attribute values.public int hashCode()
updated, authorEmail, authorName, title, uri.public String toString()
CAtomChangelogWriterConfiguration with attribute values.public static CAtomChangelogWriterConfiguration of(ZonedDateTime updated, String authorEmail, String authorName, String title, URI uri)
CAtomChangelogWriterConfiguration instance.updated - The value for the updated attributeauthorEmail - The value for the authorEmail attributeauthorName - The value for the authorName attributetitle - The value for the title attributeuri - The value for the uri attributepublic static CAtomChangelogWriterConfiguration copyOf(CAtomChangelogWriterConfigurationType instance)
CAtomChangelogWriterConfigurationType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static CAtomChangelogWriterConfiguration.Builder builder()
CAtomChangelogWriterConfiguration.Copyright © 2018 <code@io7m.com> http://io7m.com