Class FunctionCodeLocation

java.lang.Object
com.amazonaws.services.lambda.model.FunctionCodeLocation
All Implemented Interfaces:
Serializable, Cloneable

public class FunctionCodeLocation extends Object implements Serializable, Cloneable

The object for the Lambda function location.

See Also:
  • Constructor Details

    • FunctionCodeLocation

      public FunctionCodeLocation()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public FunctionCodeLocation clone()
      Overrides:
      clone in class Object