@Generated(value="software.amazon.awssdk:codegen") public final class FunctionCode extends Object implements StructuredPojo, ToCopyableBuilder<FunctionCode.Builder,FunctionCode>
The code for the Lambda function.
Modifier and Type | Class and Description |
---|---|
static interface |
FunctionCode.Builder |
Modifier and Type | Method and Description |
---|---|
static FunctionCode.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
s3Bucket()
Amazon S3 bucket name where the .zip file containing your deployment package is stored.
|
String |
s3Key()
The Amazon S3 object (the deployment package) key name you want to upload.
|
String |
s3ObjectVersion()
The Amazon S3 object (the deployment package) version you want to upload.
|
static Class<? extends FunctionCode.Builder> |
serializableBuilderClass() |
FunctionCode.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
SdkBytes |
zipFile()
The contents of your zip file containing your deployment package.
|
copy
public SdkBytes zipFile()
The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, see Execution Permissions in the AWS Lambda Developer Guide.
public String 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 s3Key()
The Amazon S3 object (the deployment package) key name you want to upload.
public String s3ObjectVersion()
The Amazon S3 object (the deployment package) version you want to upload.
public FunctionCode.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FunctionCode.Builder,FunctionCode>
public static FunctionCode.Builder builder()
public static Class<? extends FunctionCode.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.