@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FunctionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Details about a function's configuration.
Constructor and Description |
---|
FunctionConfiguration() |
Modifier and Type | Method and Description |
---|---|
FunctionConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getArchitectures()
The instruction set architecture that the function supports.
|
String |
getCodeSha256()
The SHA256 hash of the function's deployment package.
|
Long |
getCodeSize()
The size of the function's deployment package, in bytes.
|
DeadLetterConfig |
getDeadLetterConfig()
The function's dead letter queue.
|
String |
getDescription()
The function's description.
|
EnvironmentResponse |
getEnvironment()
The function's environment
variables.
|
EphemeralStorage |
getEphemeralStorage()
The size of the function's
/tmp directory in MB. |
List<FileSystemConfig> |
getFileSystemConfigs()
Connection settings for an Amazon EFS file system.
|
String |
getFunctionArn()
The function's Amazon Resource Name (ARN).
|
String |
getFunctionName()
The name of the function.
|
String |
getHandler()
The function that Lambda calls to begin running your function.
|
ImageConfigResponse |
getImageConfigResponse()
The function's image configuration values.
|
String |
getKMSKeyArn()
The KMS key that's used to encrypt the function's environment variables.
|
String |
getLastModified()
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
String |
getLastUpdateStatus()
The status of the last update that was performed on the function.
|
String |
getLastUpdateStatusReason()
The reason for the last update that was performed on the function.
|
String |
getLastUpdateStatusReasonCode()
The reason code for the last update that was performed on the function.
|
List<Layer> |
getLayers()
The function's layers.
|
LoggingConfig |
getLoggingConfig()
The function's Amazon CloudWatch Logs configuration settings.
|
String |
getMasterArn()
For Lambda@Edge functions, the ARN of the main function.
|
Integer |
getMemorySize()
The amount of memory available to the function at runtime.
|
String |
getPackageType()
The type of deployment package.
|
String |
getRevisionId()
The latest updated revision of the function or alias.
|
String |
getRole()
The function's execution role.
|
String |
getRuntime()
The identifier of the function's runtime.
|
RuntimeVersionConfig |
getRuntimeVersionConfig()
The ARN of the runtime and any errors that occured.
|
String |
getSigningJobArn()
The ARN of the signing job.
|
String |
getSigningProfileVersionArn()
The ARN of the signing profile version.
|
SnapStartResponse |
getSnapStart()
Set
ApplyOn to PublishedVersions to create a snapshot of the initialized execution
environment when you publish a function version. |
String |
getState()
The current state of the function.
|
String |
getStateReason()
The reason for the function's current state.
|
String |
getStateReasonCode()
The reason code for the function's current state.
|
Integer |
getTimeout()
The amount of time in seconds that Lambda allows a function to run before stopping it.
|
TracingConfigResponse |
getTracingConfig()
The function's X-Ray tracing configuration.
|
String |
getVersion()
The version of the Lambda function.
|
VpcConfigResponse |
getVpcConfig()
The 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 function supports.
|
void |
setCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
|
void |
setCodeSize(Long codeSize)
The size of the function's deployment package, in bytes.
|
void |
setDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
|
void |
setDescription(String description)
The function's description.
|
void |
setEnvironment(EnvironmentResponse environment)
The function's environment
variables.
|
void |
setEphemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function's
/tmp directory in MB. |
void |
setFileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
void |
setFunctionArn(String functionArn)
The function's Amazon Resource Name (ARN).
|
void |
setFunctionName(String functionName)
The name of the function.
|
void |
setHandler(String handler)
The function that Lambda calls to begin running your function.
|
void |
setImageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
|
void |
setKMSKeyArn(String kMSKeyArn)
The KMS key that's used to encrypt the function's environment variables.
|
void |
setLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
void |
setLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function.
|
void |
setLastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function.
|
void |
setLastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
|
void |
setLastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
void |
setLastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
void |
setLayers(Collection<Layer> layers)
The function's layers.
|
void |
setLoggingConfig(LoggingConfig loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.
|
void |
setMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the main function.
|
void |
setMemorySize(Integer memorySize)
The amount of memory available to the function at runtime.
|
void |
setPackageType(PackageType packageType)
The type of deployment package.
|
void |
setPackageType(String packageType)
The type of deployment package.
|
void |
setRevisionId(String revisionId)
The latest updated revision of the function or alias.
|
void |
setRole(String role)
The function's execution role.
|
void |
setRuntime(Runtime runtime)
The identifier of the function's runtime.
|
void |
setRuntime(String runtime)
The identifier of the function's runtime.
|
void |
setRuntimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)
The ARN of the runtime and any errors that occured.
|
void |
setSigningJobArn(String signingJobArn)
The ARN of the signing job.
|
void |
setSigningProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
|
void |
setSnapStart(SnapStartResponse snapStart)
Set
ApplyOn to PublishedVersions to create a snapshot of the initialized execution
environment when you publish a function version. |
void |
setState(State state)
The current state of the function.
|
void |
setState(String state)
The current state of the function.
|
void |
setStateReason(String stateReason)
The reason for the function's current state.
|
void |
setStateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state.
|
void |
setStateReasonCode(String stateReasonCode)
The reason code for the function's current state.
|
void |
setTimeout(Integer timeout)
The amount of time in seconds that Lambda allows a function to run before stopping it.
|
void |
setTracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.
|
void |
setVersion(String version)
The version of the Lambda function.
|
void |
setVpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
|
String |
toString()
Returns a string representation of this object.
|
FunctionConfiguration |
withArchitectures(Architecture... architectures)
The instruction set architecture that the function supports.
|
FunctionConfiguration |
withArchitectures(Collection<String> architectures)
The instruction set architecture that the function supports.
|
FunctionConfiguration |
withArchitectures(String... architectures)
The instruction set architecture that the function supports.
|
FunctionConfiguration |
withCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
|
FunctionConfiguration |
withCodeSize(Long codeSize)
The size of the function's deployment package, in bytes.
|
FunctionConfiguration |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
|
FunctionConfiguration |
withDescription(String description)
The function's description.
|
FunctionConfiguration |
withEnvironment(EnvironmentResponse environment)
The function's environment
variables.
|
FunctionConfiguration |
withEphemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function's
/tmp directory in MB. |
FunctionConfiguration |
withFileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
FunctionConfiguration |
withFileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
FunctionConfiguration |
withFunctionArn(String functionArn)
The function's Amazon Resource Name (ARN).
|
FunctionConfiguration |
withFunctionName(String functionName)
The name of the function.
|
FunctionConfiguration |
withHandler(String handler)
The function that Lambda calls to begin running your function.
|
FunctionConfiguration |
withImageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
|
FunctionConfiguration |
withKMSKeyArn(String kMSKeyArn)
The KMS key that's used to encrypt the function's environment variables.
|
FunctionConfiguration |
withLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
FunctionConfiguration |
withLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function.
|
FunctionConfiguration |
withLastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function.
|
FunctionConfiguration |
withLastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
|
FunctionConfiguration |
withLastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
FunctionConfiguration |
withLastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
FunctionConfiguration |
withLayers(Collection<Layer> layers)
The function's layers.
|
FunctionConfiguration |
withLayers(Layer... layers)
The function's layers.
|
FunctionConfiguration |
withLoggingConfig(LoggingConfig loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.
|
FunctionConfiguration |
withMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the main function.
|
FunctionConfiguration |
withMemorySize(Integer memorySize)
The amount of memory available to the function at runtime.
|
FunctionConfiguration |
withPackageType(PackageType packageType)
The type of deployment package.
|
FunctionConfiguration |
withPackageType(String packageType)
The type of deployment package.
|
FunctionConfiguration |
withRevisionId(String revisionId)
The latest updated revision of the function or alias.
|
FunctionConfiguration |
withRole(String role)
The function's execution role.
|
FunctionConfiguration |
withRuntime(Runtime runtime)
The identifier of the function's runtime.
|
FunctionConfiguration |
withRuntime(String runtime)
The identifier of the function's runtime.
|
FunctionConfiguration |
withRuntimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)
The ARN of the runtime and any errors that occured.
|
FunctionConfiguration |
withSigningJobArn(String signingJobArn)
The ARN of the signing job.
|
FunctionConfiguration |
withSigningProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
|
FunctionConfiguration |
withSnapStart(SnapStartResponse snapStart)
Set
ApplyOn to PublishedVersions to create a snapshot of the initialized execution
environment when you publish a function version. |
FunctionConfiguration |
withState(State state)
The current state of the function.
|
FunctionConfiguration |
withState(String state)
The current state of the function.
|
FunctionConfiguration |
withStateReason(String stateReason)
The reason for the function's current state.
|
FunctionConfiguration |
withStateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state.
|
FunctionConfiguration |
withStateReasonCode(String stateReasonCode)
The reason code for the function's current state.
|
FunctionConfiguration |
withTimeout(Integer timeout)
The amount of time in seconds that Lambda allows a function to run before stopping it.
|
FunctionConfiguration |
withTracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.
|
FunctionConfiguration |
withVersion(String version)
The version of the Lambda function.
|
FunctionConfiguration |
withVpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
|
public void setFunctionName(String functionName)
The name of the function.
functionName
- The name of the function.public String getFunctionName()
The name of the function.
public FunctionConfiguration withFunctionName(String functionName)
The name of the function.
functionName
- The name of the function.public void setFunctionArn(String functionArn)
The function's Amazon Resource Name (ARN).
functionArn
- The function's Amazon Resource Name (ARN).public String getFunctionArn()
The function's Amazon Resource Name (ARN).
public FunctionConfiguration withFunctionArn(String functionArn)
The function's Amazon Resource Name (ARN).
functionArn
- The function's Amazon Resource Name (ARN).public void setRuntime(String runtime)
The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
runtime
- The identifier of the function's runtime. Runtime is required
if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public String getRuntime()
The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public FunctionConfiguration withRuntime(String runtime)
The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
runtime
- The identifier of the function's runtime. Runtime is required
if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public void setRuntime(Runtime runtime)
The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
runtime
- The identifier of the function's runtime. Runtime is required
if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public FunctionConfiguration withRuntime(Runtime runtime)
The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
runtime
- The identifier of the function's runtime. Runtime is required
if the deployment package is a .zip file archive.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public void setRole(String role)
The function's execution role.
role
- The function's execution role.public String getRole()
The function's execution role.
public FunctionConfiguration withRole(String role)
The function's execution role.
role
- The function's execution role.public void setHandler(String handler)
The function that Lambda calls to begin running your function.
handler
- The function that Lambda calls to begin running your function.public String getHandler()
The function that Lambda calls to begin running your function.
public FunctionConfiguration withHandler(String handler)
The function that Lambda calls to begin running your function.
handler
- The function that Lambda calls to begin running your function.public void setCodeSize(Long codeSize)
The size of the function's deployment package, in bytes.
codeSize
- The size of the function's deployment package, in bytes.public Long getCodeSize()
The size of the function's deployment package, in bytes.
public FunctionConfiguration withCodeSize(Long codeSize)
The size of the function's deployment package, in bytes.
codeSize
- The size of the function's deployment package, in bytes.public void setDescription(String description)
The function's description.
description
- The function's description.public String getDescription()
The function's description.
public FunctionConfiguration withDescription(String description)
The function's description.
description
- The function's description.public void setTimeout(Integer timeout)
The amount of time in seconds that Lambda allows a function to run before stopping it.
timeout
- The amount of time in seconds that Lambda allows a function to run before stopping it.public Integer getTimeout()
The amount of time in seconds that Lambda allows a function to run before stopping it.
public FunctionConfiguration withTimeout(Integer timeout)
The amount of time in seconds that Lambda allows a function to run before stopping it.
timeout
- The amount of time in seconds that Lambda allows a function to run before stopping it.public void setMemorySize(Integer memorySize)
The amount of memory available to the function at runtime.
memorySize
- The amount of memory available to the function at runtime.public Integer getMemorySize()
The amount of memory available to the function at runtime.
public FunctionConfiguration withMemorySize(Integer memorySize)
The amount of memory available to the function at runtime.
memorySize
- The amount of memory available to the function at runtime.public void setLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModified
- The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).public String getLastModified()
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public FunctionConfiguration withLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModified
- The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).public void setCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
codeSha256
- The SHA256 hash of the function's deployment package.public String getCodeSha256()
The SHA256 hash of the function's deployment package.
public FunctionConfiguration withCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
codeSha256
- The SHA256 hash of the function's deployment package.public void setVersion(String version)
The version of the Lambda function.
version
- The version of the Lambda function.public String getVersion()
The version of the Lambda function.
public FunctionConfiguration withVersion(String version)
The version of the Lambda function.
version
- The version of the Lambda function.public void setVpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
vpcConfig
- The function's networking configuration.public VpcConfigResponse getVpcConfig()
The function's networking configuration.
public FunctionConfiguration withVpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
vpcConfig
- The function's networking configuration.public void setDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
deadLetterConfig
- The function's dead letter queue.public DeadLetterConfig getDeadLetterConfig()
The function's dead letter queue.
public FunctionConfiguration withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
deadLetterConfig
- The function's dead letter queue.public void setEnvironment(EnvironmentResponse environment)
The function's environment variables. Omitted from CloudTrail logs.
environment
- The function's environment variables.
Omitted from CloudTrail logs.public EnvironmentResponse getEnvironment()
The function's environment variables. Omitted from CloudTrail logs.
public FunctionConfiguration withEnvironment(EnvironmentResponse environment)
The function's environment variables. Omitted from CloudTrail logs.
environment
- The function's environment variables.
Omitted from CloudTrail logs.public void setKMSKeyArn(String kMSKeyArn)
The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've configured a customer managed key.
kMSKeyArn
- The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is
activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've
configured a customer managed key.public String getKMSKeyArn()
The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've configured a customer managed key.
public FunctionConfiguration withKMSKeyArn(String kMSKeyArn)
The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've configured a customer managed key.
kMSKeyArn
- The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is
activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've
configured a customer managed key.public void setTracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.
tracingConfig
- The function's X-Ray tracing configuration.public TracingConfigResponse getTracingConfig()
The function's X-Ray tracing configuration.
public FunctionConfiguration withTracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.
tracingConfig
- The function's X-Ray tracing configuration.public void setMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the main function.
masterArn
- For Lambda@Edge functions, the ARN of the main function.public String getMasterArn()
For Lambda@Edge functions, the ARN of the main function.
public FunctionConfiguration withMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the main function.
masterArn
- For Lambda@Edge functions, the ARN of the main function.public void setRevisionId(String revisionId)
The latest updated revision of the function or alias.
revisionId
- The latest updated revision of the function or alias.public String getRevisionId()
The latest updated revision of the function or alias.
public FunctionConfiguration withRevisionId(String revisionId)
The latest updated revision of the function or alias.
revisionId
- The latest updated revision of the function or alias.public void setLayers(Collection<Layer> layers)
The function's layers.
layers
- The function's layers.public FunctionConfiguration withLayers(Layer... layers)
The function's 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 function's layers.public FunctionConfiguration withLayers(Collection<Layer> layers)
The function's layers.
layers
- The function's layers.public void setState(String state)
The current state of the function. When the state is Inactive
, you can reactivate the function by
invoking it.
state
- The current state of the function. When the state is Inactive
, you can reactivate the
function by invoking it.State
public String getState()
The current state of the function. When the state is Inactive
, you can reactivate the function by
invoking it.
Inactive
, you can reactivate the
function by invoking it.State
public FunctionConfiguration withState(String state)
The current state of the function. When the state is Inactive
, you can reactivate the function by
invoking it.
state
- The current state of the function. When the state is Inactive
, you can reactivate the
function by invoking it.State
public void setState(State state)
The current state of the function. When the state is Inactive
, you can reactivate the function by
invoking it.
state
- The current state of the function. When the state is Inactive
, you can reactivate the
function by invoking it.State
public FunctionConfiguration withState(State state)
The current state of the function. When the state is Inactive
, you can reactivate the function by
invoking it.
state
- The current state of the function. When the state is Inactive
, you can reactivate the
function by invoking it.State
public void setStateReason(String stateReason)
The reason for the function's current state.
stateReason
- The reason for the function's current state.public String getStateReason()
The reason for the function's current state.
public FunctionConfiguration withStateReason(String stateReason)
The reason for the function's current state.
stateReason
- The reason for the function's current state.public void setStateReasonCode(String stateReasonCode)
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
stateReasonCode
- The reason code for the function's current state. When the code is Creating
, you can't invoke
or modify the function.StateReasonCode
public String getStateReasonCode()
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
Creating
, you can't
invoke or modify the function.StateReasonCode
public FunctionConfiguration withStateReasonCode(String stateReasonCode)
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
stateReasonCode
- The reason code for the function's current state. When the code is Creating
, you can't invoke
or modify the function.StateReasonCode
public void setStateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
stateReasonCode
- The reason code for the function's current state. When the code is Creating
, you can't invoke
or modify the function.StateReasonCode
public FunctionConfiguration withStateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
stateReasonCode
- The reason code for the function's current state. When the code is Creating
, you can't invoke
or modify the function.StateReasonCode
public void setLastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function. This is first set to Successful
after function creation completes.
lastUpdateStatus
- The status of the last update that was performed on the function. This is first set to
Successful
after function creation completes.LastUpdateStatus
public String getLastUpdateStatus()
The status of the last update that was performed on the function. This is first set to Successful
after function creation completes.
Successful
after function creation completes.LastUpdateStatus
public FunctionConfiguration withLastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function. This is first set to Successful
after function creation completes.
lastUpdateStatus
- The status of the last update that was performed on the function. This is first set to
Successful
after function creation completes.LastUpdateStatus
public void setLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function. This is first set to Successful
after function creation completes.
lastUpdateStatus
- The status of the last update that was performed on the function. This is first set to
Successful
after function creation completes.LastUpdateStatus
public FunctionConfiguration withLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function. This is first set to Successful
after function creation completes.
lastUpdateStatus
- The status of the last update that was performed on the function. This is first set to
Successful
after function creation completes.LastUpdateStatus
public void setLastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
lastUpdateStatusReason
- The reason for the last update that was performed on the function.public String getLastUpdateStatusReason()
The reason for the last update that was performed on the function.
public FunctionConfiguration withLastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
lastUpdateStatusReason
- The reason for the last update that was performed on the function.public void setLastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.LastUpdateStatusReasonCode
public String getLastUpdateStatusReasonCode()
The reason code for the last update that was performed on the function.
LastUpdateStatusReasonCode
public FunctionConfiguration withLastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.LastUpdateStatusReasonCode
public void setLastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.LastUpdateStatusReasonCode
public FunctionConfiguration withLastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.LastUpdateStatusReasonCode
public List<FileSystemConfig> getFileSystemConfigs()
Connection settings for an Amazon EFS file system.
public void setFileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
fileSystemConfigs
- Connection settings for an Amazon EFS file
system.public FunctionConfiguration withFileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
NOTE: This method appends the values to the existing list (if any). Use
setFileSystemConfigs(java.util.Collection)
or withFileSystemConfigs(java.util.Collection)
if
you want to override the existing values.
fileSystemConfigs
- Connection settings for an Amazon EFS file
system.public FunctionConfiguration withFileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
fileSystemConfigs
- Connection settings for an Amazon EFS file
system.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 FunctionConfiguration 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 void setPackageType(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 FunctionConfiguration 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 setImageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
imageConfigResponse
- The function's image configuration values.public ImageConfigResponse getImageConfigResponse()
The function's image configuration values.
public FunctionConfiguration withImageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
imageConfigResponse
- The function's image configuration values.public void setSigningProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
signingProfileVersionArn
- The ARN of the signing profile version.public String getSigningProfileVersionArn()
The ARN of the signing profile version.
public FunctionConfiguration withSigningProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
signingProfileVersionArn
- The ARN of the signing profile version.public void setSigningJobArn(String signingJobArn)
The ARN of the signing job.
signingJobArn
- The ARN of the signing job.public String getSigningJobArn()
The ARN of the signing job.
public FunctionConfiguration withSigningJobArn(String signingJobArn)
The ARN of the signing job.
signingJobArn
- The ARN of the signing job.public List<String> getArchitectures()
The instruction set architecture that the 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 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 function supports. Architecture is a string array with one of
the valid values. The default architecture value is x86_64
.Architecture
public FunctionConfiguration withArchitectures(String... architectures)
The instruction set architecture that the 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 function supports. Architecture is a string array with one of
the valid values. The default architecture value is x86_64
.Architecture
public FunctionConfiguration withArchitectures(Collection<String> architectures)
The instruction set architecture that the 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 function supports. Architecture is a string array with one of
the valid values. The default architecture value is x86_64
.Architecture
public FunctionConfiguration withArchitectures(Architecture... architectures)
The instruction set architecture that the 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 function supports. Architecture is a string array with one of
the valid values. The default architecture value is x86_64
.Architecture
public void setEphemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole
number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
ephemeralStorage
- The size of the function's /tmp
directory in MB. The default value is 512, but can be any
whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).public EphemeralStorage getEphemeralStorage()
The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole
number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
/tmp
directory in MB. The default value is 512, but can be any
whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).public FunctionConfiguration withEphemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole
number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
ephemeralStorage
- The size of the function's /tmp
directory in MB. The default value is 512, but can be any
whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).public void setSnapStart(SnapStartResponse snapStart)
Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution
environment when you publish a function version. For more information, see Improving startup performance with Lambda
SnapStart.
snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized
execution environment when you publish a function version. For more information, see Improving startup performance with
Lambda SnapStart.public SnapStartResponse getSnapStart()
Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution
environment when you publish a function version. For more information, see Improving startup performance with Lambda
SnapStart.
ApplyOn
to PublishedVersions
to create a snapshot of the initialized
execution environment when you publish a function version. For more information, see Improving startup performance with
Lambda SnapStart.public FunctionConfiguration withSnapStart(SnapStartResponse snapStart)
Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution
environment when you publish a function version. For more information, see Improving startup performance with Lambda
SnapStart.
snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized
execution environment when you publish a function version. For more information, see Improving startup performance with
Lambda SnapStart.public void setRuntimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)
The ARN of the runtime and any errors that occured.
runtimeVersionConfig
- The ARN of the runtime and any errors that occured.public RuntimeVersionConfig getRuntimeVersionConfig()
The ARN of the runtime and any errors that occured.
public FunctionConfiguration withRuntimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)
The ARN of the runtime and any errors that occured.
runtimeVersionConfig
- The ARN of the runtime and any errors that occured.public void setLoggingConfig(LoggingConfig loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.
loggingConfig
- The function's Amazon CloudWatch Logs configuration settings.public LoggingConfig getLoggingConfig()
The function's Amazon CloudWatch Logs configuration settings.
public FunctionConfiguration withLoggingConfig(LoggingConfig loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.
loggingConfig
- The function's Amazon CloudWatch Logs configuration settings.public String toString()
toString
in class Object
Object.toString()
public FunctionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.