Package com.pulumi.aws.devicefarm.inputs
Class InstanceProfileState.Builder
- java.lang.Object
-
- com.pulumi.aws.devicefarm.inputs.InstanceProfileState.Builder
-
- Enclosing class:
- InstanceProfileState
public static final class InstanceProfileState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(InstanceProfileState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceProfileState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)InstanceProfileState.Builderarn(java.lang.String arn)InstanceProfileStatebuild()InstanceProfileState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)InstanceProfileState.Builderdescription(java.lang.String description)InstanceProfileState.BuilderexcludeAppPackagesFromCleanups(com.pulumi.core.Output<java.util.List<java.lang.String>> excludeAppPackagesFromCleanups)InstanceProfileState.BuilderexcludeAppPackagesFromCleanups(java.lang.String... excludeAppPackagesFromCleanups)InstanceProfileState.BuilderexcludeAppPackagesFromCleanups(java.util.List<java.lang.String> excludeAppPackagesFromCleanups)InstanceProfileState.Buildername(com.pulumi.core.Output<java.lang.String> name)InstanceProfileState.Buildername(java.lang.String name)InstanceProfileState.BuilderpackageCleanup(com.pulumi.core.Output<java.lang.Boolean> packageCleanup)InstanceProfileState.BuilderpackageCleanup(java.lang.Boolean packageCleanup)InstanceProfileState.BuilderrebootAfterUse(com.pulumi.core.Output<java.lang.Boolean> rebootAfterUse)InstanceProfileState.BuilderrebootAfterUse(java.lang.Boolean rebootAfterUse)InstanceProfileState.Builderregion(com.pulumi.core.Output<java.lang.String> region)InstanceProfileState.Builderregion(java.lang.String region)InstanceProfileState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)InstanceProfileState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)InstanceProfileState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)InstanceProfileState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceProfileState defaults)
-
-
Method Detail
-
arn
public InstanceProfileState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of this instance profile.- Returns:
- builder
-
arn
public InstanceProfileState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of this instance profile.- Returns:
- builder
-
description
public InstanceProfileState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- The description of the instance profile.- Returns:
- builder
-
description
public InstanceProfileState.Builder description(java.lang.String description)
- Parameters:
description- The description of the instance profile.- Returns:
- builder
-
excludeAppPackagesFromCleanups
public InstanceProfileState.Builder excludeAppPackagesFromCleanups(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> excludeAppPackagesFromCleanups)
- Parameters:
excludeAppPackagesFromCleanups- An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.- Returns:
- builder
-
excludeAppPackagesFromCleanups
public InstanceProfileState.Builder excludeAppPackagesFromCleanups(java.util.List<java.lang.String> excludeAppPackagesFromCleanups)
- Parameters:
excludeAppPackagesFromCleanups- An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.- Returns:
- builder
-
excludeAppPackagesFromCleanups
public InstanceProfileState.Builder excludeAppPackagesFromCleanups(java.lang.String... excludeAppPackagesFromCleanups)
- Parameters:
excludeAppPackagesFromCleanups- An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.- Returns:
- builder
-
name
public InstanceProfileState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name for the instance profile.- Returns:
- builder
-
name
public InstanceProfileState.Builder name(java.lang.String name)
- Parameters:
name- The name for the instance profile.- Returns:
- builder
-
packageCleanup
public InstanceProfileState.Builder packageCleanup(@Nullable com.pulumi.core.Output<java.lang.Boolean> packageCleanup)
- Parameters:
packageCleanup- When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices.- Returns:
- builder
-
packageCleanup
public InstanceProfileState.Builder packageCleanup(java.lang.Boolean packageCleanup)
- Parameters:
packageCleanup- When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices.- Returns:
- builder
-
rebootAfterUse
public InstanceProfileState.Builder rebootAfterUse(@Nullable com.pulumi.core.Output<java.lang.Boolean> rebootAfterUse)
- Parameters:
rebootAfterUse- When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`.- Returns:
- builder
-
rebootAfterUse
public InstanceProfileState.Builder rebootAfterUse(java.lang.Boolean rebootAfterUse)
- Parameters:
rebootAfterUse- When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`.- Returns:
- builder
-
region
public InstanceProfileState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public InstanceProfileState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
tags
public InstanceProfileState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public InstanceProfileState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public InstanceProfileState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public InstanceProfileState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public InstanceProfileState build()
-
-