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 that specifies the list of app packages that should not be cleaned up from the device
after a test run.
|
CreateInstanceProfileRequest.Builder |
excludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device
after a test run.
|
CreateInstanceProfileRequest.Builder |
name(String name)
The name of your instance profile.
|
CreateInstanceProfileRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateInstanceProfileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateInstanceProfileRequest.Builder |
packageCleanup(Boolean packageCleanup)
When set to
true, Device Farm removes app packages after a test run. |
CreateInstanceProfileRequest.Builder |
rebootAfterUse(Boolean rebootAfterUse)
When set to
true, Device Farm reboots the instance after a test run. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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 removes app packages after a test run. The default value is
false for private devices.
packageCleanup - When set to true, Device Farm removes app packages after a test run. The default value is
false for private devices.CreateInstanceProfileRequest.Builder excludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
The list of packages is considered only if you set packageCleanup to true.
excludeAppPackagesFromCleanup - An array of strings that specifies the list of app packages that should not be cleaned up from the
device after a test run.
The list of packages is considered only if you set packageCleanup to true.
CreateInstanceProfileRequest.Builder excludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
The list of packages is considered only if you set packageCleanup to true.
excludeAppPackagesFromCleanup - An array of strings that specifies the list of app packages that should not be cleaned up from the
device after a test run.
The list of packages is considered only if you set packageCleanup to true.
CreateInstanceProfileRequest.Builder rebootAfterUse(Boolean rebootAfterUse)
When set to true, Device Farm reboots the instance after a test run. The default value is
true.
rebootAfterUse - When set to true, Device Farm reboots the instance after a test run. The default value is
true.CreateInstanceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateInstanceProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.