public static interface CreateServiceRequest.Builder extends AppRunnerRequest.Builder, SdkPojo, CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateServiceRequest.Builder |
autoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to
associate with your service.
|
default CreateServiceRequest.Builder |
encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> 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.Builder |
encryptionConfiguration(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.
|
default CreateServiceRequest.Builder |
healthCheckConfiguration(Consumer<HealthCheckConfiguration.Builder> healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
|
CreateServiceRequest.Builder |
healthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
|
default CreateServiceRequest.Builder |
instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
|
CreateServiceRequest.Builder |
instanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
|
default CreateServiceRequest.Builder |
networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
|
CreateServiceRequest.Builder |
networkConfiguration(NetworkConfiguration networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
|
default CreateServiceRequest.Builder |
observabilityConfiguration(Consumer<ServiceObservabilityConfiguration.Builder> observabilityConfiguration)
The observability configuration of your service.
|
CreateServiceRequest.Builder |
observabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)
The observability configuration of your service.
|
CreateServiceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateServiceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateServiceRequest.Builder |
serviceName(String serviceName)
A name for the App Runner service.
|
default CreateServiceRequest.Builder |
sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration)
The source to deploy to the App Runner service.
|
CreateServiceRequest.Builder |
sourceConfiguration(SourceConfiguration sourceConfiguration)
The source to deploy to the App Runner service.
|
CreateServiceRequest.Builder |
tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the App Runner service resource.
|
CreateServiceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the App Runner service resource.
|
CreateServiceRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with the App Runner service resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateServiceRequest.Builder serviceName(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.CreateServiceRequest.Builder sourceConfiguration(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.default CreateServiceRequest.Builder sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration)
The source to deploy to the App Runner service. It can be a code or an image repository.
This is a convenience method that creates an instance of theSourceConfiguration.Builder avoiding the
need to create one manually via SourceConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sourceConfiguration(SourceConfiguration).sourceConfiguration - a consumer that will call methods on SourceConfiguration.BuildersourceConfiguration(SourceConfiguration)CreateServiceRequest.Builder instanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
instanceConfiguration - The runtime configuration of instances (scaling units) of your service.default CreateServiceRequest.Builder instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
The runtime configuration of instances (scaling units) of your service.
This is a convenience method that creates an instance of theInstanceConfiguration.Builder avoiding
the need to create one manually via InstanceConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to instanceConfiguration(InstanceConfiguration).instanceConfiguration - a consumer that will call methods on InstanceConfiguration.BuilderinstanceConfiguration(InstanceConfiguration)CreateServiceRequest.Builder tags(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.CreateServiceRequest.Builder tags(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.CreateServiceRequest.Builder tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.
This is a convenience method that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateServiceRequest.Builder encryptionConfiguration(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.default CreateServiceRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> 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.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builder avoiding
the need to create one manually via EncryptionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to encryptionConfiguration(EncryptionConfiguration).encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.BuilderencryptionConfiguration(EncryptionConfiguration)CreateServiceRequest.Builder healthCheckConfiguration(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.default CreateServiceRequest.Builder healthCheckConfiguration(Consumer<HealthCheckConfiguration.Builder> healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of the App Runner service.
This is a convenience method that creates an instance of theHealthCheckConfiguration.Builder
avoiding the need to create one manually via HealthCheckConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to healthCheckConfiguration(HealthCheckConfiguration).healthCheckConfiguration - a consumer that will call methods on HealthCheckConfiguration.BuilderhealthCheckConfiguration(HealthCheckConfiguration)CreateServiceRequest.Builder autoScalingConfigurationArn(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
CreateServiceRequest.Builder networkConfiguration(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.default CreateServiceRequest.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
Configuration settings related to network traffic of the web application that the App Runner service runs.
This is a convenience method that creates an instance of theNetworkConfiguration.Builder avoiding
the need to create one manually via NetworkConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to networkConfiguration(NetworkConfiguration).networkConfiguration - a consumer that will call methods on NetworkConfiguration.BuildernetworkConfiguration(NetworkConfiguration)CreateServiceRequest.Builder observabilityConfiguration(ServiceObservabilityConfiguration observabilityConfiguration)
The observability configuration of your service.
observabilityConfiguration - The observability configuration of your service.default CreateServiceRequest.Builder observabilityConfiguration(Consumer<ServiceObservabilityConfiguration.Builder> observabilityConfiguration)
The observability configuration of your service.
This is a convenience method that creates an instance of theServiceObservabilityConfiguration.Builder avoiding the need to create one manually via
ServiceObservabilityConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
observabilityConfiguration(ServiceObservabilityConfiguration).observabilityConfiguration - a consumer that will call methods on ServiceObservabilityConfiguration.BuilderobservabilityConfiguration(ServiceObservabilityConfiguration)CreateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.