Interface CreateInstanceProfileRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInstanceProfileRequest.Builder,CreateInstanceProfileRequest>,DeviceFarmRequest.Builder,SdkBuilder<CreateInstanceProfileRequest.Builder,CreateInstanceProfileRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateInstanceProfileRequest
public static interface CreateInstanceProfileRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<CreateInstanceProfileRequest.Builder,CreateInstanceProfileRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateInstanceProfileRequest.Builderdescription(String description)The description of your instance profile.CreateInstanceProfileRequest.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.CreateInstanceProfileRequest.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.CreateInstanceProfileRequest.Buildername(String name)The name of your instance profile.CreateInstanceProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateInstanceProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateInstanceProfileRequest.BuilderpackageCleanup(Boolean packageCleanup)When set totrue, Device Farm removes app packages after a test run.CreateInstanceProfileRequest.BuilderrebootAfterUse(Boolean rebootAfterUse)When set totrue, Device Farm reboots the instance after a test run.-
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
-
name
CreateInstanceProfileRequest.Builder name(String name)
The name of your instance profile.
- Parameters:
name- The name of your instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateInstanceProfileRequest.Builder description(String description)
The description of your instance profile.
- Parameters:
description- The description of your instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageCleanup
CreateInstanceProfileRequest.Builder packageCleanup(Boolean packageCleanup)
When set to
true, Device Farm removes app packages after a test run. The default value isfalsefor private devices.- Parameters:
packageCleanup- When set totrue, Device Farm removes app packages after a test run. The default value isfalsefor private devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeAppPackagesFromCleanup
CreateInstanceProfileRequest.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.
The list of packages is considered only 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.The list of packages is considered only if you set
packageCleanuptotrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeAppPackagesFromCleanup
CreateInstanceProfileRequest.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.
The list of packages is considered only 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.The list of packages is considered only if you set
packageCleanuptotrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rebootAfterUse
CreateInstanceProfileRequest.Builder rebootAfterUse(Boolean rebootAfterUse)
When set to
true, Device Farm reboots the instance after a test run. The default value istrue.- Parameters:
rebootAfterUse- When set totrue, Device Farm reboots the instance after a test run. The default value istrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateInstanceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateInstanceProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-