Interface CreateEnvironmentRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateEnvironmentRequest.Builder,,CreateEnvironmentRequest> SdkBuilder<CreateEnvironmentRequest.Builder,,CreateEnvironmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEnvironmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.default CreateEnvironmentRequest.BuilderThe backend settings for the environment.backend(EnvironmentBackendConfigRequest backend) The backend settings for the environment.environmentName(String environmentName) The name of the environment.environmentRoleArn(String environmentRoleArn) The Amazon Resource Name (ARN) of the IAM role for the environment.environmentRolePermissionMode(String environmentRolePermissionMode) The permission mode for the environment's IAM role.environmentRolePermissionMode(EnvironmentRolePermissionMode environmentRolePermissionMode) The permission mode for the environment's IAM role.default CreateEnvironmentRequest.BuildergradualRolloutConfig(Consumer<GradualRolloutConfig.Builder> gradualRolloutConfig) The gradual rollout settings for the environment.gradualRolloutConfig(GradualRolloutConfig gradualRolloutConfig) The gradual rollout settings for the environment.default CreateEnvironmentRequest.BuildernetworkConfig(Consumer<EnvironmentNetworkConfigRequest.Builder> networkConfig) The VPC network configuration for the environment.networkConfig(EnvironmentNetworkConfigRequest networkConfig) The VPC network configuration for the environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateEnvironmentRequest.BuildersourceConfig(Consumer<EnvironmentSourceConfigRequest.Builder> sourceConfig) The source configuration for the environment.sourceConfig(EnvironmentSourceConfigRequest sourceConfig) The source configuration for the environment.The tags to apply to the resource.default CreateEnvironmentRequest.BuilderThe web hosting settings for the environment.The web hosting settings for the environment.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.
-
environmentName
The name of the environment.
- Parameters:
environmentName- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentRoleArn
The Amazon Resource Name (ARN) of the IAM role for the environment.
- Parameters:
environmentRoleArn- The Amazon Resource Name (ARN) of the IAM role for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentRolePermissionMode
CreateEnvironmentRequest.Builder environmentRolePermissionMode(String environmentRolePermissionMode) The permission mode for the environment's IAM role.
- Parameters:
environmentRolePermissionMode- The permission mode for the environment's IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentRolePermissionMode
CreateEnvironmentRequest.Builder environmentRolePermissionMode(EnvironmentRolePermissionMode environmentRolePermissionMode) The permission mode for the environment's IAM role.
- Parameters:
environmentRolePermissionMode- The permission mode for the environment's IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceConfig
The source configuration for the environment.
- Parameters:
sourceConfig- The source configuration for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
default CreateEnvironmentRequest.Builder sourceConfig(Consumer<EnvironmentSourceConfigRequest.Builder> sourceConfig) The source configuration for the environment.
This is a convenience method that creates an instance of theEnvironmentSourceConfigRequest.Builderavoiding the need to create one manually viaEnvironmentSourceConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfig(EnvironmentSourceConfigRequest).- Parameters:
sourceConfig- a consumer that will call methods onEnvironmentSourceConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gradualRolloutConfig
The gradual rollout settings for the environment.
- Parameters:
gradualRolloutConfig- The gradual rollout settings for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gradualRolloutConfig
default CreateEnvironmentRequest.Builder gradualRolloutConfig(Consumer<GradualRolloutConfig.Builder> gradualRolloutConfig) The gradual rollout settings for the environment.
This is a convenience method that creates an instance of theGradualRolloutConfig.Builderavoiding the need to create one manually viaGradualRolloutConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togradualRolloutConfig(GradualRolloutConfig).- Parameters:
gradualRolloutConfig- a consumer that will call methods onGradualRolloutConfig.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.
-
web
The web hosting settings for the environment.
- Parameters:
web- The web hosting settings for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
web
The web hosting settings for the environment.
This is a convenience method that creates an instance of theEnvironmentWebConfigRequest.Builderavoiding the need to create one manually viaEnvironmentWebConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweb(EnvironmentWebConfigRequest).- Parameters:
web- a consumer that will call methods onEnvironmentWebConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkConfig
The VPC network configuration for the environment.
- Parameters:
networkConfig- The VPC network configuration for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfig
default CreateEnvironmentRequest.Builder networkConfig(Consumer<EnvironmentNetworkConfigRequest.Builder> networkConfig) The VPC network configuration for the environment.
This is a convenience method that creates an instance of theEnvironmentNetworkConfigRequest.Builderavoiding the need to create one manually viaEnvironmentNetworkConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfig(EnvironmentNetworkConfigRequest).- Parameters:
networkConfig- a consumer that will call methods onEnvironmentNetworkConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backend
The backend settings for the environment. You can specify this only when the app has a backend. If you omit this, the default authentication settings and the plan's default database settings are used.
- Parameters:
backend- The backend settings for the environment. You can specify this only when the app has a backend. If you omit this, the default authentication settings and the plan's default database settings are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
default CreateEnvironmentRequest.Builder backend(Consumer<EnvironmentBackendConfigRequest.Builder> backend) The backend settings for the environment. You can specify this only when the app has a backend. If you omit this, the default authentication settings and the plan's default database settings are used.
This is a convenience method that creates an instance of theEnvironmentBackendConfigRequest.Builderavoiding the need to create one manually viaEnvironmentBackendConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackend(EnvironmentBackendConfigRequest).- Parameters:
backend- a consumer that will call methods onEnvironmentBackendConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateEnvironmentRequest.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
CreateEnvironmentRequest.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.
-