public class FunctionCodeLocation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The object for the Lambda function location.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
location
The presigned URL you can use to download the function's .zip file that
you previously uploaded.
|
private java.lang.String |
repositoryType
The repository from which you can download the function.
|
Constructor and Description |
---|
FunctionCodeLocation() |
Modifier and Type | Method and Description |
---|---|
FunctionCodeLocation |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLocation()
The presigned URL you can use to download the function's .zip file that
you previously uploaded.
|
java.lang.String |
getRepositoryType()
The repository from which you can download the function.
|
int |
hashCode() |
void |
setLocation(java.lang.String location)
The presigned URL you can use to download the function's .zip file that
you previously uploaded.
|
void |
setRepositoryType(java.lang.String repositoryType)
The repository from which you can download the function.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FunctionCodeLocation |
withLocation(java.lang.String location)
The presigned URL you can use to download the function's .zip file that
you previously uploaded.
|
FunctionCodeLocation |
withRepositoryType(java.lang.String repositoryType)
The repository from which you can download the function.
|
private java.lang.String repositoryType
The repository from which you can download the function.
private java.lang.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.
public void setRepositoryType(java.lang.String repositoryType)
The repository from which you can download the function.
repositoryType
- The repository from which you can download the function.public java.lang.String getRepositoryType()
The repository from which you can download the function.
public FunctionCodeLocation withRepositoryType(java.lang.String repositoryType)
The repository from which you can download the function.
repositoryType
- The repository from which you can download the function.public void setLocation(java.lang.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.
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.public java.lang.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.
public FunctionCodeLocation withLocation(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FunctionCodeLocation clone()
clone
in class java.lang.Object