@Generated(value="software.amazon.awssdk:codegen") public final class CreateFunctionResponse extends LambdaResponse implements ToCopyableBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>
Details about a function's configuration.
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | CreateFunctionResponse.Builder | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Architecture> | architectures()
 The instruction set architecture that the function supports. | 
| List<String> | architecturesAsStrings()
 The instruction set architecture that the function supports. | 
| static CreateFunctionResponse.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. | 
| EphemeralStorage | ephemeralStorage()
 The size of the function’s /tmp directory in MB. | 
| boolean | equals(Object obj) | 
| boolean | equalsBySdkFields(Object obj) | 
| List<FileSystemConfig> | fileSystemConfigs()
 Connection settings for an Amazon EFS file system. | 
| 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. | 
| boolean | hasArchitectures()For responses, this returns true if the service returned a value for the Architectures property. | 
| boolean | hasFileSystemConfigs()For responses, this returns true if the service returned a value for the FileSystemConfigs property. | 
| int | hashCode() | 
| boolean | hasLayers()For responses, this returns true if the service returned a value for the Layers property. | 
| ImageConfigResponse | imageConfigResponse()
 The function's image configuration values. | 
| 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 main function. | 
| Integer | memorySize()
 The amount of memory available to the function at runtime. | 
| PackageType | packageType()
 The type of deployment package. | 
| String | packageTypeAsString()
 The type of deployment package. | 
| 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 CreateFunctionResponse.Builder> | serializableBuilderClass() | 
| String | signingJobArn()
 The ARN of the signing job. | 
| String | signingProfileVersionArn()
 The ARN of the signing profile version. | 
| 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 in seconds that Lambda allows a function to run before stopping it. | 
| CreateFunctionResponse.Builder | toBuilder() | 
| String | toString()Returns a string representation of this object. | 
| TracingConfigResponse | tracingConfig()
 The function's X-Ray tracing configuration. | 
| String | version()
 The version of the Lambda function. | 
| VpcConfigResponse | vpcConfig()
 The function's networking configuration. | 
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String functionName()
The name of the function.
public final String functionArn()
The function's Amazon Resource Name (ARN).
public final 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().
 
Runtimepublic final 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().
 
Runtimepublic final String role()
The function's execution role.
public final String handler()
The function that Lambda calls to begin executing your function.
public final Long codeSize()
The size of the function's deployment package, in bytes.
public final String description()
The function's description.
public final Integer timeout()
The amount of time in seconds that Lambda allows a function to run before stopping it.
public final Integer memorySize()
The amount of memory available to the function at runtime.
public final String lastModified()
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public final String codeSha256()
The SHA256 hash of the function's deployment package.
public final String version()
The version of the Lambda function.
public final VpcConfigResponse vpcConfig()
The function's networking configuration.
public final DeadLetterConfig deadLetterConfig()
The function's dead letter queue.
public final EnvironmentResponse environment()
The function's environment variables.
public final 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 key.
public final TracingConfigResponse tracingConfig()
The function's X-Ray tracing configuration.
public final String masterArn()
For Lambda@Edge functions, the ARN of the main function.
public final String revisionId()
The latest updated revision of the function or alias.
public final boolean hasLayers()
isEmpty() method on the property). This is
 useful because the SDK will never return a null collection or map, but you may need to differentiate between the
 service returning nothing (or null) and the service returning an empty collection or map. For requests, this
 returns true if a value for the property was specified in the request builder, and false if a value was not
 specified.public final List<Layer> layers()
The function's layers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
 This method will never return null. If you would like to know whether the service returned this field (so that
 you can differentiate between null and empty), you can use the hasLayers() method.
 
public final 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.Statepublic final 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.Statepublic final String stateReason()
The reason for the function's current state.
public final 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.StateReasonCodepublic final 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.StateReasonCodepublic final 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.LastUpdateStatuspublic final 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.LastUpdateStatuspublic final String lastUpdateStatusReason()
The reason for the last update that was performed on the function.
public final 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().
 
LastUpdateStatusReasonCodepublic final 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().
 
LastUpdateStatusReasonCodepublic final boolean hasFileSystemConfigs()
isEmpty() method on the property).
 This is useful because the SDK will never return a null collection or map, but you may need to differentiate
 between the service returning nothing (or null) and the service returning an empty collection or map. For
 requests, this returns true if a value for the property was specified in the request builder, and false if a
 value was not specified.public final List<FileSystemConfig> fileSystemConfigs()
Connection settings for an Amazon EFS file system.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
 This method will never return null. If you would like to know whether the service returned this field (so that
 you can differentiate between null and empty), you can use the hasFileSystemConfigs() method.
 
public final PackageType packageType()
 The type of deployment package. Set to Image for container image and set Zip for .zip
 file archive.
 
 If the service returns an enum value that is not available in the current SDK version, packageType will
 return PackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 packageTypeAsString().
 
Image for container image and set Zip
         for .zip file archive.PackageTypepublic final String packageTypeAsString()
 The type of deployment package. Set to Image for container image and set Zip for .zip
 file archive.
 
 If the service returns an enum value that is not available in the current SDK version, packageType will
 return PackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 packageTypeAsString().
 
Image for container image and set Zip
         for .zip file archive.PackageTypepublic final ImageConfigResponse imageConfigResponse()
The function's image configuration values.
public final String signingProfileVersionArn()
The ARN of the signing profile version.
public final String signingJobArn()
The ARN of the signing job.
public final List<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.
 
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
 This method will never return null. If you would like to know whether the service returned this field (so that
 you can differentiate between null and empty), you can use the hasArchitectures() method.
 
x86_64.public final boolean hasArchitectures()
isEmpty() method on the property).
 This is useful because the SDK will never return a null collection or map, but you may need to differentiate
 between the service returning nothing (or null) and the service returning an empty collection or map. For
 requests, this returns true if a value for the property was specified in the request builder, and false if a
 value was not specified.public final List<String> architecturesAsStrings()
 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.
 
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
 This method will never return null. If you would like to know whether the service returned this field (so that
 you can differentiate between null and empty), you can use the hasArchitectures() method.
 
x86_64.public final 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 10240 MB.
public CreateFunctionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>toBuilder in class AwsResponsepublic static CreateFunctionResponse.Builder builder()
public static Class<? extends CreateFunctionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.