Interface UpdateInstanceProfileRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateInstanceProfileRequest.Builder,UpdateInstanceProfileRequest>,DeviceFarmRequest.Builder,SdkBuilder<UpdateInstanceProfileRequest.Builder,UpdateInstanceProfileRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateInstanceProfileRequest
public static interface UpdateInstanceProfileRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<UpdateInstanceProfileRequest.Builder,UpdateInstanceProfileRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateInstanceProfileRequest.Builderarn(String arn)The Amazon Resource Name (ARN) of the instance profile.UpdateInstanceProfileRequest.Builderdescription(String description)The updated description for your instance profile.UpdateInstanceProfileRequest.BuilderexcludeAppPackagesFromCleanup(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 is over.UpdateInstanceProfileRequest.BuilderexcludeAppPackagesFromCleanup(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 is over.UpdateInstanceProfileRequest.Buildername(String name)The updated name for your instance profile.UpdateInstanceProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateInstanceProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateInstanceProfileRequest.BuilderpackageCleanup(Boolean packageCleanup)The updated choice for whether you want to specify package cleanup.UpdateInstanceProfileRequest.BuilderrebootAfterUse(Boolean rebootAfterUse)The updated choice for whether you want to reboot the device after use.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
UpdateInstanceProfileRequest.Builder arn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
- Parameters:
arn- The Amazon Resource Name (ARN) of the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateInstanceProfileRequest.Builder name(String name)
The updated name for your instance profile.
- Parameters:
name- The updated name for your instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateInstanceProfileRequest.Builder description(String description)
The updated description for your instance profile.
- Parameters:
description- The updated description for your instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageCleanup
UpdateInstanceProfileRequest.Builder packageCleanup(Boolean packageCleanup)
The updated choice for whether you want to specify package cleanup. The default value is
falsefor private devices.- Parameters:
packageCleanup- The updated choice for whether you want to specify package cleanup. The default value isfalsefor private devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeAppPackagesFromCleanup
UpdateInstanceProfileRequest.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 is over.
The list of packages is only considered if you set
packageCleanuptotrue.- Parameters:
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 is over.The list of packages is only considered if you set
packageCleanuptotrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeAppPackagesFromCleanup
UpdateInstanceProfileRequest.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 is over.
The list of packages is only considered if you set
packageCleanuptotrue.- Parameters:
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 is over.The list of packages is only considered if you set
packageCleanuptotrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rebootAfterUse
UpdateInstanceProfileRequest.Builder rebootAfterUse(Boolean rebootAfterUse)
The updated choice for whether you want to reboot the device after use. The default value is
true.- Parameters:
rebootAfterUse- The updated choice for whether you want to reboot the device after use. The default value istrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateInstanceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateInstanceProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-