Interface UpdateServiceRequest.Builder
- All Superinterfaces:
AppRunnerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateServiceRequest.Builder,,UpdateServiceRequest> SdkBuilder<UpdateServiceRequest.Builder,,UpdateServiceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateServiceRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingConfigurationArn(String autoScalingConfigurationArn) The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.default UpdateServiceRequest.BuilderhealthCheckConfiguration(Consumer<HealthCheckConfiguration.Builder> healthCheckConfiguration) The settings for the health check that App Runner performs to monitor the health of the App Runner service.healthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration) The settings for the health check that App Runner performs to monitor the health of the App Runner service.default UpdateServiceRequest.BuilderinstanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration) The runtime configuration to apply to instances (scaling units) of your service.instanceConfiguration(InstanceConfiguration instanceConfiguration) The runtime configuration to apply to instances (scaling units) of your service.default UpdateServiceRequest.BuildernetworkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Configuration settings related to network traffic of the web application that the App Runner service runs.networkConfiguration(NetworkConfiguration networkConfiguration) Configuration settings related to network traffic of the web application that the App Runner service runs.default UpdateServiceRequest.BuilderobservabilityConfiguration(Consumer<ServiceObservabilityConfiguration.Builder> observabilityConfiguration) The observability configuration of your service.observabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration) The observability configuration of your service.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceArn(String serviceArn) The Amazon Resource Name (ARN) of the App Runner service that you want to update.default UpdateServiceRequest.BuildersourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration) The source configuration to apply to the App Runner service.sourceConfiguration(SourceConfiguration sourceConfiguration) The source configuration to apply to the App Runner service.Methods inherited from interface software.amazon.awssdk.services.apprunner.model.AppRunnerRequest.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, sdkFields
-
Method Details
-
serviceArn
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
- Parameters:
serviceArn- The Amazon Resource Name (ARN) of the App Runner service that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfiguration
The source configuration to apply to the App Runner service.
You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of
SourceConfigurationthat you originally included when you created the service. Specifically, you can include eitherCodeRepositoryorImageRepository. To update the source configuration, set the values to members of the structure that you include.- Parameters:
sourceConfiguration- The source configuration to apply to the App Runner service.You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of
SourceConfigurationthat you originally included when you created the service. Specifically, you can include eitherCodeRepositoryorImageRepository. To update the source configuration, set the values to members of the structure that you include.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfiguration
default UpdateServiceRequest.Builder sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration) The source configuration to apply to the App Runner service.
You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of
This is a convenience method that creates an instance of theSourceConfigurationthat you originally included when you created the service. Specifically, you can include eitherCodeRepositoryorImageRepository. To update the source configuration, set the values to members of the structure that you include.SourceConfiguration.Builderavoiding the need to create one manually viaSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfiguration(SourceConfiguration).- Parameters:
sourceConfiguration- a consumer that will call methods onSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceConfiguration
The runtime configuration to apply to instances (scaling units) of your service.
- Parameters:
instanceConfiguration- The runtime configuration to apply to instances (scaling units) of your service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceConfiguration
default UpdateServiceRequest.Builder instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration) The runtime configuration to apply to instances (scaling units) of your service.
This is a convenience method that creates an instance of theInstanceConfiguration.Builderavoiding the need to create one manually viaInstanceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceConfiguration(InstanceConfiguration).- Parameters:
instanceConfiguration- a consumer that will call methods onInstanceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoScalingConfigurationArn
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.
- Parameters:
autoScalingConfigurationArn- The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckConfiguration
UpdateServiceRequest.Builder healthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration) The settings for the health check that App Runner performs to monitor the health of the App Runner service.
- Parameters:
healthCheckConfiguration- The settings for the health check that App Runner performs to monitor the health of the App Runner service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckConfiguration
default UpdateServiceRequest.Builder healthCheckConfiguration(Consumer<HealthCheckConfiguration.Builder> healthCheckConfiguration) The settings for the health check that App Runner performs to monitor the health of the App Runner service.
This is a convenience method that creates an instance of theHealthCheckConfiguration.Builderavoiding the need to create one manually viaHealthCheckConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheckConfiguration(HealthCheckConfiguration).- Parameters:
healthCheckConfiguration- a consumer that will call methods onHealthCheckConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkConfiguration
Configuration settings related to network traffic of the web application that the App Runner service runs.
- Parameters:
networkConfiguration- Configuration settings related to network traffic of the web application that the App Runner service runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default UpdateServiceRequest.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Configuration settings related to network traffic of the web application that the App Runner service runs.
This is a convenience method that creates an instance of theNetworkConfiguration.Builderavoiding the need to create one manually viaNetworkConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(NetworkConfiguration).- Parameters:
networkConfiguration- a consumer that will call methods onNetworkConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
observabilityConfiguration
UpdateServiceRequest.Builder observabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration) The observability configuration of your service.
- Parameters:
observabilityConfiguration- The observability configuration of your service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observabilityConfiguration
default UpdateServiceRequest.Builder observabilityConfiguration(Consumer<ServiceObservabilityConfiguration.Builder> observabilityConfiguration) The observability configuration of your service.
This is a convenience method that creates an instance of theServiceObservabilityConfiguration.Builderavoiding the need to create one manually viaServiceObservabilityConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobservabilityConfiguration(ServiceObservabilityConfiguration).- Parameters:
observabilityConfiguration- a consumer that will call methods onServiceObservabilityConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateServiceRequest.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
UpdateServiceRequest.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.
-