Struct aws_sdk_appstream::operation::associate_application_to_entitlement::builders::AssociateApplicationToEntitlementInputBuilder
source · #[non_exhaustive]pub struct AssociateApplicationToEntitlementInputBuilder { /* private fields */ }
Expand description
A builder for AssociateApplicationToEntitlementInput
.
Implementations§
source§impl AssociateApplicationToEntitlementInputBuilder
impl AssociateApplicationToEntitlementInputBuilder
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack.
This field is required.sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name of the stack.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack.
sourcepub fn entitlement_name(self, input: impl Into<String>) -> Self
pub fn entitlement_name(self, input: impl Into<String>) -> Self
The name of the entitlement.
This field is required.sourcepub fn set_entitlement_name(self, input: Option<String>) -> Self
pub fn set_entitlement_name(self, input: Option<String>) -> Self
The name of the entitlement.
sourcepub fn get_entitlement_name(&self) -> &Option<String>
pub fn get_entitlement_name(&self) -> &Option<String>
The name of the entitlement.
sourcepub fn application_identifier(self, input: impl Into<String>) -> Self
pub fn application_identifier(self, input: impl Into<String>) -> Self
The identifier of the application.
This field is required.sourcepub fn set_application_identifier(self, input: Option<String>) -> Self
pub fn set_application_identifier(self, input: Option<String>) -> Self
The identifier of the application.
sourcepub fn get_application_identifier(&self) -> &Option<String>
pub fn get_application_identifier(&self) -> &Option<String>
The identifier of the application.
sourcepub fn build(self) -> Result<AssociateApplicationToEntitlementInput, BuildError>
pub fn build(self) -> Result<AssociateApplicationToEntitlementInput, BuildError>
Consumes the builder and constructs a AssociateApplicationToEntitlementInput
.
source§impl AssociateApplicationToEntitlementInputBuilder
impl AssociateApplicationToEntitlementInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateApplicationToEntitlementOutput, SdkError<AssociateApplicationToEntitlementError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateApplicationToEntitlementOutput, SdkError<AssociateApplicationToEntitlementError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateApplicationToEntitlementInputBuilder
impl Clone for AssociateApplicationToEntitlementInputBuilder
source§fn clone(&self) -> AssociateApplicationToEntitlementInputBuilder
fn clone(&self) -> AssociateApplicationToEntitlementInputBuilder
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 Default for AssociateApplicationToEntitlementInputBuilder
impl Default for AssociateApplicationToEntitlementInputBuilder
source§fn default() -> AssociateApplicationToEntitlementInputBuilder
fn default() -> AssociateApplicationToEntitlementInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateApplicationToEntitlementInputBuilder
impl PartialEq for AssociateApplicationToEntitlementInputBuilder
source§fn eq(&self, other: &AssociateApplicationToEntitlementInputBuilder) -> bool
fn eq(&self, other: &AssociateApplicationToEntitlementInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateApplicationToEntitlementInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AssociateApplicationToEntitlementInputBuilder
impl Send for AssociateApplicationToEntitlementInputBuilder
impl Sync for AssociateApplicationToEntitlementInputBuilder
impl Unpin for AssociateApplicationToEntitlementInputBuilder
impl UnwindSafe for AssociateApplicationToEntitlementInputBuilder
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.