Interface UpdateEnvironmentRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEnvironmentRequest.Builder,,UpdateEnvironmentRequest> SdkBuilder<UpdateEnvironmentRequest.Builder,,UpdateEnvironmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEnvironmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.default UpdateEnvironmentRequest.BuilderThe backend settings for the environment.backend(EnvironmentUpdateBackendRequest 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 UpdateEnvironmentRequest.BuildergradualRolloutConfig(Consumer<GradualRolloutConfig.Builder> gradualRolloutConfig) The gradual rollout settings.gradualRolloutConfig(GradualRolloutConfig gradualRolloutConfig) The gradual rollout settings.default UpdateEnvironmentRequest.BuildernetworkConfig(Consumer<EnvironmentUpdateNetworkConfigRequest.Builder> networkConfig) The VPC network configuration for the environment.networkConfig(EnvironmentUpdateNetworkConfigRequest 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 UpdateEnvironmentRequest.BuildersourceConfig(Consumer<EnvironmentUpdateSourceConfigRequest.Builder> sourceConfig) The source configuration for the environment.sourceConfig(EnvironmentUpdateSourceConfigRequest sourceConfig) The source configuration for the environment.wafLogConfigs(Collection<WafLogConfigRequest> wafLogConfigs) A list of the environment's AWS WAF log configurations.wafLogConfigs(Consumer<WafLogConfigRequest.Builder>... wafLogConfigs) A list of the environment's AWS WAF log configurations.wafLogConfigs(WafLogConfigRequest... wafLogConfigs) A list of the environment's AWS WAF log configurations.default UpdateEnvironmentRequest.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
UpdateEnvironmentRequest.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
UpdateEnvironmentRequest.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 UpdateEnvironmentRequest.Builder sourceConfig(Consumer<EnvironmentUpdateSourceConfigRequest.Builder> sourceConfig) The source configuration for the environment.
This is a convenience method that creates an instance of theEnvironmentUpdateSourceConfigRequest.Builderavoiding the need to create one manually viaEnvironmentUpdateSourceConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfig(EnvironmentUpdateSourceConfigRequest).- Parameters:
sourceConfig- a consumer that will call methods onEnvironmentUpdateSourceConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
wafLogConfigs
A list of the environment's AWS WAF log configurations.
- Parameters:
wafLogConfigs- A list of the environment's AWS WAF log configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wafLogConfigs
A list of the environment's AWS WAF log configurations.
- Parameters:
wafLogConfigs- A list of the environment's AWS WAF log configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wafLogConfigs
UpdateEnvironmentRequest.Builder wafLogConfigs(Consumer<WafLogConfigRequest.Builder>... wafLogConfigs) A list of the environment's AWS WAF log configurations.
This is a convenience method that creates an instance of theWafLogConfigRequest.Builderavoiding the need to create one manually viaWafLogConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towafLogConfigs(List<WafLogConfigRequest>).- Parameters:
wafLogConfigs- a consumer that will call methods onWafLogConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gradualRolloutConfig
The gradual rollout settings.
- Parameters:
gradualRolloutConfig- The gradual rollout settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gradualRolloutConfig
default UpdateEnvironmentRequest.Builder gradualRolloutConfig(Consumer<GradualRolloutConfig.Builder> gradualRolloutConfig) The gradual rollout settings.
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:
-
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
default UpdateEnvironmentRequest.Builder web(Consumer<EnvironmentUpdateWebConfigRequest.Builder> web) The web hosting settings for the environment.
This is a convenience method that creates an instance of theEnvironmentUpdateWebConfigRequest.Builderavoiding the need to create one manually viaEnvironmentUpdateWebConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweb(EnvironmentUpdateWebConfigRequest).- Parameters:
web- a consumer that will call methods onEnvironmentUpdateWebConfigRequest.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 Auth and Database only when the app has a backend. An app without a backend can specify this only to turn off backend log delivery. If you omit a member, that setting is unchanged.
- Parameters:
backend- The backend settings for the environment. You can specify Auth and Database only when the app has a backend. An app without a backend can specify this only to turn off backend log delivery. If you omit a member, that setting is unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
default UpdateEnvironmentRequest.Builder backend(Consumer<EnvironmentUpdateBackendRequest.Builder> backend) The backend settings for the environment. You can specify Auth and Database only when the app has a backend. An app without a backend can specify this only to turn off backend log delivery. If you omit a member, that setting is unchanged.
This is a convenience method that creates an instance of theEnvironmentUpdateBackendRequest.Builderavoiding the need to create one manually viaEnvironmentUpdateBackendRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackend(EnvironmentUpdateBackendRequest).- Parameters:
backend- a consumer that will call methods onEnvironmentUpdateBackendRequest.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 UpdateEnvironmentRequest.Builder networkConfig(Consumer<EnvironmentUpdateNetworkConfigRequest.Builder> networkConfig) The VPC network configuration for the environment.
This is a convenience method that creates an instance of theEnvironmentUpdateNetworkConfigRequest.Builderavoiding the need to create one manually viaEnvironmentUpdateNetworkConfigRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfig(EnvironmentUpdateNetworkConfigRequest).- Parameters:
networkConfig- a consumer that will call methods onEnvironmentUpdateNetworkConfigRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEnvironmentRequest.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
UpdateEnvironmentRequest.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.
-