@Generated(value="software.amazon.awssdk:codegen") public final class FunctionCode extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FunctionCode.Builder,FunctionCode>
The code for the Lambda function. You can specify either an S3 location, or upload a deployment package directly.
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() |
String |
s3Bucket()
An Amazon S3 bucket in the same region as your function.
|
String |
s3Key()
The Amazon S3 key of the deployment package.
|
String |
s3ObjectVersion()
For versioned objects, the version of the deployment package object to use.
|
List<SdkField<?>> |
sdkFields() |
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 base64-encoded contents of your zip file containing your deployment package.
|
copy
public SdkBytes zipFile()
The base64-encoded contents of your zip file containing your deployment package. AWS SDK and AWS CLI clients handle the encoding for you.
public String s3Bucket()
An Amazon S3 bucket in the same region as your function.
public String s3Key()
The Amazon S3 key of the deployment package.
public String s3ObjectVersion()
For versioned objects, the version of the deployment package object to use.
public FunctionCode.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FunctionCode.Builder,FunctionCode>
public static FunctionCode.Builder builder()
public static Class<? extends FunctionCode.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.