@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFunctionConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Details about a function's configuration.
Constructor and Description |
---|
GetFunctionConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
GetFunctionConfigurationResult |
clone() |
boolean |
equals(Object obj) |
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.
|
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 executing your function.
|
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.
|
String |
getMasterArn()
For Lambda@Edge functions, the ARN of the master function.
|
Integer |
getMemorySize()
The memory that's allocated to the function.
|
String |
getRevisionId()
The latest updated revision of the function or alias.
|
String |
getRole()
The function's execution role.
|
String |
getRuntime()
The runtime environment for the Lambda function.
|
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 that Lambda allows a function to run before stopping it.
|
TracingConfigResponse |
getTracingConfig()
The function's AWS X-Ray tracing configuration.
|
String |
getVersion()
The version of the Lambda function.
|
VpcConfigResponse |
getVpcConfig()
The function's networking configuration.
|
int |
hashCode() |
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 |
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 executing your function.
|
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 |
setMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the master function.
|
void |
setMemorySize(Integer memorySize)
The memory that's allocated to the function.
|
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 runtime environment for the Lambda function.
|
void |
setRuntime(String runtime)
The runtime environment for the Lambda function.
|
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 that Lambda allows a function to run before stopping it.
|
void |
setTracingConfig(TracingConfigResponse tracingConfig)
The function's AWS 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.
|
GetFunctionConfigurationResult |
withCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
|
GetFunctionConfigurationResult |
withCodeSize(Long codeSize)
The size of the function's deployment package, in bytes.
|
GetFunctionConfigurationResult |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
|
GetFunctionConfigurationResult |
withDescription(String description)
The function's description.
|
GetFunctionConfigurationResult |
withEnvironment(EnvironmentResponse environment)
The function's environment variables.
|
GetFunctionConfigurationResult |
withFunctionArn(String functionArn)
The function's Amazon Resource Name (ARN).
|
GetFunctionConfigurationResult |
withFunctionName(String functionName)
The name of the function.
|
GetFunctionConfigurationResult |
withHandler(String handler)
The function that Lambda calls to begin executing your function.
|
GetFunctionConfigurationResult |
withKMSKeyArn(String kMSKeyArn)
The KMS key that's used to encrypt the function's environment variables.
|
GetFunctionConfigurationResult |
withLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
GetFunctionConfigurationResult |
withLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function.
|
GetFunctionConfigurationResult |
withLastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function.
|
GetFunctionConfigurationResult |
withLastUpdateStatusReason(String lastUpdateStatusReason)
The reason for the last update that was performed on the function.
|
GetFunctionConfigurationResult |
withLastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
GetFunctionConfigurationResult |
withLastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)
The reason code for the last update that was performed on the function.
|
GetFunctionConfigurationResult |
withLayers(Collection<Layer> layers)
The function's layers.
|
GetFunctionConfigurationResult |
withLayers(Layer... layers)
The function's layers.
|
GetFunctionConfigurationResult |
withMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the master function.
|
GetFunctionConfigurationResult |
withMemorySize(Integer memorySize)
The memory that's allocated to the function.
|
GetFunctionConfigurationResult |
withRevisionId(String revisionId)
The latest updated revision of the function or alias.
|
GetFunctionConfigurationResult |
withRole(String role)
The function's execution role.
|
GetFunctionConfigurationResult |
withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
|
GetFunctionConfigurationResult |
withRuntime(String runtime)
The runtime environment for the Lambda function.
|
GetFunctionConfigurationResult |
withState(State state)
The current state of the function.
|
GetFunctionConfigurationResult |
withState(String state)
The current state of the function.
|
GetFunctionConfigurationResult |
withStateReason(String stateReason)
The reason for the function's current state.
|
GetFunctionConfigurationResult |
withStateReasonCode(StateReasonCode stateReasonCode)
The reason code for the function's current state.
|
GetFunctionConfigurationResult |
withStateReasonCode(String stateReasonCode)
The reason code for the function's current state.
|
GetFunctionConfigurationResult |
withTimeout(Integer timeout)
The amount of time that Lambda allows a function to run before stopping it.
|
GetFunctionConfigurationResult |
withTracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
|
GetFunctionConfigurationResult |
withVersion(String version)
The version of the Lambda function.
|
GetFunctionConfigurationResult |
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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult withFunctionArn(String functionArn)
The function's Amazon Resource Name (ARN).
functionArn
- The function's Amazon Resource Name (ARN).public void setRuntime(String runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.Runtime
public String getRuntime()
The runtime environment for the Lambda function.
Runtime
public GetFunctionConfigurationResult withRuntime(String runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.Runtime
public void setRuntime(Runtime runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.Runtime
public GetFunctionConfigurationResult withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.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 GetFunctionConfigurationResult 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 executing your function.
handler
- The function that Lambda calls to begin executing your function.public String getHandler()
The function that Lambda calls to begin executing your function.
public GetFunctionConfigurationResult withHandler(String handler)
The function that Lambda calls to begin executing your function.
handler
- The function that Lambda calls to begin executing 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult withDescription(String description)
The function's description.
description
- The function's description.public void setTimeout(Integer timeout)
The amount of time that Lambda allows a function to run before stopping it.
timeout
- The amount of time that Lambda allows a function to run before stopping it.public Integer getTimeout()
The amount of time that Lambda allows a function to run before stopping it.
public GetFunctionConfigurationResult withTimeout(Integer timeout)
The amount of time that Lambda allows a function to run before stopping it.
timeout
- The amount of time that Lambda allows a function to run before stopping it.public void setMemorySize(Integer memorySize)
The memory that's allocated to the function.
memorySize
- The memory that's allocated to the function.public Integer getMemorySize()
The memory that's allocated to the function.
public GetFunctionConfigurationResult withMemorySize(Integer memorySize)
The memory that's allocated to the function.
memorySize
- The memory that's allocated to the function.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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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.
environment
- The function's environment variables.public EnvironmentResponse getEnvironment()
The function's environment variables.
public GetFunctionConfigurationResult withEnvironment(EnvironmentResponse environment)
The function's environment variables.
environment
- The function's environment variables.public void setKMSKeyArn(String kMSKeyArn)
The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed CMK.
kMSKeyArn
- The KMS key that's used to encrypt the function's environment variables. This key is only returned if
you've configured a customer managed CMK.public String getKMSKeyArn()
The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed CMK.
public GetFunctionConfigurationResult withKMSKeyArn(String kMSKeyArn)
The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed CMK.
kMSKeyArn
- The KMS key that's used to encrypt the function's environment variables. This key is only returned if
you've configured a customer managed CMK.public void setTracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
tracingConfig
- The function's AWS X-Ray tracing configuration.public TracingConfigResponse getTracingConfig()
The function's AWS X-Ray tracing configuration.
public GetFunctionConfigurationResult withTracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
tracingConfig
- The function's AWS X-Ray tracing configuration.public void setMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the master function.
masterArn
- For Lambda@Edge functions, the ARN of the master function.public String getMasterArn()
For Lambda@Edge functions, the ARN of the master function.
public GetFunctionConfigurationResult withMasterArn(String masterArn)
For Lambda@Edge functions, the ARN of the master function.
masterArn
- For Lambda@Edge functions, the ARN of the master 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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.
lastUpdateStatus
- The status of the last update that was performed on the function.LastUpdateStatus
public String getLastUpdateStatus()
The status of the last update that was performed on the function.
LastUpdateStatus
public GetFunctionConfigurationResult withLastUpdateStatus(String lastUpdateStatus)
The status of the last update that was performed on the function.
lastUpdateStatus
- The status of the last update that was performed on the function.LastUpdateStatus
public void setLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function.
lastUpdateStatus
- The status of the last update that was performed on the function.LastUpdateStatus
public GetFunctionConfigurationResult withLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
The status of the last update that was performed on the function.
lastUpdateStatus
- The status of the last update that was performed on the function.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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 String toString()
toString
in class Object
Object.toString()
public GetFunctionConfigurationResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.