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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FunctionCodeLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionCodeLocationclone()booleanequals(Object obj)StringgetLocation()The presigned URL you can use to download the function's .zip file that you previously uploaded.StringgetRepositoryType()The repository from which you can download the function.inthashCode()voidsetLocation(String location)The presigned URL you can use to download the function's .zip file that you previously uploaded.voidsetRepositoryType(String repositoryType)The repository from which you can download the function.StringtoString()Returns a string representation of this object; useful for testing and debugging.FunctionCodeLocationwithLocation(String location)The presigned URL you can use to download the function's .zip file that you previously uploaded.FunctionCodeLocationwithRepositoryType(String repositoryType)The repository from which you can download the function.
-
-
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FunctionCodeLocation clone()
-
-