@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ScimGroup"}) @Immutable public final class ImmutableScimGroup extends ScimGroup
ScimGroup.
Use the builder to create immutable instances:
ImmutableScimGroup.builder().
Use the static factory method to create immutable instances:
ImmutableScimGroup.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableScimGroup.Builder
Builds instances of type
ImmutableScimGroup. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableScimGroup.Builder |
builder()
Creates a builder for
ImmutableScimGroup. |
static ImmutableScimGroup |
copyOf(ScimGroup instance)
Creates an immutable copy of a
ScimGroup value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableScimGroup that have equal attribute values. |
AtlassianScimExtension |
getAtlassianScimExtension() |
String |
getDisplayName() |
String |
getId() |
List<ScimGroupMember> |
getMembers() |
ScimMeta |
getMeta() |
Set<String> |
getSchemas() |
int |
hashCode()
Computes a hash code from attributes:
schemas, id, displayName, members, meta, atlassianScimExtension. |
static ImmutableScimGroup |
of(Iterable<String> schemas,
String id,
String displayName,
Iterable<? extends ScimGroupMember> members,
ScimMeta meta,
AtlassianScimExtension atlassianScimExtension)
Construct a new immutable
ScimGroup instance. |
static ImmutableScimGroup |
of(Set<String> schemas,
String id,
String displayName,
List<ScimGroupMember> members,
ScimMeta meta,
AtlassianScimExtension atlassianScimExtension)
Construct a new immutable
ScimGroup instance. |
String |
toString()
Prints the immutable value
ScimGroup with attribute values. |
ImmutableScimGroup |
withAtlassianScimExtension(AtlassianScimExtension value)
Copy the current immutable object by setting a value for the
atlassianScimExtension attribute. |
ImmutableScimGroup |
withDisplayName(String value)
Copy the current immutable object by setting a value for the
displayName attribute. |
ImmutableScimGroup |
withId(String value)
Copy the current immutable object by setting a value for the
id attribute. |
ImmutableScimGroup |
withMembers(Iterable<? extends ScimGroupMember> elements)
Copy the current immutable object with elements that replace the content of
members. |
ImmutableScimGroup |
withMembers(ScimGroupMember... elements)
Copy the current immutable object with elements that replace the content of
members. |
ImmutableScimGroup |
withMeta(ScimMeta value)
Copy the current immutable object by setting a value for the
meta attribute. |
ImmutableScimGroup |
withSchemas(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
schemas. |
ImmutableScimGroup |
withSchemas(String... elements)
Copy the current immutable object with elements that replace the content of
schemas. |
checkSchemas@Nullable public Set<String> getSchemas()
getSchemas in class ScimGroupschemas attribute@Nullable public String getDisplayName()
getDisplayName in class ScimGroupdisplayName attribute@Nullable public List<ScimGroupMember> getMembers()
getMembers in class ScimGroupmembers attribute@Nullable public AtlassianScimExtension getAtlassianScimExtension()
getAtlassianScimExtension in class ScimGroupatlassianScimExtension attributepublic final ImmutableScimGroup withSchemas(@Nullable String... elements)
schemas.elements - The elements to setthis objectpublic final ImmutableScimGroup withSchemas(@Nullable Iterable<String> elements)
schemas.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of schemas elements to setthis objectpublic final ImmutableScimGroup withId(@Nullable String value)
id attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for id (can be null)this objectpublic final ImmutableScimGroup withDisplayName(@Nullable String value)
displayName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for displayName (can be null)this objectpublic final ImmutableScimGroup withMembers(@Nullable ScimGroupMember... elements)
members.elements - The elements to setthis objectpublic final ImmutableScimGroup withMembers(@Nullable Iterable<? extends ScimGroupMember> elements)
members.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of members elements to setthis objectpublic final ImmutableScimGroup withMeta(@Nullable ScimMeta value)
meta attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for meta (can be null)this objectpublic final ImmutableScimGroup withAtlassianScimExtension(@Nullable AtlassianScimExtension value)
atlassianScimExtension attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for atlassianScimExtension (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableScimGroup that have equal attribute values.public int hashCode()
schemas, id, displayName, members, meta, atlassianScimExtension.public String toString()
ScimGroup with attribute values.public static ImmutableScimGroup of(@Nullable Set<String> schemas, @Nullable String id, @Nullable String displayName, @Nullable List<ScimGroupMember> members, @Nullable ScimMeta meta, @Nullable AtlassianScimExtension atlassianScimExtension)
ScimGroup instance.schemas - The value for the schemas attributeid - The value for the id attributedisplayName - The value for the displayName attributemembers - The value for the members attributemeta - The value for the meta attributeatlassianScimExtension - The value for the atlassianScimExtension attributepublic static ImmutableScimGroup of(@Nullable Iterable<String> schemas, @Nullable String id, @Nullable String displayName, @Nullable Iterable<? extends ScimGroupMember> members, @Nullable ScimMeta meta, @Nullable AtlassianScimExtension atlassianScimExtension)
ScimGroup instance.schemas - The value for the schemas attributeid - The value for the id attributedisplayName - The value for the displayName attributemembers - The value for the members attributemeta - The value for the meta attributeatlassianScimExtension - The value for the atlassianScimExtension attributepublic static ImmutableScimGroup copyOf(ScimGroup instance)
ScimGroup 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 ImmutableScimGroup.Builder builder()
ImmutableScimGroup.Copyright © 2016 Atlassian. All rights reserved.