public static interface Service.Builder extends SdkPojo, CopyableBuilder<Service.Builder,Service>
| Modifier and Type | Method and Description |
|---|---|
Service.Builder |
autoScalingConfigurationSummary(AutoScalingConfigurationSummary autoScalingConfigurationSummary)
Summary information for the App Runner automatic scaling configuration resource that's associated with this
service.
|
default Service.Builder |
autoScalingConfigurationSummary(Consumer<AutoScalingConfigurationSummary.Builder> autoScalingConfigurationSummary)
Summary information for the App Runner automatic scaling configuration resource that's associated with this
service.
|
Service.Builder |
createdAt(Instant createdAt)
The time when the App Runner service was created.
|
Service.Builder |
deletedAt(Instant deletedAt)
The time when the App Runner service was deleted.
|
default Service.Builder |
encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository
that App Runner maintains for the service.
|
Service.Builder |
encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository
that App Runner maintains for the service.
|
default Service.Builder |
healthCheckConfiguration(Consumer<HealthCheckConfiguration.Builder> healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of this service.
|
Service.Builder |
healthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of this service.
|
default Service.Builder |
instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
The runtime configuration of instances (scaling units) of this service.
|
Service.Builder |
instanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of this service.
|
Service.Builder |
serviceArn(String serviceArn)
The Amazon Resource Name (ARN) of this service.
|
Service.Builder |
serviceId(String serviceId)
An ID that App Runner generated for this service.
|
Service.Builder |
serviceName(String serviceName)
The customer-provided service name.
|
Service.Builder |
serviceUrl(String serviceUrl)
A subdomain URL that App Runner generated for this service.
|
default Service.Builder |
sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration)
The source deployed to the App Runner service.
|
Service.Builder |
sourceConfiguration(SourceConfiguration sourceConfiguration)
The source deployed to the App Runner service.
|
Service.Builder |
status(ServiceStatus status)
The current state of the App Runner service.
|
Service.Builder |
status(String status)
The current state of the App Runner service.
|
Service.Builder |
updatedAt(Instant updatedAt)
The time when the App Runner service was last updated at.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildService.Builder serviceName(String serviceName)
The customer-provided service name.
serviceName - The customer-provided service name.Service.Builder serviceId(String serviceId)
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
serviceId - An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.Service.Builder serviceArn(String serviceArn)
The Amazon Resource Name (ARN) of this service.
serviceArn - The Amazon Resource Name (ARN) of this service.Service.Builder serviceUrl(String serviceUrl)
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
serviceUrl - A subdomain URL that App Runner generated for this service. You can use this URL to access your
service web application.Service.Builder createdAt(Instant createdAt)
The time when the App Runner service was created. It's in the Unix time stamp format.
createdAt - The time when the App Runner service was created. It's in the Unix time stamp format.Service.Builder updatedAt(Instant updatedAt)
The time when the App Runner service was last updated at. It's in the Unix time stamp format.
updatedAt - The time when the App Runner service was last updated at. It's in the Unix time stamp format.Service.Builder deletedAt(Instant deletedAt)
The time when the App Runner service was deleted. It's in the Unix time stamp format.
deletedAt - The time when the App Runner service was deleted. It's in the Unix time stamp format.Service.Builder status(String status)
The current state of the App Runner service. These particular values mean the following.
CREATE_FAILED – The service failed to create. To troubleshoot this failure, read the failure
events and logs, change any parameters that need to be fixed, and retry the call to create the service.
The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the
service deletion call to ensure that all related resources are removed.
status - The current state of the App Runner service. These particular values mean the following.
CREATE_FAILED – The service failed to create. To troubleshoot this failure, read the
failure events and logs, change any parameters that need to be fixed, and retry the call to create the
service.
The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry
the service deletion call to ensure that all related resources are removed.
ServiceStatus,
ServiceStatusService.Builder status(ServiceStatus status)
The current state of the App Runner service. These particular values mean the following.
CREATE_FAILED – The service failed to create. To troubleshoot this failure, read the failure
events and logs, change any parameters that need to be fixed, and retry the call to create the service.
The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the
service deletion call to ensure that all related resources are removed.
status - The current state of the App Runner service. These particular values mean the following.
CREATE_FAILED – The service failed to create. To troubleshoot this failure, read the
failure events and logs, change any parameters that need to be fixed, and retry the call to create the
service.
The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry
the service deletion call to ensure that all related resources are removed.
ServiceStatus,
ServiceStatusService.Builder sourceConfiguration(SourceConfiguration sourceConfiguration)
The source deployed to the App Runner service. It can be a code or an image repository.
sourceConfiguration - The source deployed to the App Runner service. It can be a code or an image repository.default Service.Builder sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration)
The source deployed 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)Service.Builder instanceConfiguration(InstanceConfiguration instanceConfiguration)
The runtime configuration of instances (scaling units) of this service.
instanceConfiguration - The runtime configuration of instances (scaling units) of this service.default Service.Builder instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
The runtime configuration of instances (scaling units) of this 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)Service.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed CMK.
encryptionConfiguration - The encryption key that App Runner uses to encrypt the service logs and the copy of the source
repository that App Runner maintains for the service. It can be either a customer-provided encryption
key or an Amazon Web Services managed CMK.default Service.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or 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)Service.Builder healthCheckConfiguration(HealthCheckConfiguration healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of this service.
healthCheckConfiguration - The settings for the health check that App Runner performs to monitor the health of this service.default Service.Builder healthCheckConfiguration(Consumer<HealthCheckConfiguration.Builder> healthCheckConfiguration)
The settings for the health check that App Runner performs to monitor the health of this 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)Service.Builder autoScalingConfigurationSummary(AutoScalingConfigurationSummary autoScalingConfigurationSummary)
Summary information for the App Runner automatic scaling configuration resource that's associated with this service.
autoScalingConfigurationSummary - Summary information for the App Runner automatic scaling configuration resource that's associated with
this service.default Service.Builder autoScalingConfigurationSummary(Consumer<AutoScalingConfigurationSummary.Builder> autoScalingConfigurationSummary)
Summary information for the App Runner automatic scaling configuration resource that's associated with this service.
This is a convenience that creates an instance of theAutoScalingConfigurationSummary.Builder
avoiding the need to create one manually via AutoScalingConfigurationSummary.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
autoScalingConfigurationSummary(AutoScalingConfigurationSummary).autoScalingConfigurationSummary - a consumer that will call methods on AutoScalingConfigurationSummary.BuilderautoScalingConfigurationSummary(AutoScalingConfigurationSummary)Copyright © 2021. All rights reserved.