Class ImmutableUaaGroup.Builder

  • Enclosing class:
    ImmutableUaaGroup

    @NotThreadSafe
    public static final class ImmutableUaaGroup.Builder
    extends Object
    Builds instances of type ImmutableUaaGroup. Initialize attributes and then invoke the build() method to create an immutable instance.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Detail

      • from

        public final ImmutableUaaGroup.Builder from​(UaaEntity instance)
        Fill a builder with attribute values from the provided io.dialob.security.uaa.spi.model.UaaEntity instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • from

        public final ImmutableUaaGroup.Builder from​(UaaGroup instance)
        Fill a builder with attribute values from the provided io.dialob.security.uaa.spi.model.UaaGroup instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • id

        public final ImmutableUaaGroup.Builder id​(String id)
        Initializes the value for the id attribute.
        Parameters:
        id - The value for id
        Returns:
        this builder for use in a chained invocation
      • addSchemas

        public final ImmutableUaaGroup.Builder addSchemas​(String element)
        Adds one element to schemas list.
        Parameters:
        element - A schemas element
        Returns:
        this builder for use in a chained invocation
      • addSchemas

        public final ImmutableUaaGroup.Builder addSchemas​(String... elements)
        Adds elements to schemas list.
        Parameters:
        elements - An array of schemas elements
        Returns:
        this builder for use in a chained invocation
      • schemas

        public final ImmutableUaaGroup.Builder schemas​(Iterable<String> elements)
        Sets or replaces all elements for schemas list.
        Parameters:
        elements - An iterable of schemas elements
        Returns:
        this builder for use in a chained invocation
      • addAllSchemas

        public final ImmutableUaaGroup.Builder addAllSchemas​(Iterable<String> elements)
        Adds elements to schemas list.
        Parameters:
        elements - An iterable of schemas elements
        Returns:
        this builder for use in a chained invocation
      • displayName

        public final ImmutableUaaGroup.Builder displayName​(String displayName)
        Initializes the value for the displayName attribute.
        Parameters:
        displayName - The value for displayName
        Returns:
        this builder for use in a chained invocation
      • description

        public final ImmutableUaaGroup.Builder description​(String description)
        Initializes the value for the description attribute.
        Parameters:
        description - The value for description (can be null)
        Returns:
        this builder for use in a chained invocation
      • zoneId

        public final ImmutableUaaGroup.Builder zoneId​(String zoneId)
        Initializes the value for the zoneId attribute.
        Parameters:
        zoneId - The value for zoneId (can be null)
        Returns:
        this builder for use in a chained invocation
      • meta

        public final ImmutableUaaGroup.Builder meta​(UaaMeta meta)
        Initializes the value for the meta attribute.
        Parameters:
        meta - The value for meta (can be null)
        Returns:
        this builder for use in a chained invocation