Struct aws_sdk_datazone::operation::get_subscription_target::builders::GetSubscriptionTargetOutputBuilder
source · #[non_exhaustive]pub struct GetSubscriptionTargetOutputBuilder { /* private fields */ }
Expand description
A builder for GetSubscriptionTargetOutput
.
Implementations§
source§impl GetSubscriptionTargetOutputBuilder
impl GetSubscriptionTargetOutputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the subscription target.
This field is required.Appends an item to authorized_principals
.
To override the contents of this collection use set_authorized_principals
.
The authorized principals of the subscription target.
The authorized principals of the subscription target.
The authorized principals of the subscription target.
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(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_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain in which the subscription target exists.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which the subscription target exists.
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The ID of the project associated with the subscription target.
This field is required.sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The ID of the project associated with the subscription target.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The ID of the project associated with the subscription target.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the environment associated with the subscription target.
This field is required.sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of the environment associated with the subscription target.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of the environment associated with the subscription target.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the subscription target.
This field is required.sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the subscription target.
This field is required.sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the subscription target.
This field is required.sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user who created the subscription target.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the subscription target.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who updated the subscription target.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The Amazon DataZone user who updated the subscription target.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The Amazon DataZone user who updated the subscription target.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the subscription target was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when the subscription target was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the subscription target was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the subscription target was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the subscription target was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the subscription target was updated.
sourcepub fn manage_access_role(self, input: impl Into<String>) -> Self
pub fn manage_access_role(self, input: impl Into<String>) -> Self
The manage access role with which the subscription target was created.
This field is required.sourcepub fn set_manage_access_role(self, input: Option<String>) -> Self
pub fn set_manage_access_role(self, input: Option<String>) -> Self
The manage access role with which the subscription target was created.
sourcepub fn get_manage_access_role(&self) -> &Option<String>
pub fn get_manage_access_role(&self) -> &Option<String>
The manage access role with which the subscription target was created.
sourcepub fn applicable_asset_types(self, input: impl Into<String>) -> Self
pub fn applicable_asset_types(self, input: impl Into<String>) -> Self
Appends an item to applicable_asset_types
.
To override the contents of this collection use set_applicable_asset_types
.
The asset types associated with the subscription target.
sourcepub fn set_applicable_asset_types(self, input: Option<Vec<String>>) -> Self
pub fn set_applicable_asset_types(self, input: Option<Vec<String>>) -> Self
The asset types associated with the subscription target.
sourcepub fn get_applicable_asset_types(&self) -> &Option<Vec<String>>
pub fn get_applicable_asset_types(&self) -> &Option<Vec<String>>
The asset types associated with the subscription target.
sourcepub fn subscription_target_config(self, input: SubscriptionTargetForm) -> Self
pub fn subscription_target_config(self, input: SubscriptionTargetForm) -> Self
Appends an item to subscription_target_config
.
To override the contents of this collection use set_subscription_target_config
.
The configuration of teh subscription target.
sourcepub fn set_subscription_target_config(
self,
input: Option<Vec<SubscriptionTargetForm>>,
) -> Self
pub fn set_subscription_target_config( self, input: Option<Vec<SubscriptionTargetForm>>, ) -> Self
The configuration of teh subscription target.
sourcepub fn get_subscription_target_config(
&self,
) -> &Option<Vec<SubscriptionTargetForm>>
pub fn get_subscription_target_config( &self, ) -> &Option<Vec<SubscriptionTargetForm>>
The configuration of teh subscription target.
sourcepub fn provider(self, input: impl Into<String>) -> Self
pub fn provider(self, input: impl Into<String>) -> Self
The provider of the subscription target.
This field is required.sourcepub fn set_provider(self, input: Option<String>) -> Self
pub fn set_provider(self, input: Option<String>) -> Self
The provider of the subscription target.
sourcepub fn get_provider(&self) -> &Option<String>
pub fn get_provider(&self) -> &Option<String>
The provider of the subscription target.
sourcepub fn build(self) -> Result<GetSubscriptionTargetOutput, BuildError>
pub fn build(self) -> Result<GetSubscriptionTargetOutput, BuildError>
Consumes the builder and constructs a GetSubscriptionTargetOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetSubscriptionTargetOutputBuilder
impl Clone for GetSubscriptionTargetOutputBuilder
source§fn clone(&self) -> GetSubscriptionTargetOutputBuilder
fn clone(&self) -> GetSubscriptionTargetOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetSubscriptionTargetOutputBuilder
impl Default for GetSubscriptionTargetOutputBuilder
source§fn default() -> GetSubscriptionTargetOutputBuilder
fn default() -> GetSubscriptionTargetOutputBuilder
source§impl PartialEq for GetSubscriptionTargetOutputBuilder
impl PartialEq for GetSubscriptionTargetOutputBuilder
source§fn eq(&self, other: &GetSubscriptionTargetOutputBuilder) -> bool
fn eq(&self, other: &GetSubscriptionTargetOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetSubscriptionTargetOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSubscriptionTargetOutputBuilder
impl RefUnwindSafe for GetSubscriptionTargetOutputBuilder
impl Send for GetSubscriptionTargetOutputBuilder
impl Sync for GetSubscriptionTargetOutputBuilder
impl Unpin for GetSubscriptionTargetOutputBuilder
impl UnwindSafe for GetSubscriptionTargetOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more