public static interface CreateInstanceProfileRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<CreateInstanceProfileRequest.Builder,CreateInstanceProfileRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateInstanceProfileRequest.Builder |
description(String description)
The description of your instance profile.
|
CreateInstanceProfileRequest.Builder |
excludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings specifying the list of app packages that should not be cleaned up from the device after a
test run is over.
|
CreateInstanceProfileRequest.Builder |
excludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings specifying the list of app packages that should not be cleaned up from the device after a
test run is over.
|
CreateInstanceProfileRequest.Builder |
name(String name)
The name of your instance profile.
|
CreateInstanceProfileRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateInstanceProfileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateInstanceProfileRequest.Builder |
packageCleanup(Boolean packageCleanup)
When set to
true, Device Farm will remove app packages after a test run. |
CreateInstanceProfileRequest.Builder |
rebootAfterUse(Boolean rebootAfterUse)
When set to
true, Device Farm will reboot the instance after a test run. |
buildoverrideConfigurationcopyapplyMutation, buildCreateInstanceProfileRequest.Builder name(String name)
The name of your instance profile.
name - The name of your instance profile.CreateInstanceProfileRequest.Builder description(String description)
The description of your instance profile.
description - The description of your instance profile.CreateInstanceProfileRequest.Builder packageCleanup(Boolean packageCleanup)
When set to true, Device Farm will remove app packages after a test run. The default value is
false for private devices.
packageCleanup - When set to true, Device Farm will remove app packages after a test run. The default
value is false for private devices.CreateInstanceProfileRequest.Builder excludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings specifying the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
excludeAppPackagesFromCleanup - An array of strings specifying the list of app packages that should not be cleaned up from the device
after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
CreateInstanceProfileRequest.Builder excludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings specifying the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
excludeAppPackagesFromCleanup - An array of strings specifying the list of app packages that should not be cleaned up from the device
after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
CreateInstanceProfileRequest.Builder rebootAfterUse(Boolean rebootAfterUse)
When set to true, Device Farm will reboot the instance after a test run. The default value is
true.
rebootAfterUse - When set to true, Device Farm will reboot the instance after a test run. The default
value is true.CreateInstanceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateInstanceProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.