public class FunctionCode extends Object implements Serializable, Cloneable
The code for the Lambda function.
Constructor and Description |
---|
FunctionCode() |
Modifier and Type | Method and Description |
---|---|
FunctionCode |
clone() |
boolean |
equals(Object obj) |
String |
getS3Bucket()
Amazon S3 bucket name where the .zip file containing your deployment
package is stored.
|
String |
getS3Key()
The Amazon S3 object (the deployment package) key name you want to
upload.
|
String |
getS3ObjectVersion()
The Amazon S3 object (the deployment package) version you want to
upload.
|
ByteBuffer |
getZipFile()
A base64-encoded .zip file containing your deployment package.
|
int |
hashCode() |
void |
setS3Bucket(String s3Bucket)
Amazon S3 bucket name where the .zip file containing your deployment
package is stored.
|
void |
setS3Key(String s3Key)
The Amazon S3 object (the deployment package) key name you want to
upload.
|
void |
setS3ObjectVersion(String s3ObjectVersion)
The Amazon S3 object (the deployment package) version you want to
upload.
|
void |
setZipFile(ByteBuffer zipFile)
A base64-encoded .zip file containing your deployment package.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FunctionCode |
withS3Bucket(String s3Bucket)
Amazon S3 bucket name where the .zip file containing your deployment
package is stored.
|
FunctionCode |
withS3Key(String s3Key)
The Amazon S3 object (the deployment package) key name you want to
upload.
|
FunctionCode |
withS3ObjectVersion(String s3ObjectVersion)
The Amazon S3 object (the deployment package) version you want to
upload.
|
FunctionCode |
withZipFile(ByteBuffer zipFile)
A base64-encoded .zip file containing your deployment package.
|
public ByteBuffer getZipFile()
public void setZipFile(ByteBuffer zipFile)
zipFile
- A base64-encoded .zip file containing your deployment package. For
more information about creating a .zip file, go to Execution
Permissions in the AWS Lambda Developer Guide.public FunctionCode withZipFile(ByteBuffer zipFile)
Returns a reference to this object so that method calls can be chained together.
zipFile
- A base64-encoded .zip file containing your deployment package. For
more information about creating a .zip file, go to Execution
Permissions in the AWS Lambda Developer Guide.public String getS3Bucket()
Constraints:
Length: 3 - 63
Pattern: ^[0-9A-Za-z\.\-_]*(?
public void setS3Bucket(String s3Bucket)
Constraints:
Length: 3 - 63
Pattern: ^[0-9A-Za-z\.\-_]*(?
s3Bucket
- Amazon S3 bucket name where the .zip file containing your deployment
package is stored. This bucket must reside in the same AWS region
where you are creating the Lambda function.public FunctionCode withS3Bucket(String s3Bucket)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 63
Pattern: ^[0-9A-Za-z\.\-_]*(?
s3Bucket
- Amazon S3 bucket name where the .zip file containing your deployment
package is stored. This bucket must reside in the same AWS region
where you are creating the Lambda function.public String getS3Key()
Constraints:
Length: 1 - 1024
public void setS3Key(String s3Key)
Constraints:
Length: 1 - 1024
s3Key
- The Amazon S3 object (the deployment package) key name you want to
upload.public FunctionCode withS3Key(String s3Key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
s3Key
- The Amazon S3 object (the deployment package) key name you want to
upload.public String getS3ObjectVersion()
Constraints:
Length: 1 - 1024
public void setS3ObjectVersion(String s3ObjectVersion)
Constraints:
Length: 1 - 1024
s3ObjectVersion
- The Amazon S3 object (the deployment package) version you want to
upload.public FunctionCode withS3ObjectVersion(String s3ObjectVersion)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
s3ObjectVersion
- The Amazon S3 object (the deployment package) version you want to
upload.public String toString()
toString
in class Object
Object.toString()
public FunctionCode clone()
Copyright © 2015. All rights reserved.