Interface CreateTestCaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateTestCaseRequest.Builder,,CreateTestCaseRequest> SdkBuilder<CreateTestCaseRequest.Builder,,CreateTestCaseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTestCaseRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe JSON string that represents the content of the test.description(String description) The description of the test.default CreateTestCaseRequest.BuilderentryPoint(Consumer<TestCaseEntryPoint.Builder> entryPoint) Defines the starting point for your test.entryPoint(TestCaseEntryPoint entryPoint) Defines the starting point for your test.initializationData(String initializationData) Defines the initial custom attributes for your test.instanceId(String instanceId) The identifier of the Amazon Connect instance.lastModifiedRegion(String lastModifiedRegion) The region in which the resource was last modifiedlastModifiedTime(Instant lastModifiedTime) The time at which the resource was last modified.The name of the test.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Indicates the test status as either SAVED or PUBLISHED.status(TestCaseStatus status) Indicates the test status as either SAVED or PUBLISHED.The tags used to organize, track, or control access for this resource.testCaseId(String testCaseId) Id of the test case if you want to create it in a replica region using Amazon Connect Global ResiliencyMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 theTestCaseEntryPoint.Builderavoiding the need to create one manually viaTestCaseEntryPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentryPoint(TestCaseEntryPoint).- Parameters:
entryPoint- a consumer that will call methods onTestCaseEntryPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTestCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-