Class InstanceProfileState.Builder

  • Enclosing class:
    InstanceProfileState

    public static final class InstanceProfileState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public InstanceProfileState.Builder arn​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The Amazon Resource Name of this instance profile.
        Returns:
        builder
      • arn

        public InstanceProfileState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The Amazon Resource Name 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
      • 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 `default_tags` 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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public InstanceProfileState.Builder tagsAll​(@Nullable
                                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public InstanceProfileState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder