Class CreateApiKeyRequest

    • Constructor Detail

      • CreateApiKeyRequest

        public CreateApiKeyRequest()
    • Method Detail

      • setName

        public void setName​(String name)

        The name of the ApiKey.

        Parameters:
        name - The name of the ApiKey.
      • getName

        public String getName()

        The name of the ApiKey.

        Returns:
        The name of the ApiKey.
      • withName

        public CreateApiKeyRequest withName​(String name)

        The name of the ApiKey.

        Parameters:
        name - The name of the ApiKey.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        The description of the ApiKey.

        Parameters:
        description - The description of the ApiKey.
      • getDescription

        public String getDescription()

        The description of the ApiKey.

        Returns:
        The description of the ApiKey.
      • withDescription

        public CreateApiKeyRequest withDescription​(String description)

        The description of the ApiKey.

        Parameters:
        description - The description of the ApiKey.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEnabled

        public void setEnabled​(Boolean enabled)

        Specifies whether the ApiKey can be used by callers.

        Parameters:
        enabled - Specifies whether the ApiKey can be used by callers.
      • getEnabled

        public Boolean getEnabled()

        Specifies whether the ApiKey can be used by callers.

        Returns:
        Specifies whether the ApiKey can be used by callers.
      • withEnabled

        public CreateApiKeyRequest withEnabled​(Boolean enabled)

        Specifies whether the ApiKey can be used by callers.

        Parameters:
        enabled - Specifies whether the ApiKey can be used by callers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnabled

        public Boolean isEnabled()

        Specifies whether the ApiKey can be used by callers.

        Returns:
        Specifies whether the ApiKey can be used by callers.
      • getStageKeys

        public List<StageKey> getStageKeys()

        Specifies whether the ApiKey can be used by callers.

        Returns:
        Specifies whether the ApiKey can be used by callers.
      • setStageKeys

        public void setStageKeys​(Collection<StageKey> stageKeys)

        Specifies whether the ApiKey can be used by callers.

        Parameters:
        stageKeys - Specifies whether the ApiKey can be used by callers.
      • withStageKeys

        public CreateApiKeyRequest withStageKeys​(Collection<StageKey> stageKeys)

        Specifies whether the ApiKey can be used by callers.

        Parameters:
        stageKeys - Specifies whether the ApiKey can be used by callers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object