Struct aws_sdk_apprunner::model::service::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Service
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The customer-provided service name.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The customer-provided service name.
sourcepub fn service_id(self, input: impl Into<String>) -> Self
pub fn service_id(self, input: impl Into<String>) -> Self
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
sourcepub fn set_service_id(self, input: Option<String>) -> Self
pub fn set_service_id(self, input: Option<String>) -> Self
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
sourcepub fn service_arn(self, input: impl Into<String>) -> Self
pub fn service_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of this service.
sourcepub fn set_service_arn(self, input: Option<String>) -> Self
pub fn set_service_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of this service.
sourcepub fn service_url(self, input: impl Into<String>) -> Self
pub fn service_url(self, input: impl Into<String>) -> Self
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
sourcepub fn set_service_url(self, input: Option<String>) -> Self
pub fn set_service_url(self, input: Option<String>) -> Self
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the App Runner service was created. It's in the Unix time stamp format.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the App Runner service was created. It's in the Unix time stamp format.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The time when the App Runner service was last updated at. It's in the Unix time stamp format.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The time when the App Runner service was last updated at. It's in the Unix time stamp format.
sourcepub fn deleted_at(self, input: DateTime) -> Self
pub fn deleted_at(self, input: DateTime) -> Self
The time when the App Runner service was deleted. It's in the Unix time stamp format.
sourcepub fn set_deleted_at(self, input: Option<DateTime>) -> Self
pub fn set_deleted_at(self, input: Option<DateTime>) -> Self
The time when the App Runner service was deleted. It's in the Unix time stamp format.
sourcepub fn status(self, input: ServiceStatus) -> Self
pub fn status(self, input: ServiceStatus) -> Self
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.
sourcepub fn set_status(self, input: Option<ServiceStatus>) -> Self
pub fn set_status(self, input: Option<ServiceStatus>) -> Self
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.
sourcepub fn source_configuration(self, input: SourceConfiguration) -> Self
pub fn source_configuration(self, input: SourceConfiguration) -> Self
The source deployed to the App Runner service. It can be a code or an image repository.
sourcepub fn set_source_configuration(self, input: Option<SourceConfiguration>) -> Self
pub fn set_source_configuration(self, input: Option<SourceConfiguration>) -> Self
The source deployed to the App Runner service. It can be a code or an image repository.
sourcepub fn instance_configuration(self, input: InstanceConfiguration) -> Self
pub fn instance_configuration(self, input: InstanceConfiguration) -> Self
The runtime configuration of instances (scaling units) of this service.
sourcepub fn set_instance_configuration(
self,
input: Option<InstanceConfiguration>
) -> Self
pub fn set_instance_configuration(
self,
input: Option<InstanceConfiguration>
) -> Self
The runtime configuration of instances (scaling units) of this service.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
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 key.
sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
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 key.
sourcepub fn health_check_configuration(self, input: HealthCheckConfiguration) -> Self
pub fn health_check_configuration(self, input: HealthCheckConfiguration) -> Self
The settings for the health check that App Runner performs to monitor the health of this service.
sourcepub fn set_health_check_configuration(
self,
input: Option<HealthCheckConfiguration>
) -> Self
pub fn set_health_check_configuration(
self,
input: Option<HealthCheckConfiguration>
) -> Self
The settings for the health check that App Runner performs to monitor the health of this service.
sourcepub fn auto_scaling_configuration_summary(
self,
input: AutoScalingConfigurationSummary
) -> Self
pub fn auto_scaling_configuration_summary(
self,
input: AutoScalingConfigurationSummary
) -> Self
Summary information for the App Runner automatic scaling configuration resource that's associated with this service.
sourcepub fn set_auto_scaling_configuration_summary(
self,
input: Option<AutoScalingConfigurationSummary>
) -> Self
pub fn set_auto_scaling_configuration_summary(
self,
input: Option<AutoScalingConfigurationSummary>
) -> Self
Summary information for the App Runner automatic scaling configuration resource that's associated with this service.
sourcepub fn network_configuration(self, input: NetworkConfiguration) -> Self
pub fn network_configuration(self, input: NetworkConfiguration) -> Self
Configuration settings related to network traffic of the web application that this service runs.
sourcepub fn set_network_configuration(
self,
input: Option<NetworkConfiguration>
) -> Self
pub fn set_network_configuration(
self,
input: Option<NetworkConfiguration>
) -> Self
Configuration settings related to network traffic of the web application that this service runs.
sourcepub fn observability_configuration(
self,
input: ServiceObservabilityConfiguration
) -> Self
pub fn observability_configuration(
self,
input: ServiceObservabilityConfiguration
) -> Self
The observability configuration of this service.
sourcepub fn set_observability_configuration(
self,
input: Option<ServiceObservabilityConfiguration>
) -> Self
pub fn set_observability_configuration(
self,
input: Option<ServiceObservabilityConfiguration>
) -> Self
The observability configuration of this service.