@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableAttachmentsConfiguration extends AttachmentsConfiguration
AttachmentsConfiguration.
Use the builder to create immutable instances:
ImmutableAttachmentsConfiguration.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableAttachmentsConfiguration.Builder
Builds instances of type
ImmutableAttachmentsConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableAttachmentsConfiguration.Builder |
builder()
Creates a builder for
ImmutableAttachmentsConfiguration. |
static ImmutableAttachmentsConfiguration |
copyOf(AttachmentsConfiguration instance)
Creates an immutable copy of a
AttachmentsConfiguration value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableAttachmentsConfiguration that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
maximumAttachmentFileSize. |
int |
maximumAttachmentFileSize() |
String |
toString()
Prints the immutable value
AttachmentsConfiguration with attribute values. |
ImmutableAttachmentsConfiguration |
withMaximumAttachmentFileSize(int value)
Copy the current immutable object by setting a value for the
maximumAttachmentFileSize attribute. |
public int maximumAttachmentFileSize()
maximumAttachmentFileSize in class AttachmentsConfigurationmaximumAttachmentFileSize attributepublic final ImmutableAttachmentsConfiguration withMaximumAttachmentFileSize(int value)
maximumAttachmentFileSize attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for maximumAttachmentFileSizethis objectpublic boolean equals(@Nullable Object another)
ImmutableAttachmentsConfiguration that have equal attribute values.public int hashCode()
maximumAttachmentFileSize.public String toString()
AttachmentsConfiguration with attribute values.public static ImmutableAttachmentsConfiguration copyOf(AttachmentsConfiguration instance)
AttachmentsConfiguration 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 ImmutableAttachmentsConfiguration.Builder builder()
ImmutableAttachmentsConfiguration.
ImmutableAttachmentsConfiguration.builder()
.setMaximumAttachmentFileSize(int) // required maximumAttachmentFileSize
.build();
Copyright © 2024 Atlassian. All rights reserved.