JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lambda.model

Class CreateFunctionResult

    • Constructor Detail

      • CreateFunctionResult

        public CreateFunctionResult()
    • Method Detail

      • setFunctionName

        public void setFunctionName(String functionName)

        The name of the function.

        Parameters:
        functionName - The name of the function.
      • getFunctionName

        public String getFunctionName()

        The name of the function.

        Returns:
        The name of the function.
      • withFunctionName

        public CreateFunctionResult withFunctionName(String functionName)

        The name of the function.

        Parameters:
        functionName - The name of the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFunctionArn

        public void setFunctionArn(String functionArn)

        The function's Amazon Resource Name (ARN).

        Parameters:
        functionArn - The function's Amazon Resource Name (ARN).
      • getFunctionArn

        public String getFunctionArn()

        The function's Amazon Resource Name (ARN).

        Returns:
        The function's Amazon Resource Name (ARN).
      • withFunctionArn

        public CreateFunctionResult withFunctionArn(String functionArn)

        The function's Amazon Resource Name (ARN).

        Parameters:
        functionArn - The function's Amazon Resource Name (ARN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRuntime

        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.

        Parameters:
        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.

        See Also:
        Runtime
      • getRuntime

        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.

        Returns:
        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.

        See Also:
        Runtime
      • withRuntime

        public CreateFunctionResult 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Runtime
      • setRuntime

        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.

        Parameters:
        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.

        See Also:
        Runtime
      • withRuntime

        public CreateFunctionResult 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Runtime
      • setRole

        public void setRole(String role)

        The function's execution role.

        Parameters:
        role - The function's execution role.
      • getRole

        public String getRole()

        The function's execution role.

        Returns:
        The function's execution role.
      • withRole

        public CreateFunctionResult withRole(String role)

        The function's execution role.

        Parameters:
        role - The function's execution role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHandler

        public void setHandler(String handler)

        The function that Lambda calls to begin running your function.

        Parameters:
        handler - The function that Lambda calls to begin running your function.
      • getHandler

        public String getHandler()

        The function that Lambda calls to begin running your function.

        Returns:
        The function that Lambda calls to begin running your function.
      • withHandler

        public CreateFunctionResult withHandler(String handler)

        The function that Lambda calls to begin running your function.

        Parameters:
        handler - The function that Lambda calls to begin running your function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCodeSize

        public void setCodeSize(Long codeSize)

        The size of the function's deployment package, in bytes.

        Parameters:
        codeSize - The size of the function's deployment package, in bytes.
      • getCodeSize

        public Long getCodeSize()

        The size of the function's deployment package, in bytes.

        Returns:
        The size of the function's deployment package, in bytes.
      • withCodeSize

        public CreateFunctionResult withCodeSize(Long codeSize)

        The size of the function's deployment package, in bytes.

        Parameters:
        codeSize - The size of the function's deployment package, in bytes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription(String description)

        The function's description.

        Parameters:
        description - The function's description.
      • getDescription

        public String getDescription()

        The function's description.

        Returns:
        The function's description.
      • withDescription

        public CreateFunctionResult withDescription(String description)

        The function's description.

        Parameters:
        description - The function's description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimeout

        public void setTimeout(Integer timeout)

        The amount of time in seconds that Lambda allows a function to run before stopping it.

        Parameters:
        timeout - The amount of time in seconds that Lambda allows a function to run before stopping it.
      • getTimeout

        public Integer getTimeout()

        The amount of time in seconds that Lambda allows a function to run before stopping it.

        Returns:
        The amount of time in seconds that Lambda allows a function to run before stopping it.
      • withTimeout

        public CreateFunctionResult withTimeout(Integer timeout)

        The amount of time in seconds that Lambda allows a function to run before stopping it.

        Parameters:
        timeout - The amount of time in seconds that Lambda allows a function to run before stopping it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMemorySize

        public void setMemorySize(Integer memorySize)

        The amount of memory available to the function at runtime.

        Parameters:
        memorySize - The amount of memory available to the function at runtime.
      • getMemorySize

        public Integer getMemorySize()

        The amount of memory available to the function at runtime.

        Returns:
        The amount of memory available to the function at runtime.
      • withMemorySize

        public CreateFunctionResult withMemorySize(Integer memorySize)

        The amount of memory available to the function at runtime.

        Parameters:
        memorySize - The amount of memory available to the function at runtime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastModified

        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).

        Parameters:
        lastModified - The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
      • getLastModified

        public String getLastModified()

        The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

        Returns:
        The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
      • withLastModified

        public CreateFunctionResult withLastModified(String lastModified)

        The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

        Parameters:
        lastModified - The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCodeSha256

        public void setCodeSha256(String codeSha256)

        The SHA256 hash of the function's deployment package.

        Parameters:
        codeSha256 - The SHA256 hash of the function's deployment package.
      • getCodeSha256

        public String getCodeSha256()

        The SHA256 hash of the function's deployment package.

        Returns:
        The SHA256 hash of the function's deployment package.
      • withCodeSha256

        public CreateFunctionResult withCodeSha256(String codeSha256)

        The SHA256 hash of the function's deployment package.

        Parameters:
        codeSha256 - The SHA256 hash of the function's deployment package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVersion

        public void setVersion(String version)

        The version of the Lambda function.

        Parameters:
        version - The version of the Lambda function.
      • getVersion

        public String getVersion()

        The version of the Lambda function.

        Returns:
        The version of the Lambda function.
      • withVersion

        public CreateFunctionResult withVersion(String version)

        The version of the Lambda function.

        Parameters:
        version - The version of the Lambda function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVpcConfig

        public void setVpcConfig(VpcConfigResponse vpcConfig)

        The function's networking configuration.

        Parameters:
        vpcConfig - The function's networking configuration.
      • getVpcConfig

        public VpcConfigResponse getVpcConfig()

        The function's networking configuration.

        Returns:
        The function's networking configuration.
      • withVpcConfig

        public CreateFunctionResult withVpcConfig(VpcConfigResponse vpcConfig)

        The function's networking configuration.

        Parameters:
        vpcConfig - The function's networking configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeadLetterConfig

        public void setDeadLetterConfig(DeadLetterConfig deadLetterConfig)

        The function's dead letter queue.

        Parameters:
        deadLetterConfig - The function's dead letter queue.
      • getDeadLetterConfig

        public DeadLetterConfig getDeadLetterConfig()

        The function's dead letter queue.

        Returns:
        The function's dead letter queue.
      • withDeadLetterConfig

        public CreateFunctionResult withDeadLetterConfig(DeadLetterConfig deadLetterConfig)

        The function's dead letter queue.

        Parameters:
        deadLetterConfig - The function's dead letter queue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKMSKeyArn

        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.

        Parameters:
        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.
      • getKMSKeyArn

        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.

        Returns:
        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.
      • withKMSKeyArn

        public CreateFunctionResult 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTracingConfig

        public void setTracingConfig(TracingConfigResponse tracingConfig)

        The function's X-Ray tracing configuration.

        Parameters:
        tracingConfig - The function's X-Ray tracing configuration.
      • getTracingConfig

        public TracingConfigResponse getTracingConfig()

        The function's X-Ray tracing configuration.

        Returns:
        The function's X-Ray tracing configuration.
      • withTracingConfig

        public CreateFunctionResult withTracingConfig(TracingConfigResponse tracingConfig)

        The function's X-Ray tracing configuration.

        Parameters:
        tracingConfig - The function's X-Ray tracing configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMasterArn

        public void setMasterArn(String masterArn)

        For Lambda@Edge functions, the ARN of the main function.

        Parameters:
        masterArn - For Lambda@Edge functions, the ARN of the main function.
      • getMasterArn

        public String getMasterArn()

        For Lambda@Edge functions, the ARN of the main function.

        Returns:
        For Lambda@Edge functions, the ARN of the main function.
      • withMasterArn

        public CreateFunctionResult withMasterArn(String masterArn)

        For Lambda@Edge functions, the ARN of the main function.

        Parameters:
        masterArn - For Lambda@Edge functions, the ARN of the main function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRevisionId

        public void setRevisionId(String revisionId)

        The latest updated revision of the function or alias.

        Parameters:
        revisionId - The latest updated revision of the function or alias.
      • getRevisionId

        public String getRevisionId()

        The latest updated revision of the function or alias.

        Returns:
        The latest updated revision of the function or alias.
      • withRevisionId

        public CreateFunctionResult withRevisionId(String revisionId)

        The latest updated revision of the function or alias.

        Parameters:
        revisionId - The latest updated revision of the function or alias.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setState

        public void setState(String state)

        The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

        Parameters:
        state - The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.
        See Also:
        State
      • getState

        public String getState()

        The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

        Returns:
        The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.
        See Also:
        State
      • withState

        public CreateFunctionResult withState(String state)

        The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

        Parameters:
        state - The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        State
      • setState

        public void setState(State state)

        The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

        Parameters:
        state - The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.
        See Also:
        State
      • withState

        public CreateFunctionResult withState(State state)

        The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

        Parameters:
        state - The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        State
      • setStateReason

        public void setStateReason(String stateReason)

        The reason for the function's current state.

        Parameters:
        stateReason - The reason for the function's current state.
      • getStateReason

        public String getStateReason()

        The reason for the function's current state.

        Returns:
        The reason for the function's current state.
      • withStateReason

        public CreateFunctionResult withStateReason(String stateReason)

        The reason for the function's current state.

        Parameters:
        stateReason - The reason for the function's current state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStateReasonCode

        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.

        Parameters:
        stateReasonCode - The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.
        See Also:
        StateReasonCode
      • getStateReasonCode

        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.

        Returns:
        The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.
        See Also:
        StateReasonCode
      • withStateReasonCode

        public CreateFunctionResult 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.

        Parameters:
        stateReasonCode - The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StateReasonCode
      • setStateReasonCode

        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.

        Parameters:
        stateReasonCode - The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.
        See Also:
        StateReasonCode
      • withStateReasonCode

        public CreateFunctionResult 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.

        Parameters:
        stateReasonCode - The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StateReasonCode
      • setLastUpdateStatus

        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.

        Parameters:
        lastUpdateStatus - The status of the last update that was performed on the function. This is first set to Successful after function creation completes.
        See Also:
        LastUpdateStatus
      • getLastUpdateStatus

        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.

        Returns:
        The status of the last update that was performed on the function. This is first set to Successful after function creation completes.
        See Also:
        LastUpdateStatus
      • withLastUpdateStatus

        public CreateFunctionResult 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.

        Parameters:
        lastUpdateStatus - The status of the last update that was performed on the function. This is first set to Successful after function creation completes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LastUpdateStatus
      • setLastUpdateStatus

        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.

        Parameters:
        lastUpdateStatus - The status of the last update that was performed on the function. This is first set to Successful after function creation completes.
        See Also:
        LastUpdateStatus
      • withLastUpdateStatus

        public CreateFunctionResult 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.

        Parameters:
        lastUpdateStatus - The status of the last update that was performed on the function. This is first set to Successful after function creation completes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LastUpdateStatus
      • setLastUpdateStatusReason

        public void setLastUpdateStatusReason(String lastUpdateStatusReason)

        The reason for the last update that was performed on the function.

        Parameters:
        lastUpdateStatusReason - The reason for the last update that was performed on the function.
      • getLastUpdateStatusReason

        public String getLastUpdateStatusReason()

        The reason for the last update that was performed on the function.

        Returns:
        The reason for the last update that was performed on the function.
      • withLastUpdateStatusReason

        public CreateFunctionResult withLastUpdateStatusReason(String lastUpdateStatusReason)

        The reason for the last update that was performed on the function.

        Parameters:
        lastUpdateStatusReason - The reason for the last update that was performed on the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastUpdateStatusReasonCode

        public void setLastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)

        The reason code for the last update that was performed on the function.

        Parameters:
        lastUpdateStatusReasonCode - The reason code for the last update that was performed on the function.
        See Also:
        LastUpdateStatusReasonCode
      • getLastUpdateStatusReasonCode

        public String getLastUpdateStatusReasonCode()

        The reason code for the last update that was performed on the function.

        Returns:
        The reason code for the last update that was performed on the function.
        See Also:
        LastUpdateStatusReasonCode
      • withLastUpdateStatusReasonCode

        public CreateFunctionResult withLastUpdateStatusReasonCode(String lastUpdateStatusReasonCode)

        The reason code for the last update that was performed on the function.

        Parameters:
        lastUpdateStatusReasonCode - The reason code for the last update that was performed on the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LastUpdateStatusReasonCode
      • setLastUpdateStatusReasonCode

        public void setLastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)

        The reason code for the last update that was performed on the function.

        Parameters:
        lastUpdateStatusReasonCode - The reason code for the last update that was performed on the function.
        See Also:
        LastUpdateStatusReasonCode
      • withLastUpdateStatusReasonCode

        public CreateFunctionResult withLastUpdateStatusReasonCode(LastUpdateStatusReasonCode lastUpdateStatusReasonCode)

        The reason code for the last update that was performed on the function.

        Parameters:
        lastUpdateStatusReasonCode - The reason code for the last update that was performed on the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LastUpdateStatusReasonCode
      • setPackageType

        public void setPackageType(String packageType)

        The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

        Parameters:
        packageType - The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
        See Also:
        PackageType
      • getPackageType

        public String getPackageType()

        The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

        Returns:
        The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
        See Also:
        PackageType
      • withPackageType

        public CreateFunctionResult withPackageType(String packageType)

        The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

        Parameters:
        packageType - The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageType
      • setPackageType

        public void setPackageType(PackageType packageType)

        The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

        Parameters:
        packageType - The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
        See Also:
        PackageType
      • withPackageType

        public CreateFunctionResult withPackageType(PackageType packageType)

        The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

        Parameters:
        packageType - The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageType
      • setImageConfigResponse

        public void setImageConfigResponse(ImageConfigResponse imageConfigResponse)

        The function's image configuration values.

        Parameters:
        imageConfigResponse - The function's image configuration values.
      • getImageConfigResponse

        public ImageConfigResponse getImageConfigResponse()

        The function's image configuration values.

        Returns:
        The function's image configuration values.
      • withImageConfigResponse

        public CreateFunctionResult withImageConfigResponse(ImageConfigResponse imageConfigResponse)

        The function's image configuration values.

        Parameters:
        imageConfigResponse - The function's image configuration values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSigningProfileVersionArn

        public void setSigningProfileVersionArn(String signingProfileVersionArn)

        The ARN of the signing profile version.

        Parameters:
        signingProfileVersionArn - The ARN of the signing profile version.
      • getSigningProfileVersionArn

        public String getSigningProfileVersionArn()

        The ARN of the signing profile version.

        Returns:
        The ARN of the signing profile version.
      • withSigningProfileVersionArn

        public CreateFunctionResult withSigningProfileVersionArn(String signingProfileVersionArn)

        The ARN of the signing profile version.

        Parameters:
        signingProfileVersionArn - The ARN of the signing profile version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSigningJobArn

        public void setSigningJobArn(String signingJobArn)

        The ARN of the signing job.

        Parameters:
        signingJobArn - The ARN of the signing job.
      • getSigningJobArn

        public String getSigningJobArn()

        The ARN of the signing job.

        Returns:
        The ARN of the signing job.
      • withSigningJobArn

        public CreateFunctionResult withSigningJobArn(String signingJobArn)

        The ARN of the signing job.

        Parameters:
        signingJobArn - The ARN of the signing job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getArchitectures

        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.

        Returns:
        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.
        See Also:
        Architecture
      • setArchitectures

        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.

        Parameters:
        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.
        See Also:
        Architecture
      • withArchitectures

        public CreateFunctionResult 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Architecture
      • withArchitectures

        public CreateFunctionResult 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Architecture
      • withArchitectures

        public CreateFunctionResult 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Architecture
      • setEphemeralStorage

        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).

        Parameters:
        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).
      • getEphemeralStorage

        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).

        Returns:
        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).
      • withEphemeralStorage

        public CreateFunctionResult 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).

        Parameters:
        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).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRuntimeVersionConfig

        public void setRuntimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)

        The ARN of the runtime and any errors that occured.

        Parameters:
        runtimeVersionConfig - The ARN of the runtime and any errors that occured.
      • getRuntimeVersionConfig

        public RuntimeVersionConfig getRuntimeVersionConfig()

        The ARN of the runtime and any errors that occured.

        Returns:
        The ARN of the runtime and any errors that occured.
      • withRuntimeVersionConfig

        public CreateFunctionResult withRuntimeVersionConfig(RuntimeVersionConfig runtimeVersionConfig)

        The ARN of the runtime and any errors that occured.

        Parameters:
        runtimeVersionConfig - The ARN of the runtime and any errors that occured.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLoggingConfig

        public void setLoggingConfig(LoggingConfig loggingConfig)

        The function's Amazon CloudWatch Logs configuration settings.

        Parameters:
        loggingConfig - The function's Amazon CloudWatch Logs configuration settings.
      • getLoggingConfig

        public LoggingConfig getLoggingConfig()

        The function's Amazon CloudWatch Logs configuration settings.

        Returns:
        The function's Amazon CloudWatch Logs configuration settings.
      • withLoggingConfig

        public CreateFunctionResult withLoggingConfig(LoggingConfig loggingConfig)

        The function's Amazon CloudWatch Logs configuration settings.

        Parameters:
        loggingConfig - The function's Amazon CloudWatch Logs configuration settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /