Interface UpdateAppRequest.Builder
- All Superinterfaces:
AppMonetizationRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAppRequest.Builder,,UpdateAppRequest> SdkBuilder<UpdateAppRequest.Builder,,UpdateAppRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAppRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app to update.default UpdateAppRequest.BuildercostTracking(Consumer<CostTrackingConfiguration.Builder> costTracking) Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs.costTracking(CostTrackingConfiguration costTracking) Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs.description(String description) The new description.identifier(String identifier) The Amazon Resource Name (ARN) of the app.A human-readable display name for the app.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The environment to act on: live or sandbox.scope(RequestScope scope) The environment to act on: live or sandbox.Methods inherited from interface software.amazon.awssdk.services.appmonetization.model.AppMonetizationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
default UpdateAppRequest.Builder costTracking(Consumer<CostTrackingConfiguration.Builder> 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 theCostTrackingConfiguration.Builderavoiding the need to create one manually viaCostTrackingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocostTracking(CostTrackingConfiguration).- Parameters:
costTracking- a consumer that will call methods onCostTrackingConfiguration.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-