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 specifying the list of app packages that should not be cleaned up from the device after a
test run is over.
|
InstanceProfile.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.
|
InstanceProfile.Builder |
name(String name)
The name of the instance profile.
|
InstanceProfile.Builder |
packageCleanup(Boolean packageCleanup)
When set to
true , Device Farm will remove app packages after a test run. |
InstanceProfile.Builder |
rebootAfterUse(Boolean rebootAfterUse)
When set to
true , Device Farm will reboot the instance after a test run. |
copy
applyMutation, build
InstanceProfile.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 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.InstanceProfile.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
.
InstanceProfile.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
.
InstanceProfile.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
.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.