Struct aws_sdk_devopsguru::model::service_collection::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ServiceCollection
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn service_names(self, input: ServiceName) -> Self
pub fn service_names(self, input: ServiceName) -> Self
Appends an item to service_names
.
To override the contents of this collection use set_service_names
.
An array of strings that each specifies the name of an Amazon Web Services service.
sourcepub fn set_service_names(self, input: Option<Vec<ServiceName>>) -> Self
pub fn set_service_names(self, input: Option<Vec<ServiceName>>) -> Self
An array of strings that each specifies the name of an Amazon Web Services service.
sourcepub fn build(self) -> ServiceCollection
pub fn build(self) -> ServiceCollection
Consumes the builder and constructs a ServiceCollection
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more