Class FunctionCodeLocation

    • Constructor Detail

      • FunctionCodeLocation

        public FunctionCodeLocation()
    • Method Detail

      • setRepositoryType

        public void setRepositoryType​(String repositoryType)

        The repository from which you can download the function.

        Parameters:
        repositoryType - The repository from which you can download the function.
      • getRepositoryType

        public String getRepositoryType()

        The repository from which you can download the function.

        Returns:
        The repository from which you can download the function.
      • withRepositoryType

        public FunctionCodeLocation withRepositoryType​(String repositoryType)

        The repository from which you can download the function.

        Parameters:
        repositoryType - The repository from which you can download the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLocation

        public void setLocation​(String location)

        The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes.

        Parameters:
        location - The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes.
      • getLocation

        public String getLocation()

        The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes.

        Returns:
        The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes.
      • withLocation

        public FunctionCodeLocation withLocation​(String location)

        The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes.

        Parameters:
        location - The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes.
        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