@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, upload a .zip file archive deployment package directly, or specify the URI of a container image.
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 |
imageUri()
URI of a container image in the
Amazon ECR registry.
|
String |
s3Bucket()
An Amazon S3 bucket in the same Amazon Web Services 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 final SdkBytes zipFile()
The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
public final String s3Bucket()
An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services 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 imageUri()
URI of a container image in the Amazon ECR registry.
public FunctionCode.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<FunctionCode.Builder,FunctionCode>
public static FunctionCode.Builder builder()
public static Class<? extends FunctionCode.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.