Interface CreateAppRequest.Builder
- All Superinterfaces:
AppMonetizationRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateAppRequest.Builder,,CreateAppRequest> SdkBuilder<CreateAppRequest.Builder,,CreateAppRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAppRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.default CreateAppRequest.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) A longer description of what the app does.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.Optional tags to add to the app when it is created.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
-
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
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
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
default CreateAppRequest.Builder costTracking(Consumer<CostTrackingConfiguration.Builder> 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 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
CreateAppRequest.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
CreateAppRequest.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.
-