Interface CreateAppRequest.Builder

  • Method Details

    • 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

      CreateAppRequest.Builder description(String description)

      A longer description of what the app does.

      Parameters:
      description - A longer description of what the app does.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateAppRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Optional tags to add to the app when it is created. To add tags when you create the app, you must also have permission for appmonetization:TagResource.

      Parameters:
      tags - Optional tags to add to the app when it is created. To add tags when you create the app, you must also have permission for appmonetization:TagResource.
      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. To pass a role, you must have permission for iam:PassRole on it.

      Parameters:
      costTracking - Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs. To pass a role, you must have permission for iam:PassRole on it.
      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. To pass a role, you must have permission for iam:PassRole on it.

      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

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