#[non_exhaustive]pub struct CreateServiceOutputBuilder { /* private fields */ }
Expand description
A builder for CreateServiceOutput
.
Implementations§
source§impl CreateServiceOutputBuilder
impl CreateServiceOutputBuilder
sourcepub fn service(self, input: Service) -> Self
pub fn service(self, input: Service) -> Self
A description of the App Runner service that's created by this request.
This field is required.sourcepub fn set_service(self, input: Option<Service>) -> Self
pub fn set_service(self, input: Option<Service>) -> Self
A description of the App Runner service that's created by this request.
sourcepub fn get_service(&self) -> &Option<Service>
pub fn get_service(&self) -> &Option<Service>
A description of the App Runner service that's created by this request.
sourcepub fn operation_id(self, input: impl Into<String>) -> Self
pub fn operation_id(self, input: impl Into<String>) -> Self
The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
This field is required.sourcepub fn set_operation_id(self, input: Option<String>) -> Self
pub fn set_operation_id(self, input: Option<String>) -> Self
The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
sourcepub fn get_operation_id(&self) -> &Option<String>
pub fn get_operation_id(&self) -> &Option<String>
The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
sourcepub fn build(self) -> Result<CreateServiceOutput, BuildError>
pub fn build(self) -> Result<CreateServiceOutput, BuildError>
Consumes the builder and constructs a CreateServiceOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateServiceOutputBuilder
impl Clone for CreateServiceOutputBuilder
source§fn clone(&self) -> CreateServiceOutputBuilder
fn clone(&self) -> CreateServiceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateServiceOutputBuilder
impl Debug for CreateServiceOutputBuilder
source§impl Default for CreateServiceOutputBuilder
impl Default for CreateServiceOutputBuilder
source§fn default() -> CreateServiceOutputBuilder
fn default() -> CreateServiceOutputBuilder
impl StructuralPartialEq for CreateServiceOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateServiceOutputBuilder
impl RefUnwindSafe for CreateServiceOutputBuilder
impl Send for CreateServiceOutputBuilder
impl Sync for CreateServiceOutputBuilder
impl Unpin for CreateServiceOutputBuilder
impl UnwindSafe for CreateServiceOutputBuilder
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