Interface UpdateAppRequest.Builder

  • Method Details

    • appId

      The ID of the app to update. You can identify the app by either its ID or its Amazon Resource Name (ARN). If you provide both, they must refer to the same app.

      Parameters:
      appId - The ID of the app to update. You can identify the app by either its ID or its Amazon Resource Name (ARN). If you provide both, they must refer to the same app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A human-readable display name for the app.

      Parameters:
      name - A human-readable display name for the app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateAppRequest.Builder description(String description)

      The new description. An empty string clears it; omitting the member keeps the current one.

      Parameters:
      description - The new description. An empty string clears it; omitting the member keeps the current one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identifier

      UpdateAppRequest.Builder identifier(String identifier)

      The Amazon Resource Name (ARN) of the app. You can identify the app by either its ID or its ARN. If you provide both, they must refer to the same app. A sandbox ARN names the app's sandbox; if you also send scope, the two must name the same environment.

      Parameters:
      identifier - The Amazon Resource Name (ARN) of the app. You can identify the app by either its ID or its ARN. If you provide both, they must refer to the same app. A sandbox ARN names the app's sandbox; if you also send scope, the two must name the same environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected.

      Parameters:
      scope - The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected.

      Parameters:
      scope - The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • costTracking

      Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs. Passing a role also requires permission for iam:PassRole on it. You can send it with or without a new name or description.

      Parameters:
      costTracking - Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs. Passing a role also requires permission for iam:PassRole on it. You can send it with or without a new name or description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • costTracking

      Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs. Passing a role also requires permission for iam:PassRole on it. You can send it with or without a new name or description.

      This is a convenience method that creates an instance of the CostTrackingConfiguration.Builder avoiding the need to create one manually via CostTrackingConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to costTracking(CostTrackingConfiguration).

      Parameters:
      costTracking - a consumer that will call methods on CostTrackingConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateAppRequest.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.