@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()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
HealthCheckConfiguration |
healthCheckConfiguration()
The settings for the health check that AWS App Runner performs to monitor the health of your service.
|
InstanceConfiguration |
instanceConfiguration()
The runtime configuration of instances (scaling units) of the App Runner service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateServiceRequest.Builder> |
serializableBuilderClass() |
String |
serviceName()
A name for the new 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 your 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 new service. It must be unique across all the running App Runner services in your AWS account in the AWS 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 the App Runner service.
public final boolean hasTags()
public final List<Tag> tags()
An optional list of metadata items that you can associate with your service resource. A tag is a key-value pair.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
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 AWS managed CMK.
public final HealthCheckConfiguration healthCheckConfiguration()
The settings for the health check that AWS App Runner performs to monitor the health of your 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.
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 © 2021. All rights reserved.