public static interface InstanceProfile.Builder extends SdkPojo, CopyableBuilder<InstanceProfile.Builder,InstanceProfile>
| Modifier and Type | Method and Description |
|---|---|
InstanceProfile.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
|
InstanceProfile.Builder |
description(String description)
The description of the instance profile.
|
InstanceProfile.Builder |
excludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings containing the list of app packages that should not be cleaned up from the device after a
test run completes.
|
InstanceProfile.Builder |
excludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings containing the list of app packages that should not be cleaned up from the device after a
test run completes.
|
InstanceProfile.Builder |
name(String name)
The name of the instance profile.
|
InstanceProfile.Builder |
packageCleanup(Boolean packageCleanup)
When set to
true, Device Farm removes app packages after a test run. |
InstanceProfile.Builder |
rebootAfterUse(Boolean rebootAfterUse)
When set to
true, Device Farm reboots the instance after a test run. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceProfile.Builder arn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
arn - The Amazon Resource Name (ARN) of the instance profile.InstanceProfile.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.InstanceProfile.Builder excludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.
The list of packages is considered only if you set packageCleanup to true.
excludeAppPackagesFromCleanup - An array of strings containing the list of app packages that should not be cleaned up from the device
after a test run completes.
The list of packages is considered only if you set packageCleanup to true.
InstanceProfile.Builder excludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.
The list of packages is considered only if you set packageCleanup to true.
excludeAppPackagesFromCleanup - An array of strings containing the list of app packages that should not be cleaned up from the device
after a test run completes.
The list of packages is considered only if you set packageCleanup to true.
InstanceProfile.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.InstanceProfile.Builder name(String name)
The name of the instance profile.
name - The name of the instance profile.InstanceProfile.Builder description(String description)
The description of the instance profile.
description - The description of the instance profile.Copyright © 2022. All rights reserved.