Interface UpdateAppPaymentRegistrationResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAppPaymentRegistrationResponse.Builder,,UpdateAppPaymentRegistrationResponse> SdkBuilder<UpdateAppPaymentRegistrationResponse.Builder,,UpdateAppPaymentRegistrationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAppPaymentRegistrationResponse
@Mutable
@NotThreadSafe
public static interface UpdateAppPaymentRegistrationResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<UpdateAppPaymentRegistrationResponse.Builder,UpdateAppPaymentRegistrationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionappPaymentRegistration(Consumer<AppPaymentRegistration.Builder> appPaymentRegistration) The app's updated payment registration.appPaymentRegistration(AppPaymentRegistration appPaymentRegistration) The app's updated payment registration.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
-
appPaymentRegistration
UpdateAppPaymentRegistrationResponse.Builder appPaymentRegistration(AppPaymentRegistration appPaymentRegistration) The app's updated payment registration.
- Parameters:
appPaymentRegistration- The app's updated payment registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appPaymentRegistration
default UpdateAppPaymentRegistrationResponse.Builder appPaymentRegistration(Consumer<AppPaymentRegistration.Builder> appPaymentRegistration) The app's updated payment registration.
This is a convenience method that creates an instance of theAppPaymentRegistration.Builderavoiding the need to create one manually viaAppPaymentRegistration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappPaymentRegistration(AppPaymentRegistration).- Parameters:
appPaymentRegistration- a consumer that will call methods onAppPaymentRegistration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-