@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableDocumentationProvider extends DocumentationProvider
DocumentationProvider.
Use the builder to create immutable instances:
ImmutableDocumentationProvider.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableDocumentationProvider.Builder
Builds instances of type
ImmutableDocumentationProvider. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableDocumentationProvider.Builder |
builder()
Creates a builder for
ImmutableDocumentationProvider. |
static ImmutableDocumentationProvider |
copyOf(DocumentationProvider instance)
Creates an immutable copy of a
DocumentationProvider value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableDocumentationProvider that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
id, name, uri. |
String |
id() |
String |
name() |
String |
toString()
Prints the immutable value
DocumentationProvider with attribute values. |
String |
uri() |
ImmutableDocumentationProvider |
withId(String value)
Copy the current immutable object by setting a value for the
id attribute. |
ImmutableDocumentationProvider |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableDocumentationProvider |
withUri(String value)
Copy the current immutable object by setting a value for the
uri attribute. |
public String id()
id in class DocumentationProviderid attributepublic String name()
name in class DocumentationProvidername attributepublic String uri()
uri in class DocumentationProvideruri attributepublic final ImmutableDocumentationProvider withId(String value)
id attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for idthis objectpublic final ImmutableDocumentationProvider withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final ImmutableDocumentationProvider withUri(String value)
uri attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for urithis objectpublic boolean equals(@Nullable Object another)
ImmutableDocumentationProvider that have equal attribute values.public int hashCode()
id, name, uri.public String toString()
DocumentationProvider with attribute values.public static ImmutableDocumentationProvider copyOf(DocumentationProvider instance)
DocumentationProvider 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 ImmutableDocumentationProvider.Builder builder()
ImmutableDocumentationProvider.
ImmutableDocumentationProvider.builder()
.setId(String) // required id
.setName(String) // required name
.setUri(String) // required uri
.build();
Copyright © 2024 Atlassian. All rights reserved.