Struct aws_sdk_connect::types::builders::ApplicationBuilder
source · #[non_exhaustive]pub struct ApplicationBuilder { /* private fields */ }
Expand description
A builder for Application
.
Implementations§
source§impl ApplicationBuilder
impl ApplicationBuilder
sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
Namespace of the application that you want to give access to.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
Namespace of the application that you want to give access to.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
Namespace of the application that you want to give access to.
sourcepub fn application_permissions(self, input: impl Into<String>) -> Self
pub fn application_permissions(self, input: impl Into<String>) -> Self
Appends an item to application_permissions
.
To override the contents of this collection use set_application_permissions
.
The permissions that the agent is granted on the application. Only the ACCESS
permission is supported.
sourcepub fn set_application_permissions(self, input: Option<Vec<String>>) -> Self
pub fn set_application_permissions(self, input: Option<Vec<String>>) -> Self
The permissions that the agent is granted on the application. Only the ACCESS
permission is supported.
sourcepub fn get_application_permissions(&self) -> &Option<Vec<String>>
pub fn get_application_permissions(&self) -> &Option<Vec<String>>
The permissions that the agent is granted on the application. Only the ACCESS
permission is supported.
sourcepub fn build(self) -> Application
pub fn build(self) -> Application
Consumes the builder and constructs a Application
.
Trait Implementations§
source§impl Clone for ApplicationBuilder
impl Clone for ApplicationBuilder
source§fn clone(&self) -> ApplicationBuilder
fn clone(&self) -> ApplicationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApplicationBuilder
impl Debug for ApplicationBuilder
source§impl Default for ApplicationBuilder
impl Default for ApplicationBuilder
source§fn default() -> ApplicationBuilder
fn default() -> ApplicationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ApplicationBuilder
impl PartialEq for ApplicationBuilder
source§fn eq(&self, other: &ApplicationBuilder) -> bool
fn eq(&self, other: &ApplicationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApplicationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationBuilder
impl Send for ApplicationBuilder
impl Sync for ApplicationBuilder
impl Unpin for ApplicationBuilder
impl UnwindSafe for ApplicationBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.