Struct aws_sdk_datazone::operation::get_subscription_grant::builders::GetSubscriptionGrantInputBuilder
source · #[non_exhaustive]pub struct GetSubscriptionGrantInputBuilder { /* private fields */ }Expand description
A builder for GetSubscriptionGrantInput.
Implementations§
source§impl GetSubscriptionGrantInputBuilder
impl GetSubscriptionGrantInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain in which the subscription grant exists.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain in which the subscription grant exists.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which the subscription grant exists.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The ID of the subscription grant.
This field is required.sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The ID of the subscription grant.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The ID of the subscription grant.
sourcepub fn build(self) -> Result<GetSubscriptionGrantInput, BuildError>
pub fn build(self) -> Result<GetSubscriptionGrantInput, BuildError>
Consumes the builder and constructs a GetSubscriptionGrantInput.
source§impl GetSubscriptionGrantInputBuilder
impl GetSubscriptionGrantInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSubscriptionGrantOutput, SdkError<GetSubscriptionGrantError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSubscriptionGrantOutput, SdkError<GetSubscriptionGrantError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSubscriptionGrantInputBuilder
impl Clone for GetSubscriptionGrantInputBuilder
source§fn clone(&self) -> GetSubscriptionGrantInputBuilder
fn clone(&self) -> GetSubscriptionGrantInputBuilder
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 GetSubscriptionGrantInputBuilder
impl Default for GetSubscriptionGrantInputBuilder
source§fn default() -> GetSubscriptionGrantInputBuilder
fn default() -> GetSubscriptionGrantInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetSubscriptionGrantInputBuilder
impl PartialEq for GetSubscriptionGrantInputBuilder
source§fn eq(&self, other: &GetSubscriptionGrantInputBuilder) -> bool
fn eq(&self, other: &GetSubscriptionGrantInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetSubscriptionGrantInputBuilder
Auto Trait Implementations§
impl Freeze for GetSubscriptionGrantInputBuilder
impl RefUnwindSafe for GetSubscriptionGrantInputBuilder
impl Send for GetSubscriptionGrantInputBuilder
impl Sync for GetSubscriptionGrantInputBuilder
impl Unpin for GetSubscriptionGrantInputBuilder
impl UnwindSafe for GetSubscriptionGrantInputBuilder
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.