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