@Generated(value="software.amazon.awssdk:codegen") public final class UpdateFunctionConfigurationResponse extends LambdaResponse implements ToCopyableBuilder<UpdateFunctionConfigurationResponse.Builder,UpdateFunctionConfigurationResponse>
Details about a function's configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateFunctionConfigurationResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateFunctionConfigurationResponse.Builder |
builder() |
String |
codeSha256()
The SHA256 hash of the function's deployment package.
|
Long |
codeSize()
The size of the function's deployment package, in bytes.
|
DeadLetterConfig |
deadLetterConfig()
The function's dead letter queue.
|
String |
description()
The function's description.
|
EnvironmentResponse |
environment()
The function's environment variables.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
functionArn()
The function's Amazon Resource Name (ARN).
|
String |
functionName()
The name of the function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
handler()
The function that Lambda calls to begin executing your function.
|
int |
hashCode() |
boolean |
hasLayers()
Returns true if the Layers property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
kmsKeyArn()
The KMS key that's used to encrypt the function's environment variables.
|
String |
lastModified()
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
LastUpdateStatus |
lastUpdateStatus()
The status of the last update that was performed on the function.
|
String |
lastUpdateStatusAsString()
The status of the last update that was performed on the function.
|
String |
lastUpdateStatusReason()
The reason for the last update that was performed on the function.
|
LastUpdateStatusReasonCode |
lastUpdateStatusReasonCode()
The reason code for the last update that was performed on the function.
|
String |
lastUpdateStatusReasonCodeAsString()
The reason code for the last update that was performed on the function.
|
List<Layer> |
layers()
The function's layers.
|
String |
masterArn()
For Lambda@Edge functions, the ARN of the master function.
|
Integer |
memorySize()
The memory that's allocated to the function.
|
String |
revisionId()
The latest updated revision of the function or alias.
|
String |
role()
The function's execution role.
|
Runtime |
runtime()
The runtime environment for the Lambda function.
|
String |
runtimeAsString()
The runtime environment for the Lambda function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateFunctionConfigurationResponse.Builder> |
serializableBuilderClass() |
State |
state()
The current state of the function.
|
String |
stateAsString()
The current state of the function.
|
String |
stateReason()
The reason for the function's current state.
|
StateReasonCode |
stateReasonCode()
The reason code for the function's current state.
|
String |
stateReasonCodeAsString()
The reason code for the function's current state.
|
Integer |
timeout()
The amount of time that Lambda allows a function to run before stopping it.
|
UpdateFunctionConfigurationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TracingConfigResponse |
tracingConfig()
The function's AWS X-Ray tracing configuration.
|
String |
version()
The version of the Lambda function.
|
VpcConfigResponse |
vpcConfig()
The function's networking configuration.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String functionName()
The name of the function.
public String functionArn()
The function's Amazon Resource Name (ARN).
public Runtime runtime()
The runtime environment for the Lambda function.
If the service returns an enum value that is not available in the current SDK version, runtime
will
return Runtime.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
runtimeAsString()
.
Runtime
public String runtimeAsString()
The runtime environment for the Lambda function.
If the service returns an enum value that is not available in the current SDK version, runtime
will
return Runtime.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
runtimeAsString()
.
Runtime
public String role()
The function's execution role.
public String handler()
The function that Lambda calls to begin executing your function.
public Long codeSize()
The size of the function's deployment package, in bytes.
public String description()
The function's description.
public Integer timeout()
The amount of time that Lambda allows a function to run before stopping it.
public Integer memorySize()
The memory that's allocated to the function.
public String lastModified()
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public String codeSha256()
The SHA256 hash of the function's deployment package.
public String version()
The version of the Lambda function.
public VpcConfigResponse vpcConfig()
The function's networking configuration.
public DeadLetterConfig deadLetterConfig()
The function's dead letter queue.
public EnvironmentResponse environment()
The function's environment variables.
public 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.
public TracingConfigResponse tracingConfig()
The function's AWS X-Ray tracing configuration.
public String masterArn()
For Lambda@Edge functions, the ARN of the master function.
public String revisionId()
The latest updated revision of the function or alias.
public boolean hasLayers()
public List<Layer> layers()
The function's layers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLayers()
to see if a value was sent in this field.
public State state()
The current state of the function. When the state is Inactive
, you can reactivate the function by
invoking it.
If the service returns an enum value that is not available in the current SDK version, state
will return
State.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
Inactive
, you can reactivate the
function by invoking it.State
public String stateAsString()
The current state of the function. When the state is Inactive
, you can reactivate the function by
invoking it.
If the service returns an enum value that is not available in the current SDK version, state
will return
State.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
Inactive
, you can reactivate the
function by invoking it.State
public String stateReason()
The reason for the function's current state.
public StateReasonCode stateReasonCode()
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
If the service returns an enum value that is not available in the current SDK version, stateReasonCode
will return StateReasonCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stateReasonCodeAsString()
.
Creating
, you can't
invoke or modify the function.StateReasonCode
public String stateReasonCodeAsString()
The reason code for the function's current state. When the code is Creating
, you can't invoke or
modify the function.
If the service returns an enum value that is not available in the current SDK version, stateReasonCode
will return StateReasonCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stateReasonCodeAsString()
.
Creating
, you can't
invoke or modify the function.StateReasonCode
public LastUpdateStatus lastUpdateStatus()
The status of the last update that was performed on the function. This is first set to Successful
after function creation completes.
If the service returns an enum value that is not available in the current SDK version, lastUpdateStatus
will return LastUpdateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from lastUpdateStatusAsString()
.
Successful
after function creation completes.LastUpdateStatus
public String lastUpdateStatusAsString()
The status of the last update that was performed on the function. This is first set to Successful
after function creation completes.
If the service returns an enum value that is not available in the current SDK version, lastUpdateStatus
will return LastUpdateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from lastUpdateStatusAsString()
.
Successful
after function creation completes.LastUpdateStatus
public String lastUpdateStatusReason()
The reason for the last update that was performed on the function.
public LastUpdateStatusReasonCode lastUpdateStatusReasonCode()
The reason code for the last update that was performed on the function.
If the service returns an enum value that is not available in the current SDK version,
lastUpdateStatusReasonCode
will return LastUpdateStatusReasonCode.UNKNOWN_TO_SDK_VERSION
. The
raw value returned by the service is available from lastUpdateStatusReasonCodeAsString()
.
LastUpdateStatusReasonCode
public String lastUpdateStatusReasonCodeAsString()
The reason code for the last update that was performed on the function.
If the service returns an enum value that is not available in the current SDK version,
lastUpdateStatusReasonCode
will return LastUpdateStatusReasonCode.UNKNOWN_TO_SDK_VERSION
. The
raw value returned by the service is available from lastUpdateStatusReasonCodeAsString()
.
LastUpdateStatusReasonCode
public UpdateFunctionConfigurationResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UpdateFunctionConfigurationResponse.Builder,UpdateFunctionConfigurationResponse>
toBuilder
in class AwsResponse
public static UpdateFunctionConfigurationResponse.Builder builder()
public static Class<? extends UpdateFunctionConfigurationResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.