public static interface UpdateInstanceProfileRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<UpdateInstanceProfileRequest.Builder,UpdateInstanceProfileRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateInstanceProfileRequest.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
|
UpdateInstanceProfileRequest.Builder |
description(String description)
The updated description for your instance profile.
|
UpdateInstanceProfileRequest.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.
|
UpdateInstanceProfileRequest.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.
|
UpdateInstanceProfileRequest.Builder |
name(String name)
The updated name for your instance profile.
|
UpdateInstanceProfileRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateInstanceProfileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateInstanceProfileRequest.Builder |
packageCleanup(Boolean packageCleanup)
The updated choice for whether you want to specify package cleanup.
|
UpdateInstanceProfileRequest.Builder |
rebootAfterUse(Boolean rebootAfterUse)
The updated choice for whether you want to reboot the device after use.
|
buildoverrideConfigurationcopyapplyMutation, buildUpdateInstanceProfileRequest.Builder arn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
arn - The Amazon Resource Name (ARN) of the instance profile.UpdateInstanceProfileRequest.Builder name(String name)
The updated name for your instance profile.
name - The updated name for your instance profile.UpdateInstanceProfileRequest.Builder description(String description)
The updated description for your instance profile.
description - The updated description for your instance profile.UpdateInstanceProfileRequest.Builder packageCleanup(Boolean packageCleanup)
The updated choice for whether you want to specify package cleanup. The default value is false
for private devices.
packageCleanup - The updated choice for whether you want to specify package cleanup. The default value is
false for private devices.UpdateInstanceProfileRequest.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.
UpdateInstanceProfileRequest.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.
UpdateInstanceProfileRequest.Builder rebootAfterUse(Boolean rebootAfterUse)
The updated choice for whether you want to reboot the device after use. The default value is
true.
rebootAfterUse - The updated choice for whether you want to reboot the device after use. The default value is
true.UpdateInstanceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.UpdateInstanceProfileRequest.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.