@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 object in Amazon S3, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
s3Bucket()
An Amazon S3 bucket in the same AWS 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() |
String |
toString()
Returns a string representation of this object.
|
SdkBytes |
zipFile()
The base64-encoded contents of the deployment package.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public SdkBytes zipFile()
The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.
public String s3Bucket()
An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
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()
toBuilder
in interface ToCopyableBuilder<FunctionCode.Builder,FunctionCode>
public static FunctionCode.Builder builder()
public static Class<? extends FunctionCode.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.