Interface CreateTestCaseRequest.Builder

  • Method Details

    • instanceId

      CreateTestCaseRequest.Builder instanceId(String instanceId)

      The identifier of the Amazon Connect instance.

      Parameters:
      instanceId - The identifier of the Amazon Connect instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the test.

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

      CreateTestCaseRequest.Builder description(String description)

      The description of the test.

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

      Defines the starting point for your test.

      Parameters:
      entryPoint - Defines the starting point for your test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entryPoint

      Defines the starting point for your test.

      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

      CreateTestCaseRequest.Builder initializationData(String initializationData)

      Defines the initial custom attributes for your test.

      Parameters:
      initializationData - Defines the initial custom attributes for your test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Indicates the test status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. The SAVED status does not initiate validation of the content.

      Parameters:
      status - Indicates the test status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. The SAVED status does not initiate validation of the content.
      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. The PUBLISHED status will initiate validation on the content. The SAVED status does not initiate validation of the content.

      Parameters:
      status - Indicates the test status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. The SAVED status does not initiate validation of the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • testCaseId

      CreateTestCaseRequest.Builder testCaseId(String testCaseId)

      Id of the test case if you want to create it in a replica region using Amazon Connect Global Resiliency

      Parameters:
      testCaseId - Id of the test case if you want to create it in a replica region using Amazon Connect Global Resiliency
      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.
    • lastModifiedTime

      CreateTestCaseRequest.Builder lastModifiedTime(Instant lastModifiedTime)

      The time at which the resource was last modified.

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

      CreateTestCaseRequest.Builder lastModifiedRegion(String lastModifiedRegion)

      The region in which the resource was last modified

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

      CreateTestCaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.