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 your service.
|
CreateServiceRequest.Builder |
healthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of your service.
|
default CreateServiceRequest.Builder |
instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
The runtime configuration of instances (scaling units) of the App Runner service.
|
CreateServiceRequest.Builder |
instanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of the App Runner service.
|
CreateServiceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateServiceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateServiceRequest.Builder |
serviceName(String serviceName)
A name for the new 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 your service resource.
|
CreateServiceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with your service resource.
|
CreateServiceRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with your service resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateServiceRequest.Builder serviceName(String serviceName)
A name for the new 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 new 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 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 the App Runner service.
instanceConfiguration - The runtime configuration of instances (scaling units) of the App Runner service.default CreateServiceRequest.Builder instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
The runtime configuration of instances (scaling units) of the App Runner service.
This is a convenience 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 your service resource. A tag is a key-value pair.
tags - An optional list of metadata items that you can associate with your 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 your service resource. A tag is a key-value pair.
tags - An optional list of metadata items that you can associate with your 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 your service resource. A tag is a key-value pair.
This is a convenience 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 CMK.
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
CMK.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 CMK.
This is a convenience 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 your service.
healthCheckConfiguration - The settings for the health check that App Runner performs to monitor the health of your service.default CreateServiceRequest.Builder healthCheckConfiguration(Consumer<HealthCheckConfiguration.Builder> healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of your service.
This is a convenience 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.
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.CreateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.