@Generated(value="software.amazon.awssdk:codegen") public final class AwsLambdaFunctionCode extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsLambdaFunctionCode.Builder,AwsLambdaFunctionCode>
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 |
AwsLambdaFunctionCode.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsLambdaFunctionCode.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 AwsLambdaFunctionCode.Builder> |
serializableBuilderClass() |
AwsLambdaFunctionCode.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
zipFile()
The base64-encoded contents of the deployment package.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String s3Bucket()
An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
public final String s3Key()
The Amazon S3 key of the deployment package.
public final String s3ObjectVersion()
For versioned objects, the version of the deployment package object to use.
public final String zipFile()
The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.
public AwsLambdaFunctionCode.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsLambdaFunctionCode.Builder,AwsLambdaFunctionCode>public static AwsLambdaFunctionCode.Builder builder()
public static Class<? extends AwsLambdaFunctionCode.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.