Interface UpdateUploadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateUploadRequest.Builder,,UpdateUploadRequest> DeviceFarmRequest.Builder,SdkBuilder<UpdateUploadRequest.Builder,,UpdateUploadRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateUploadRequest
public static interface UpdateUploadRequest.Builder
extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<UpdateUploadRequest.Builder,UpdateUploadRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the uploaded test spec.contentType(String contentType) The upload's content type (for example,application/x-yaml).editContent(Boolean editContent) Set to true if the YAML file has changed and must be updated.The upload's test spec file name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods 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.services.devicefarm.model.DeviceFarmRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the uploaded test spec.
- Parameters:
arn- The Amazon Resource Name (ARN) of the uploaded test spec.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the
.yamlor.ymlfile extension.- Parameters:
name- The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the.yamlor.ymlfile extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The upload's content type (for example,
application/x-yaml).- Parameters:
contentType- The upload's content type (for example,application/x-yaml).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
editContent
Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
- Parameters:
editContent- Set to true if the YAML file has changed and must be updated. Otherwise, set to false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateUploadRequest.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
UpdateUploadRequest.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.
-