Interface CreateAppResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateAppResponse.Builder,,CreateAppResponse> SdkBuilder<CreateAppResponse.Builder,,CreateAppResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAppResponse
@Mutable
@NotThreadSafe
public static interface CreateAppResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<CreateAppResponse.Builder,CreateAppResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAppResponse.Builderapp(Consumer<App.Builder> app) The created app, carrying its service-assigned appId and initial status.The created app, carrying its service-assigned appId and initial status.Methods inherited from interface software.amazon.awssdk.services.appmonetization.model.AppMonetizationResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
app
The created app, carrying its service-assigned appId and initial status. On an idempotent replay with the same clientToken, this is the app the original call created.
- Parameters:
app- The created app, carrying its service-assigned appId and initial status. On an idempotent replay with the same clientToken, this is the app the original call created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
app
The created app, carrying its service-assigned appId and initial status. On an idempotent replay with the same clientToken, this is the app the original call created.
This is a convenience method that creates an instance of theApp.Builderavoiding the need to create one manually viaApp.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapp(App).- Parameters:
app- a consumer that will call methods onApp.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-