Interface UpdateServiceRequest.Builder
-
- All Superinterfaces:
AppRunnerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>,SdkBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateServiceRequest
public static interface UpdateServiceRequest.Builder extends AppRunnerRequest.Builder, SdkPojo, CopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateServiceRequest.BuilderautoScalingConfigurationArn(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.UpdateServiceRequest.BuilderhealthCheckConfiguration(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.UpdateServiceRequest.BuilderinstanceConfiguration(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.UpdateServiceRequest.BuildernetworkConfiguration(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.UpdateServiceRequest.BuilderobservabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)The observability configuration of your service.UpdateServiceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateServiceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateServiceRequest.BuilderserviceArn(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.UpdateServiceRequest.BuildersourceConfiguration(SourceConfiguration sourceConfiguration)The source configuration to apply to the App Runner service.-
Methods inherited from interface software.amazon.awssdk.services.apprunner.model.AppRunnerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
serviceArn
UpdateServiceRequest.Builder serviceArn(String 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
UpdateServiceRequest.Builder sourceConfiguration(SourceConfiguration 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:
sourceConfiguration(SourceConfiguration)
-
instanceConfiguration
UpdateServiceRequest.Builder instanceConfiguration(InstanceConfiguration 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:
instanceConfiguration(InstanceConfiguration)
-
autoScalingConfigurationArn
UpdateServiceRequest.Builder autoScalingConfigurationArn(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.
- 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:
healthCheckConfiguration(HealthCheckConfiguration)
-
networkConfiguration
UpdateServiceRequest.Builder networkConfiguration(NetworkConfiguration 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:
networkConfiguration(NetworkConfiguration)
-
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:
observabilityConfiguration(ServiceObservabilityConfiguration)
-
overrideConfiguration
UpdateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-