Class ClientMetadata

java.lang.Object
com.netflix.genie.common.internal.dtos.ClientMetadata
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AgentClientMetadata, ApiClientMetadata

public class ClientMetadata extends Object implements Serializable
Common base for API and Agent client metadata.
Since:
4.0.0
See Also:
  • Constructor Details

    • ClientMetadata

      public ClientMetadata(@Nullable String hostname)
      Constructor.
      Parameters:
      hostname - The hostname of the client to the Genie server
  • Method Details

    • getHostname

      public Optional<String> getHostname()
      Get the hostname of the client.
      Returns:
      The hostname if there is one wrapped in an Optional