@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServiceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateServiceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateServiceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingConfigurationArn()
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service.
|
HealthCheckConfiguration |
getHealthCheckConfiguration()
The settings for the health check that AWS App Runner performs to monitor the health of your service.
|
InstanceConfiguration |
getInstanceConfiguration()
The runtime configuration to apply to instances (scaling units) of the App Runner service.
|
String |
getServiceArn()
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
|
SourceConfiguration |
getSourceConfiguration()
The source configuration to apply to the App Runner service.
|
int |
hashCode() |
void |
setAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service.
|
void |
setHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that AWS App Runner performs to monitor the health of your service.
|
void |
setInstanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration to apply to instances (scaling units) of the App Runner service.
|
void |
setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
|
void |
setSourceConfiguration(SourceConfiguration sourceConfiguration)
The source configuration to apply to the App Runner service.
|
String |
toString()
Returns a string representation of this object.
|
UpdateServiceRequest |
withAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service.
|
UpdateServiceRequest |
withHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that AWS App Runner performs to monitor the health of your service.
|
UpdateServiceRequest |
withInstanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration to apply to instances (scaling units) of the App Runner service.
|
UpdateServiceRequest |
withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
|
UpdateServiceRequest |
withSourceConfiguration(SourceConfiguration sourceConfiguration)
The source configuration to apply to the App Runner service.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
serviceArn
- The Amazon Resource Name (ARN) of the App Runner service that you want to update.public String getServiceArn()
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
public UpdateServiceRequest withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
serviceArn
- The Amazon Resource Name (ARN) of the App Runner service that you want to update.public void setSourceConfiguration(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
SourceConfiguration
that you originally included when you created the service. Specifically, you can
include either CodeRepository
or ImageRepository
. To update the source configuration,
set the values to members of the structure that you include.
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 SourceConfiguration
that you originally included when you created the service.
Specifically, you can include either CodeRepository
or ImageRepository
. To
update the source configuration, set the values to members of the structure that you include.
public SourceConfiguration getSourceConfiguration()
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
SourceConfiguration
that you originally included when you created the service. Specifically, you can
include either CodeRepository
or ImageRepository
. To update the source configuration,
set the values to members of the structure that you include.
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 SourceConfiguration
that you originally included when you created the
service. Specifically, you can include either CodeRepository
or ImageRepository
. To update the source configuration, set the values to members of the structure that you include.
public UpdateServiceRequest withSourceConfiguration(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
SourceConfiguration
that you originally included when you created the service. Specifically, you can
include either CodeRepository
or ImageRepository
. To update the source configuration,
set the values to members of the structure that you include.
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 SourceConfiguration
that you originally included when you created the service.
Specifically, you can include either CodeRepository
or ImageRepository
. To
update the source configuration, set the values to members of the structure that you include.
public void setInstanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration to apply to instances (scaling units) of the App Runner service.
instanceConfiguration
- The runtime configuration to apply to instances (scaling units) of the App Runner service.public InstanceConfiguration getInstanceConfiguration()
The runtime configuration to apply to instances (scaling units) of the App Runner service.
public UpdateServiceRequest withInstanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration to apply to instances (scaling units) of the App Runner service.
instanceConfiguration
- The runtime configuration to apply to instances (scaling units) of the App Runner service.public void setAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service.
autoScalingConfigurationArn
- The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service.public String getAutoScalingConfigurationArn()
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service.
public UpdateServiceRequest withAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service.
autoScalingConfigurationArn
- The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service.public void setHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that AWS App Runner performs to monitor the health of your service.
healthCheckConfiguration
- The settings for the health check that AWS App Runner performs to monitor the health of your service.public HealthCheckConfiguration getHealthCheckConfiguration()
The settings for the health check that AWS App Runner performs to monitor the health of your service.
public UpdateServiceRequest withHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that AWS App Runner performs to monitor the health of your service.
healthCheckConfiguration
- The settings for the health check that AWS App Runner performs to monitor the health of your service.public String toString()
toString
in class Object
Object.toString()
public UpdateServiceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()