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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
.yaml
or.yml
file 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.yaml
or.yml
file 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-