@Generated(value="software.amazon.awssdk:codegen") public final class CreateServiceRequest extends AppRunnerRequest implements ToCopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateServiceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
autoScalingConfigurationArn()
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service.
|
static CreateServiceRequest.Builder |
builder() |
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.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
HealthCheckConfiguration |
healthCheckConfiguration()
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
|
InstanceConfiguration |
instanceConfiguration()
The runtime configuration of instances (scaling units) of your service.
|
NetworkConfiguration |
networkConfiguration()
Configuration settings related to network traffic of the web application that the App Runner service runs.
|
ServiceObservabilityConfiguration |
observabilityConfiguration()
The observability configuration of your service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateServiceRequest.Builder> |
serializableBuilderClass() |
String |
serviceName()
A name for the App Runner service.
|
SourceConfiguration |
sourceConfiguration()
The source to deploy to the App Runner service.
|
List<Tag> |
tags()
An optional list of metadata items that you can associate with the App Runner service resource.
|
CreateServiceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final SourceConfiguration sourceConfiguration()
The source to deploy to the App Runner service. It can be a code or an image repository.
public final InstanceConfiguration instanceConfiguration()
The runtime configuration of instances (scaling units) of your service.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final 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.
public final HealthCheckConfiguration healthCheckConfiguration()
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
public final 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
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 final NetworkConfiguration networkConfiguration()
Configuration settings related to network traffic of the web application that the App Runner service runs.
public final ServiceObservabilityConfiguration observabilityConfiguration()
The observability configuration of your service.
public CreateServiceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>toBuilder in class AppRunnerRequestpublic static CreateServiceRequest.Builder builder()
public static Class<? extends CreateServiceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.