Interface UpdateInstanceProfileRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateInstanceProfileRequest.Builder,,- UpdateInstanceProfileRequest> - DeviceFarmRequest.Builder,- SdkBuilder<UpdateInstanceProfileRequest.Builder,,- UpdateInstanceProfileRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UpdateInstanceProfileRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the instance profile.description(String description) The updated description for your instance profile.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.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 updated name for your instance profile.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packageCleanup(Boolean packageCleanup) The updated choice for whether you want to specify package cleanup.rebootAfterUse(Boolean rebootAfterUse) The updated choice for whether you want to reboot the device after use.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
arnThe 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.
 
- 
nameThe 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.
 
- 
descriptionThe 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.
 
- 
packageCleanupThe 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 is- falsefor private devices.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
excludeAppPackagesFromCleanupUpdateInstanceProfileRequest.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 - packageCleanupto- true.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
excludeAppPackagesFromCleanupUpdateInstanceProfileRequest.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 - packageCleanupto- true.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rebootAfterUseThe 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 is- true.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationUpdateInstanceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateInstanceProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-