@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Details about a function's configuration.
Constructor and Description |
---|
PublishVersionResult() |
Modifier and Type | Method and Description |
---|---|
PublishVersionResult |
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 |
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.
|
PublishVersionResult |
withArchitectures(Architecture... architectures)
The instruction set architecture that the function supports.
|
PublishVersionResult |
withArchitectures(Collection<String> architectures)
The instruction set architecture that the function supports.
|
PublishVersionResult |
withArchitectures(String... architectures)
The instruction set architecture that the function supports.
|
PublishVersionResult |
withCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
|
PublishVersionResult |
withCodeSize(Long codeSize)
The size of the function's deployment package, in bytes.
|
PublishVersionResult |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
|
PublishVersionResult |
withDescription(String description)
The function's description.
|
PublishVersionResult |
withEnvironment(EnvironmentResponse environment)
The function's environment
variables.
|
PublishVersionResult |
withEphemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function's
/tmp directory in MB. |
PublishVersionResult |
withFileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
PublishVersionResult |
withFileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
PublishVersionResult |
withFunctionArn(String functionArn)
The function's Amazon Resource Name (ARN).
|
PublishVersionResult |
withFunctionName(String functionName)
The name of the function.
|
PublishVersionResult |
withHandler(String handler)
The function that Lambda calls to begin running your function.
|
PublishVersionResult |
withImageConfigResponse(ImageConfigResponse imageConfigResponse)
The function's image configuration values.
|
PublishVersionResult |
withKMSKeyArn(String kMSKeyArn)
The KMS key that's used to encrypt the function's environment variables.
|
PublishVersionResult |
withLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
PublishVersionResult |
withLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function.
|
PublishVersionResult |
withLastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function.
|
PublishVersionResult |
withLastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
|
PublishVersionResult |
withLastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
PublishVersionResult |
withLastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
PublishVersionResult |
withLayers(Collection<Layer> layers)
The function's layers.
|
PublishVersionResult |
withLayers(Layer... layers)
The function's layers.
|
PublishVersionResult |
withLoggingConfig(LoggingConfig loggingConfig)
The function's Amazon CloudWatch Logs configuration settings.
|
PublishVersionResult |
withMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the main function.
|
PublishVersionResult |
withMemorySize(Integer memorySize)
The amount of memory available to the function at runtime.
|
PublishVersionResult |
withPackageType(PackageType packageType)
The type of deployment package.
|
PublishVersionResult |
withPackageType(String packageType)
The type of deployment package.
|
PublishVersionResult |
withRevisionId(String revisionId)
The latest updated revision of the function or alias.
|
PublishVersionResult |
withRole(String role)
The function's execution role.
|
PublishVersionResult |
withRuntime(Runtime runtime)
The identifier of the function's runtime.
|
PublishVersionResult |
withRuntime(String runtime)
The identifier of the function's runtime.
|
PublishVersionResult |
withRuntimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)
The ARN of the runtime and any errors that occured.
|
PublishVersionResult |
withSigningJobArn(String signingJobArn)
The ARN of the signing job.
|
PublishVersionResult |
withSigningProfileVersionArn(String signingProfileVersionArn)
The ARN of the signing profile version.
|
PublishVersionResult |
withSnapStart(SnapStartResponse snapStart)
Set
ApplyOn to PublishedVersions to create a snapshot of the initialized execution
environment when you publish a function version. |
PublishVersionResult |
withState(State state)
The current state of the function.
|
PublishVersionResult |
withState(String state)
The current state of the function.
|
PublishVersionResult |
withStateReason(String stateReason)
The reason for the function's current state.
|
PublishVersionResult |
withStateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state.
|
PublishVersionResult |
withStateReasonCode(String stateReasonCode)
The reason code for the function's current state.
|
PublishVersionResult |
withTimeout(Integer timeout)
The amount of time in seconds that Lambda allows a function to run before stopping it.
|
PublishVersionResult |
withTracingConfig(TracingConfigResponse tracingConfig)
The function's X-Ray tracing configuration.
|
PublishVersionResult |
withVersion(String version)
The version of the Lambda function.
|
PublishVersionResult |
withVpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult 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 PublishVersionResult clone()