Interface UpdateInstanceProfileRequest.Builder

  • Method Details

    • 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

      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 false for private devices.

      Parameters:
      packageCleanup - The updated choice for whether you want to specify package cleanup. The default value is false for 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 packageCleanup to true.

      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 packageCleanup to true.

      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 packageCleanup to true.

      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 packageCleanup to true.

      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 is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateInstanceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.