Interface TestCase.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TestCase.Builder,TestCase>, SdkBuilder<TestCase.Builder,TestCase>, SdkPojo
Enclosing class:
TestCase

@Mutable @NotThreadSafe public static interface TestCase.Builder extends SdkPojo, CopyableBuilder<TestCase.Builder,TestCase>
  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the test case.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the test case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The identifier of the test case.

      Parameters:
      id - The identifier of the test case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the test case.

      Parameters:
      name - The name of the test case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      TestCase.Builder content(String content)

      The JSON string that represents the content of the test.

      Parameters:
      content - The JSON string that represents the content of the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entryPoint

      TestCase.Builder entryPoint(TestCaseEntryPoint entryPoint)

      Defines the starting point for the test, including channel type and parameters.

      Parameters:
      entryPoint - Defines the starting point for the test, including channel type and parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entryPoint

      default TestCase.Builder entryPoint(Consumer<TestCaseEntryPoint.Builder> entryPoint)

      Defines the starting point for the test, including channel type and parameters.

      This is a convenience method that creates an instance of the TestCaseEntryPoint.Builder avoiding the need to create one manually via TestCaseEntryPoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entryPoint(TestCaseEntryPoint).

      Parameters:
      entryPoint - a consumer that will call methods on TestCaseEntryPoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • initializationData

      TestCase.Builder initializationData(String initializationData)

      Defines the test attributes for precise data representation.

      Parameters:
      initializationData - Defines the test attributes for precise data representation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TestCase.Builder description(String description)

      The description of the test case.

      Parameters:
      description - The description of the test case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      TestCase.Builder status(String status)

      Indicates the test status as either SAVED or PUBLISHED.

      Parameters:
      status - Indicates the test status as either SAVED or PUBLISHED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Indicates the test status as either SAVED or PUBLISHED.

      Parameters:
      status - Indicates the test status as either SAVED or PUBLISHED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastModifiedTime

      TestCase.Builder lastModifiedTime(Instant lastModifiedTime)

      The time at which the test case was last modified.

      Parameters:
      lastModifiedTime - The time at which the test case was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedRegion

      TestCase.Builder lastModifiedRegion(String lastModifiedRegion)

      The region in which the test case was last modified.

      Parameters:
      lastModifiedRegion - The region in which the test case was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for this resource.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testCaseSha256

      TestCase.Builder testCaseSha256(String testCaseSha256)

      The SHA256 hash of the test case content.

      Parameters:
      testCaseSha256 - The SHA256 hash of the test case content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.