@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ScimMeta"}) @Immutable public final class ImmutableScimMeta extends ScimMeta
ScimMeta.
Use the builder to create immutable instances:
ImmutableScimMeta.builder().
Use the static factory method to create immutable instances:
ImmutableScimMeta.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableScimMeta.Builder
Builds instances of type
ImmutableScimMeta. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableScimMeta.Builder |
builder()
Creates a builder for
ImmutableScimMeta. |
static ImmutableScimMeta |
copyOf(ScimMeta instance)
Creates an immutable copy of a
ScimMeta value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableScimMeta that have equal attribute values. |
OffsetDateTime |
getLastModified() |
String |
getResourceType() |
int |
hashCode()
Computes a hash code from attributes:
resourceType, lastModified. |
static ImmutableScimMeta |
of(String resourceType,
OffsetDateTime lastModified)
Construct a new immutable
ScimMeta instance. |
String |
toString()
Prints the immutable value
ScimMeta with attribute values. |
ImmutableScimMeta |
withLastModified(OffsetDateTime value)
Copy the current immutable object by setting a value for the
lastModified attribute. |
ImmutableScimMeta |
withResourceType(String value)
Copy the current immutable object by setting a value for the
resourceType attribute. |
@Nullable public String getResourceType()
getResourceType in class ScimMetaresourceType attribute@Nullable public OffsetDateTime getLastModified()
getLastModified in class ScimMetalastModified attributepublic final ImmutableScimMeta withResourceType(@Nullable String value)
resourceType attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for resourceType (can be null)this objectpublic final ImmutableScimMeta withLastModified(@Nullable OffsetDateTime value)
lastModified attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for lastModified (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableScimMeta that have equal attribute values.public int hashCode()
resourceType, lastModified.public String toString()
ScimMeta with attribute values.public static ImmutableScimMeta of(@Nullable String resourceType, @Nullable OffsetDateTime lastModified)
ScimMeta instance.resourceType - The value for the resourceType attributelastModified - The value for the lastModified attributepublic static ImmutableScimMeta copyOf(ScimMeta instance)
ScimMeta 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 ImmutableScimMeta.Builder builder()
ImmutableScimMeta.Copyright © 2016 Atlassian. All rights reserved.