All Implemented Interfaces:

public class ApiKey
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static ApiKey of​(java.util.function.Function<ApiKey.Builder,​ObjectBuilder<ApiKey>> fn)
    • name

      public final java.lang.String name()
      Required - API name: name
    • expiration

      @Nullable public final Time expiration()
      API name: expiration
    • roleDescriptors

      public final java.util.List<java.util.Map<java.lang.String,​JsonData>> roleDescriptors()
      API name: role_descriptors
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupApiKeyDeserializer

      protected static void setupApiKeyDeserializer​(ObjectDeserializer<ApiKey.Builder> op)