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.cloudfront.model

Class TestResult

    • Constructor Detail

      • TestResult

        public TestResult()
    • Method Detail

      • setFunctionSummary

        public void setFunctionSummary(FunctionSummary functionSummary)

        Contains configuration information and metadata about the CloudFront function that was tested.

        Parameters:
        functionSummary - Contains configuration information and metadata about the CloudFront function that was tested.
      • getFunctionSummary

        public FunctionSummary getFunctionSummary()

        Contains configuration information and metadata about the CloudFront function that was tested.

        Returns:
        Contains configuration information and metadata about the CloudFront function that was tested.
      • withFunctionSummary

        public TestResult withFunctionSummary(FunctionSummary functionSummary)

        Contains configuration information and metadata about the CloudFront function that was tested.

        Parameters:
        functionSummary - Contains configuration information and metadata about the CloudFront function that was tested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setComputeUtilization

        public void setComputeUtilization(String computeUtilization)

        The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

        Parameters:
        computeUtilization - The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.
      • getComputeUtilization

        public String getComputeUtilization()

        The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

        Returns:
        The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.
      • withComputeUtilization

        public TestResult withComputeUtilization(String computeUtilization)

        The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

        Parameters:
        computeUtilization - The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getFunctionExecutionLogs

        public List<String> getFunctionExecutionLogs()

        Contains the log lines that the function wrote (if any) when running the test.

        Returns:
        Contains the log lines that the function wrote (if any) when running the test.
      • setFunctionExecutionLogs

        public void setFunctionExecutionLogs(Collection<String> functionExecutionLogs)

        Contains the log lines that the function wrote (if any) when running the test.

        Parameters:
        functionExecutionLogs - Contains the log lines that the function wrote (if any) when running the test.
      • withFunctionExecutionLogs

        public TestResult withFunctionExecutionLogs(String... functionExecutionLogs)

        Contains the log lines that the function wrote (if any) when running the test.

        NOTE: This method appends the values to the existing list (if any). Use setFunctionExecutionLogs(java.util.Collection) or withFunctionExecutionLogs(java.util.Collection) if you want to override the existing values.

        Parameters:
        functionExecutionLogs - Contains the log lines that the function wrote (if any) when running the test.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFunctionExecutionLogs

        public TestResult withFunctionExecutionLogs(Collection<String> functionExecutionLogs)

        Contains the log lines that the function wrote (if any) when running the test.

        Parameters:
        functionExecutionLogs - Contains the log lines that the function wrote (if any) when running the test.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFunctionErrorMessage

        public void setFunctionErrorMessage(String functionErrorMessage)

        If the result of testing the function was an error, this field contains the error message.

        Parameters:
        functionErrorMessage - If the result of testing the function was an error, this field contains the error message.
      • getFunctionErrorMessage

        public String getFunctionErrorMessage()

        If the result of testing the function was an error, this field contains the error message.

        Returns:
        If the result of testing the function was an error, this field contains the error message.
      • withFunctionErrorMessage

        public TestResult withFunctionErrorMessage(String functionErrorMessage)

        If the result of testing the function was an error, this field contains the error message.

        Parameters:
        functionErrorMessage - If the result of testing the function was an error, this field contains the error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFunctionOutput

        public void setFunctionOutput(String functionOutput)

        The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

        Parameters:
        functionOutput - The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.
      • getFunctionOutput

        public String getFunctionOutput()

        The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

        Returns:
        The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.
      • withFunctionOutput

        public TestResult withFunctionOutput(String functionOutput)

        The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

        Parameters:
        functionOutput - The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.
        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 によって変換されたページ (->オリジナル) /