Interface UpdateAppRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAppRequest.Builder,,UpdateAppRequest> SdkBuilder<UpdateAppRequest.Builder,,UpdateAppRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAppRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.default UpdateAppRequest.Builderbackend(Consumer<AppBackendRequest.Builder> backend) The backend settings for the app.backend(AppBackendRequest backend) The backend settings for the app.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateAppRequest.BuildersourceConfig(Consumer<AppUpdateSourceConfigRequest.Builder> sourceConfig) The source configuration for the app.sourceConfig(AppUpdateSourceConfigRequest sourceConfig) The source configuration for the app.default UpdateAppRequest.BuilderThe web hosting settings for the app.The web hosting settings for the app.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Request.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
-
appName
The name of the app.
- Parameters:
appName- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
The source configuration for the app.
- Parameters:
sourceConfig- The source configuration for the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
default UpdateAppRequest.Builder sourceConfig(Consumer<AppUpdateSourceConfigRequest.Builder> sourceConfig) The source configuration for the app.
This is a convenience method that creates an instance of theAppUpdateSourceConfigRequest.Builderavoiding the need to create one manually viaAppUpdateSourceConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfig(AppUpdateSourceConfigRequest).- Parameters:
sourceConfig- a consumer that will call methods onAppUpdateSourceConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
web
The web hosting settings for the app.
- Parameters:
web- The web hosting settings for the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
web
The web hosting settings for the app.
This is a convenience method that creates an instance of theAppUpdateWebConfigRequest.Builderavoiding the need to create one manually viaAppUpdateWebConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweb(AppUpdateWebConfigRequest).- Parameters:
web- a consumer that will call methods onAppUpdateWebConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backend
The backend settings for the app. Specify this to add a backend to an app that doesn't have one. For an app that already has a backend, you can change only the migrations directory. Omit this to leave the backend unchanged.
- Parameters:
backend- The backend settings for the app. Specify this to add a backend to an app that doesn't have one. For an app that already has a backend, you can change only the migrations directory. Omit this to leave the backend unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
The backend settings for the app. Specify this to add a backend to an app that doesn't have one. For an app that already has a backend, you can change only the migrations directory. Omit this to leave the backend unchanged.
This is a convenience method that creates an instance of theAppBackendRequest.Builderavoiding the need to create one manually viaAppBackendRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackend(AppBackendRequest).- Parameters:
backend- a consumer that will call methods onAppBackendRequest.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.
-