Struct aws_sdk_apprunner::model::service_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ServiceSummary
.
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. It's in theUnix 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. It's in theUnix 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. 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. 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 build(self) -> ServiceSummary
pub fn build(self) -> ServiceSummary
Consumes the builder and constructs a ServiceSummary
.