@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsLambdaFunctionDetails extends Object implements Serializable, Cloneable, StructuredPojo
A summary of information about the Amazon Web Services Lambda function.
Constructor and Description |
---|
AwsLambdaFunctionDetails() |
Modifier and Type | Method and Description |
---|---|
AwsLambdaFunctionDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getArchitectures()
The instruction set architecture that the Amazon Web Services Lambda function supports.
|
String |
getCodeSha256()
The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
|
String |
getExecutionRoleArn()
The Amazon Web Services Lambda function's execution role.
|
String |
getFunctionName()
The name of the Amazon Web Services Lambda function.
|
Date |
getLastModifiedAt()
The date and time that a user last updated the configuration, in ISO 8601 format
|
List<String> |
getLayers()
The Amazon Web Services Lambda function's layers.
|
String |
getPackageType()
The type of deployment package.
|
String |
getRuntime()
The runtime environment for the Amazon Web Services Lambda function.
|
String |
getVersion()
The version of the Amazon Web Services Lambda function.
|
LambdaVpcConfig |
getVpcConfig()
The Amazon Web Services Lambda function's networking configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArchitectures(Collection<String> architectures)
The instruction set architecture that the Amazon Web Services Lambda function supports.
|
void |
setCodeSha256(String codeSha256)
The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
|
void |
setExecutionRoleArn(String executionRoleArn)
The Amazon Web Services Lambda function's execution role.
|
void |
setFunctionName(String functionName)
The name of the Amazon Web Services Lambda function.
|
void |
setLastModifiedAt(Date lastModifiedAt)
The date and time that a user last updated the configuration, in ISO 8601 format
|
void |
setLayers(Collection<String> layers)
The Amazon Web Services Lambda function's layers.
|
void |
setPackageType(String packageType)
The type of deployment package.
|
void |
setRuntime(String runtime)
The runtime environment for the Amazon Web Services Lambda function.
|
void |
setVersion(String version)
The version of the Amazon Web Services Lambda function.
|
void |
setVpcConfig(LambdaVpcConfig vpcConfig)
The Amazon Web Services Lambda function's networking configuration.
|
String |
toString()
Returns a string representation of this object.
|
AwsLambdaFunctionDetails |
withArchitectures(Architecture... architectures)
The instruction set architecture that the Amazon Web Services Lambda function supports.
|
AwsLambdaFunctionDetails |
withArchitectures(Collection<String> architectures)
The instruction set architecture that the Amazon Web Services Lambda function supports.
|
AwsLambdaFunctionDetails |
withArchitectures(String... architectures)
The instruction set architecture that the Amazon Web Services Lambda function supports.
|
AwsLambdaFunctionDetails |
withCodeSha256(String codeSha256)
The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
|
AwsLambdaFunctionDetails |
withExecutionRoleArn(String executionRoleArn)
The Amazon Web Services Lambda function's execution role.
|
AwsLambdaFunctionDetails |
withFunctionName(String functionName)
The name of the Amazon Web Services Lambda function.
|
AwsLambdaFunctionDetails |
withLastModifiedAt(Date lastModifiedAt)
The date and time that a user last updated the configuration, in ISO 8601 format
|
AwsLambdaFunctionDetails |
withLayers(Collection<String> layers)
The Amazon Web Services Lambda function's layers.
|
AwsLambdaFunctionDetails |
withLayers(String... layers)
The Amazon Web Services Lambda function's layers.
|
AwsLambdaFunctionDetails |
withPackageType(PackageType packageType)
The type of deployment package.
|
AwsLambdaFunctionDetails |
withPackageType(String packageType)
The type of deployment package.
|
AwsLambdaFunctionDetails |
withRuntime(Runtime runtime)
The runtime environment for the Amazon Web Services Lambda function.
|
AwsLambdaFunctionDetails |
withRuntime(String runtime)
The runtime environment for the Amazon Web Services Lambda function.
|
AwsLambdaFunctionDetails |
withVersion(String version)
The version of the Amazon Web Services Lambda function.
|
AwsLambdaFunctionDetails |
withVpcConfig(LambdaVpcConfig vpcConfig)
The Amazon Web Services Lambda function's networking configuration.
|
public List<String> getArchitectures()
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string
array with one of the valid values. The default architecture value is x86_64
.
x86_64
.Architecture
public void setArchitectures(Collection<String> architectures)
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string
array with one of the valid values. The default architecture value is x86_64
.
architectures
- The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a
string array with one of the valid values. The default architecture value is x86_64
.Architecture
public AwsLambdaFunctionDetails withArchitectures(String... architectures)
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string
array with one of the valid values. The default architecture value is x86_64
.
NOTE: This method appends the values to the existing list (if any). Use
setArchitectures(java.util.Collection)
or withArchitectures(java.util.Collection)
if you want
to override the existing values.
architectures
- The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a
string array with one of the valid values. The default architecture value is x86_64
.Architecture
public AwsLambdaFunctionDetails withArchitectures(Collection<String> architectures)
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string
array with one of the valid values. The default architecture value is x86_64
.
architectures
- The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a
string array with one of the valid values. The default architecture value is x86_64
.Architecture
public AwsLambdaFunctionDetails withArchitectures(Architecture... architectures)
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string
array with one of the valid values. The default architecture value is x86_64
.
architectures
- The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a
string array with one of the valid values. The default architecture value is x86_64
.Architecture
public void setCodeSha256(String codeSha256)
The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
codeSha256
- The SHA256 hash of the Amazon Web Services Lambda function's deployment package.public String getCodeSha256()
The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
public AwsLambdaFunctionDetails withCodeSha256(String codeSha256)
The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
codeSha256
- The SHA256 hash of the Amazon Web Services Lambda function's deployment package.public void setExecutionRoleArn(String executionRoleArn)
The Amazon Web Services Lambda function's execution role.
executionRoleArn
- The Amazon Web Services Lambda function's execution role.public String getExecutionRoleArn()
The Amazon Web Services Lambda function's execution role.
public AwsLambdaFunctionDetails withExecutionRoleArn(String executionRoleArn)
The Amazon Web Services Lambda function's execution role.
executionRoleArn
- The Amazon Web Services Lambda function's execution role.public void setFunctionName(String functionName)
The name of the Amazon Web Services Lambda function.
functionName
- The name of the Amazon Web Services Lambda function.public String getFunctionName()
The name of the Amazon Web Services Lambda function.
public AwsLambdaFunctionDetails withFunctionName(String functionName)
The name of the Amazon Web Services Lambda function.
functionName
- The name of the Amazon Web Services Lambda function.public void setLastModifiedAt(Date lastModifiedAt)
The date and time that a user last updated the configuration, in ISO 8601 format
lastModifiedAt
- The date and time that a user last updated the configuration, in ISO 8601 formatpublic Date getLastModifiedAt()
The date and time that a user last updated the configuration, in ISO 8601 format
public AwsLambdaFunctionDetails withLastModifiedAt(Date lastModifiedAt)
The date and time that a user last updated the configuration, in ISO 8601 format
lastModifiedAt
- The date and time that a user last updated the configuration, in ISO 8601 formatpublic List<String> getLayers()
The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.
public void setLayers(Collection<String> layers)
The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.
layers
- The Amazon Web Services Lambda function's layers. A Lambda
function can have up to five layers.public AwsLambdaFunctionDetails withLayers(String... layers)
The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.
NOTE: This method appends the values to the existing list (if any). Use
setLayers(java.util.Collection)
or withLayers(java.util.Collection)
if you want to override the
existing values.
layers
- The Amazon Web Services Lambda function's layers. A Lambda
function can have up to five layers.public AwsLambdaFunctionDetails withLayers(Collection<String> layers)
The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.
layers
- The Amazon Web Services Lambda function's layers. A Lambda
function can have up to five layers.public void setPackageType(String packageType)
The type of deployment package. Set to Image
for container image and set Zip
for .zip
file archive.
packageType
- The type of deployment package. Set to Image
for container image and set Zip
for
.zip file archive.PackageType
public String getPackageType()
The type of deployment package. Set to Image
for container image and set Zip
for .zip
file archive.
Image
for container image and set Zip
for .zip file archive.PackageType
public AwsLambdaFunctionDetails withPackageType(String packageType)
The type of deployment package. Set to Image
for container image and set Zip
for .zip
file archive.
packageType
- The type of deployment package. Set to Image
for container image and set Zip
for
.zip file archive.PackageType
public AwsLambdaFunctionDetails withPackageType(PackageType packageType)
The type of deployment package. Set to Image
for container image and set Zip
for .zip
file archive.
packageType
- The type of deployment package. Set to Image
for container image and set Zip
for
.zip file archive.PackageType
public void setRuntime(String runtime)
The runtime environment for the Amazon Web Services Lambda function.
runtime
- The runtime environment for the Amazon Web Services Lambda function.Runtime
public String getRuntime()
The runtime environment for the Amazon Web Services Lambda function.
Runtime
public AwsLambdaFunctionDetails withRuntime(String runtime)
The runtime environment for the Amazon Web Services Lambda function.
runtime
- The runtime environment for the Amazon Web Services Lambda function.Runtime
public AwsLambdaFunctionDetails withRuntime(Runtime runtime)
The runtime environment for the Amazon Web Services Lambda function.
runtime
- The runtime environment for the Amazon Web Services Lambda function.Runtime
public void setVersion(String version)
The version of the Amazon Web Services Lambda function.
version
- The version of the Amazon Web Services Lambda function.public String getVersion()
The version of the Amazon Web Services Lambda function.
public AwsLambdaFunctionDetails withVersion(String version)
The version of the Amazon Web Services Lambda function.
version
- The version of the Amazon Web Services Lambda function.public void setVpcConfig(LambdaVpcConfig vpcConfig)
The Amazon Web Services Lambda function's networking configuration.
vpcConfig
- The Amazon Web Services Lambda function's networking configuration.public LambdaVpcConfig getVpcConfig()
The Amazon Web Services Lambda function's networking configuration.
public AwsLambdaFunctionDetails withVpcConfig(LambdaVpcConfig vpcConfig)
The Amazon Web Services Lambda function's networking configuration.
vpcConfig
- The Amazon Web Services Lambda function's networking configuration.public String toString()
toString
in class Object
Object.toString()
public AwsLambdaFunctionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.