Interface KeyAccessor.KeyBuilder<K,​B extends KeyAccessor.KeyBuilder<K,​B>>

Type Parameters:
K - the key type
B - The builder to return in order to be able to apply multiple build operations.
Enclosing interface:
KeyAccessor<K>

public static interface KeyAccessor.KeyBuilder<K,​B extends KeyAccessor.KeyBuilder<K,​B>>
Provides a builder method for a key property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type Method Description
    B withKey​(K aKey)
    Sets the key for the key property.
  • Method Details

    • withKey

      B withKey​(K aKey)
      Sets the key for the key property.
      Parameters:
      aKey - The key to be stored by the key property.
      Returns:
      The builder for applying multiple build operations.