Class UpdateServiceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.apprunner.model.AppRunnerRequest
-
- software.amazon.awssdk.services.apprunner.model.UpdateServiceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateServiceRequest extends AppRunnerRequest implements ToCopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateServiceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringautoScalingConfigurationArn()The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.static UpdateServiceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HealthCheckConfigurationhealthCheckConfiguration()The settings for the health check that App Runner performs to monitor the health of the App Runner service.InstanceConfigurationinstanceConfiguration()The runtime configuration to apply to instances (scaling units) of your service.NetworkConfigurationnetworkConfiguration()Configuration settings related to network traffic of the web application that the App Runner service runs.ServiceObservabilityConfigurationobservabilityConfiguration()The observability configuration of your service.List<SdkField<?>>sdkFields()static Class<? extends UpdateServiceRequest.Builder>serializableBuilderClass()StringserviceArn()The Amazon Resource Name (ARN) of the App Runner service that you want to update.SourceConfigurationsourceConfiguration()The source configuration to apply to the App Runner service.UpdateServiceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serviceArn
public final String serviceArn()
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
- Returns:
- The Amazon Resource Name (ARN) of the App Runner service that you want to update.
-
sourceConfiguration
public final 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.- Returns:
- 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.
-
instanceConfiguration
public final InstanceConfiguration instanceConfiguration()
The runtime configuration to apply to instances (scaling units) of your service.
- Returns:
- The runtime configuration to apply to instances (scaling units) of your service.
-
autoScalingConfigurationArn
public final 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.
- Returns:
- The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.
-
healthCheckConfiguration
public final HealthCheckConfiguration healthCheckConfiguration()
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
- Returns:
- The settings for the health check that App Runner performs to monitor the health of the App Runner service.
-
networkConfiguration
public final NetworkConfiguration networkConfiguration()
Configuration settings related to network traffic of the web application that the App Runner service runs.
- Returns:
- Configuration settings related to network traffic of the web application that the App Runner service runs.
-
observabilityConfiguration
public final ServiceObservabilityConfiguration observabilityConfiguration()
The observability configuration of your service.
- Returns:
- The observability configuration of your service.
-
toBuilder
public UpdateServiceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>- Specified by:
toBuilderin classAppRunnerRequest
-
builder
public static UpdateServiceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateServiceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-