Interface CreateAppRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateAppRequest.Builder,,CreateAppRequest> SdkBuilder<CreateAppRequest.Builder,,CreateAppRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAppRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.default CreateAppRequest.Builderbackend(Consumer<AppBackendRequest.Builder> backend) The backend settings for the app.backend(AppBackendRequest backend) The backend settings for the app.defaultEnvironmentsConfiguration(Collection<DefaultEnvironmentConfiguration> defaultEnvironmentsConfiguration) The settings for the Production and Preview environments that Amplify creates for the app.defaultEnvironmentsConfiguration(Consumer<DefaultEnvironmentConfiguration.Builder>... defaultEnvironmentsConfiguration) The settings for the Production and Preview environments that Amplify creates for the app.defaultEnvironmentsConfiguration(DefaultEnvironmentConfiguration... defaultEnvironmentsConfiguration) The settings for the Production and Preview environments that Amplify creates for the app.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateAppRequest.BuildersourceConfig(Consumer<AppSourceConfigRequest.Builder> sourceConfig) The source repository configuration for the app.sourceConfig(AppSourceConfigRequest sourceConfig) The source repository configuration for the app.The tags to apply to the resource.default CreateAppRequest.BuilderThe web hosting settings for the app.web(AppWebConfigRequest web) 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 repository configuration for the app.
- Parameters:
sourceConfig- The source repository configuration for the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
default CreateAppRequest.Builder sourceConfig(Consumer<AppSourceConfigRequest.Builder> sourceConfig) The source repository configuration for the app.
This is a convenience method that creates an instance of theAppSourceConfigRequest.Builderavoiding the need to create one manually viaAppSourceConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfig(AppSourceConfigRequest).- Parameters:
sourceConfig- a consumer that will call methods onAppSourceConfigRequest.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 theAppWebConfigRequest.Builderavoiding the need to create one manually viaAppWebConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweb(AppWebConfigRequest).- Parameters:
web- a consumer that will call methods onAppWebConfigRequest.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. Omit this for a frontend-only app.
- Parameters:
backend- The backend settings for the app. Omit this for a frontend-only app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
The backend settings for the app. Omit this for a frontend-only app.
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:
-
defaultEnvironmentsConfiguration
CreateAppRequest.Builder defaultEnvironmentsConfiguration(Collection<DefaultEnvironmentConfiguration> defaultEnvironmentsConfiguration) The settings for the Production and Preview environments that Amplify creates for the app. Specify one entry for each environment.
- Parameters:
defaultEnvironmentsConfiguration- The settings for the Production and Preview environments that Amplify creates for the app. Specify one entry for each environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultEnvironmentsConfiguration
CreateAppRequest.Builder defaultEnvironmentsConfiguration(DefaultEnvironmentConfiguration... defaultEnvironmentsConfiguration) The settings for the Production and Preview environments that Amplify creates for the app. Specify one entry for each environment.
- Parameters:
defaultEnvironmentsConfiguration- The settings for the Production and Preview environments that Amplify creates for the app. Specify one entry for each environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultEnvironmentsConfiguration
CreateAppRequest.Builder defaultEnvironmentsConfiguration(Consumer<DefaultEnvironmentConfiguration.Builder>... defaultEnvironmentsConfiguration) The settings for the Production and Preview environments that Amplify creates for the app. Specify one entry for each environment.
This is a convenience method that creates an instance of theDefaultEnvironmentConfiguration.Builderavoiding the need to create one manually viaDefaultEnvironmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultEnvironmentsConfiguration(List<DefaultEnvironmentConfiguration>).- Parameters:
defaultEnvironmentsConfiguration- a consumer that will call methods onDefaultEnvironmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to apply to the resource.
- Parameters:
tags- The tags to apply to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-