Interface CreateTestConfigurationRequest.Builder
- All Superinterfaces:
AppTestRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateTestConfigurationRequest.Builder,,CreateTestConfigurationRequest> SdkBuilder<CreateTestConfigurationRequest.Builder,,CreateTestConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTestConfigurationRequest
public static interface CreateTestConfigurationRequest.Builder
extends AppTestRequest.Builder, SdkPojo, CopyableBuilder<CreateTestConfigurationRequest.Builder,CreateTestConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The client token of the test configuration.description(String description) The description of the test configuration.The name of the test configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.properties(Map<String, String> properties) The properties of the test configuration.resources(Collection<Resource> resources) The defined resources of the test configuration.resources(Consumer<Resource.Builder>... resources) The defined resources of the test configuration.The defined resources of the test configuration.serviceSettings(Consumer<ServiceSettings.Builder> serviceSettings) The service settings of the test configuration.serviceSettings(ServiceSettings serviceSettings) The service settings of the test configuration.The tags of the test configuration.Methods inherited from interface software.amazon.awssdk.services.apptest.model.AppTestRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
Method Details
-
name
The name of the test configuration.
- Parameters:
name- The name of the test configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the test configuration.
- Parameters:
description- The description of the test configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The defined resources of the test configuration.
- Parameters:
resources- The defined resources of the test configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The defined resources of the test configuration.
- Parameters:
resources- The defined resources of the test configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The defined resources of the test configuration.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<Resource>).- Parameters:
resources- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
properties
The properties of the test configuration.
- Parameters:
properties- The properties of the test configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The client token of the test configuration.
- Parameters:
clientToken- The client token of the test configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags of the test configuration.
- Parameters:
tags- The tags of the test configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSettings
The service settings of the test configuration.
- Parameters:
serviceSettings- The service settings of the test configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSettings
default CreateTestConfigurationRequest.Builder serviceSettings(Consumer<ServiceSettings.Builder> serviceSettings) The service settings of the test configuration.
This is a convenience method that creates an instance of theServiceSettings.Builderavoiding the need to create one manually viaServiceSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceSettings(ServiceSettings).- Parameters:
serviceSettings- a consumer that will call methods onServiceSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTestConfigurationRequest.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
CreateTestConfigurationRequest.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.
-