Struct aws_sdk_apprunner::types::builders::ServiceSummaryBuilder
source · #[non_exhaustive]pub struct ServiceSummaryBuilder { /* private fields */ }
Expand description
A builder for ServiceSummary
.
Implementations§
source§impl ServiceSummaryBuilder
impl ServiceSummaryBuilder
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 get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
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 get_service_id(&self) -> &Option<String>
pub fn get_service_id(&self) -> &Option<String>
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 get_service_arn(&self) -> &Option<String>
pub fn get_service_arn(&self) -> &Option<String>
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 get_service_url(&self) -> &Option<String>
pub fn get_service_url(&self) -> &Option<String>
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 get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
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 get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
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. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service usingUpdateService
. -
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. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service usingUpdateService
. -
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 get_status(&self) -> &Option<ServiceStatus>
pub fn get_status(&self) -> &Option<ServiceStatus>
The current state of the App Runner service. These particular values mean the following.
-
CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service usingUpdateService
. -
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
.
Trait Implementations§
source§impl Clone for ServiceSummaryBuilder
impl Clone for ServiceSummaryBuilder
source§fn clone(&self) -> ServiceSummaryBuilder
fn clone(&self) -> ServiceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceSummaryBuilder
impl Debug for ServiceSummaryBuilder
source§impl Default for ServiceSummaryBuilder
impl Default for ServiceSummaryBuilder
source§fn default() -> ServiceSummaryBuilder
fn default() -> ServiceSummaryBuilder
source§impl PartialEq for ServiceSummaryBuilder
impl PartialEq for ServiceSummaryBuilder
impl StructuralPartialEq for ServiceSummaryBuilder
Auto Trait Implementations§
impl Freeze for ServiceSummaryBuilder
impl RefUnwindSafe for ServiceSummaryBuilder
impl Send for ServiceSummaryBuilder
impl Sync for ServiceSummaryBuilder
impl Unpin for ServiceSummaryBuilder
impl UnwindSafe for ServiceSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more