@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateServiceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateServiceRequest |
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.
|
EncryptionConfiguration |
getEncryptionConfiguration()
An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it
maintains and your service logs.
|
HealthCheckConfiguration |
getHealthCheckConfiguration()
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
|
InstanceConfiguration |
getInstanceConfiguration()
The runtime configuration of instances (scaling units) of your service.
|
NetworkConfiguration |
getNetworkConfiguration()
Configuration settings related to network traffic of the web application that the App Runner service runs.
|
ServiceObservabilityConfiguration |
getObservabilityConfiguration()
The observability configuration of your service.
|
String |
getServiceName()
A name for the App Runner service.
|
SourceConfiguration |
getSourceConfiguration()
The source to deploy to the App Runner service.
|
List<Tag> |
getTags()
An optional list of metadata items that you can associate with the App Runner service resource.
|
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 |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it
maintains and your service logs.
|
void |
setHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
|
void |
setInstanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
|
void |
setObservabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)
The observability configuration of your service.
|
void |
setServiceName(String serviceName)
A name for the App Runner service.
|
void |
setSourceConfiguration(SourceConfiguration sourceConfiguration)
The source to deploy to the App Runner service.
|
void |
setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the App Runner service resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceRequest |
withAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service.
|
CreateServiceRequest |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it
maintains and your service logs.
|
CreateServiceRequest |
withHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
|
CreateServiceRequest |
withInstanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
|
CreateServiceRequest |
withNetworkConfiguration(NetworkConfiguration networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
|
CreateServiceRequest |
withObservabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)
The observability configuration of your service.
|
CreateServiceRequest |
withServiceName(String serviceName)
A name for the App Runner service.
|
CreateServiceRequest |
withSourceConfiguration(SourceConfiguration sourceConfiguration)
The source to deploy to the App Runner service.
|
CreateServiceRequest |
withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the App Runner service resource.
|
CreateServiceRequest |
withTags(Tag... tags)
An optional list of metadata items that you can associate with the App Runner service resource.
|
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 setServiceName(String serviceName)
A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
serviceName
- A name for the App Runner service. It must be unique across all the running App Runner services in your
Amazon Web Services account in the Amazon Web Services Region.public String getServiceName()
A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
public CreateServiceRequest withServiceName(String serviceName)
A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
serviceName
- A name for the App Runner service. It must be unique across all the running App Runner services in your
Amazon Web Services account in the Amazon Web Services Region.public void setSourceConfiguration(SourceConfiguration sourceConfiguration)
The source to deploy to the App Runner service. It can be a code or an image repository.
sourceConfiguration
- The source to deploy to the App Runner service. It can be a code or an image repository.public SourceConfiguration getSourceConfiguration()
The source to deploy to the App Runner service. It can be a code or an image repository.
public CreateServiceRequest withSourceConfiguration(SourceConfiguration sourceConfiguration)
The source to deploy to the App Runner service. It can be a code or an image repository.
sourceConfiguration
- The source to deploy to the App Runner service. It can be a code or an image repository.public void setInstanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
instanceConfiguration
- The runtime configuration of instances (scaling units) of your service.public InstanceConfiguration getInstanceConfiguration()
The runtime configuration of instances (scaling units) of your service.
public CreateServiceRequest withInstanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
instanceConfiguration
- The runtime configuration of instances (scaling units) of your service.public List<Tag> getTags()
An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.
public void setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.
tags
- An optional list of metadata items that you can associate with the App Runner service resource. A tag is a
key-value pair.public CreateServiceRequest withTags(Tag... tags)
An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An optional list of metadata items that you can associate with the App Runner service resource. A tag is a
key-value pair.public CreateServiceRequest withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.
tags
- An optional list of metadata items that you can associate with the App Runner service resource. A tag is a
key-value pair.public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.
encryptionConfiguration
- An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that
it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.public EncryptionConfiguration getEncryptionConfiguration()
An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.
public CreateServiceRequest withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.
encryptionConfiguration
- An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that
it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.public void setHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
healthCheckConfiguration
- The settings for the health check that App Runner performs to monitor the health of the App Runner
service.public HealthCheckConfiguration getHealthCheckConfiguration()
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
public CreateServiceRequest withHealthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
healthCheckConfiguration
- The settings for the health check that App Runner performs to monitor the health 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. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
autoScalingConfigurationArn
- The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service. If not provided, App Runner associates the latest revision of a default auto
scaling configuration.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
public String getAutoScalingConfigurationArn()
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
public CreateServiceRequest withAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
autoScalingConfigurationArn
- The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service. If not provided, App Runner associates the latest revision of a default auto
scaling configuration.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
networkConfiguration
- Configuration settings related to network traffic of the web application that the App Runner service runs.public NetworkConfiguration getNetworkConfiguration()
Configuration settings related to network traffic of the web application that the App Runner service runs.
public CreateServiceRequest withNetworkConfiguration(NetworkConfiguration networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
networkConfiguration
- Configuration settings related to network traffic of the web application that the App Runner service runs.public void setObservabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)
The observability configuration of your service.
observabilityConfiguration
- The observability configuration of your service.public ServiceObservabilityConfiguration getObservabilityConfiguration()
The observability configuration of your service.
public CreateServiceRequest withObservabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)
The observability configuration of your service.
observabilityConfiguration
- The observability configuration of your service.public String toString()
toString
in class Object
Object.toString()
public CreateServiceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()