Struct aws_sdk_omics::types::builders::ShareDetailsBuilder
source · #[non_exhaustive]pub struct ShareDetailsBuilder { /* private fields */ }
Expand description
A builder for ShareDetails
.
Implementations§
The ID of the resource share.
The ID of the resource share.
The ID of the resource share.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Arn of the shared resource.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Arn of the shared resource.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Arn of the shared resource.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the shared resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the shared resource.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the shared resource.
sourcepub fn principal_subscriber(self, input: impl Into<String>) -> Self
pub fn principal_subscriber(self, input: impl Into<String>) -> Self
The principal subscriber is the account that is sharing the resource.
sourcepub fn set_principal_subscriber(self, input: Option<String>) -> Self
pub fn set_principal_subscriber(self, input: Option<String>) -> Self
The principal subscriber is the account that is sharing the resource.
sourcepub fn get_principal_subscriber(&self) -> &Option<String>
pub fn get_principal_subscriber(&self) -> &Option<String>
The principal subscriber is the account that is sharing the resource.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The account ID for the data owner. The owner creates the resource share.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The account ID for the data owner. The owner creates the resource share.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The account ID for the data owner. The owner creates the resource share.
sourcepub fn status(self, input: ShareStatus) -> Self
pub fn status(self, input: ShareStatus) -> Self
The status of the share.
sourcepub fn set_status(self, input: Option<ShareStatus>) -> Self
pub fn set_status(self, input: Option<ShareStatus>) -> Self
The status of the share.
sourcepub fn get_status(&self) -> &Option<ShareStatus>
pub fn get_status(&self) -> &Option<ShareStatus>
The status of the share.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message for a resource share. It provides additional details about the share status.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message for a resource share. It provides additional details about the share status.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message for a resource share. It provides additional details about the share status.
The name of the resource share.
The name of the resource share.
The name of the resource share.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp of when the resource share was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp of when the resource share was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp of when the resource share was created.
sourcepub fn update_time(self, input: DateTime) -> Self
pub fn update_time(self, input: DateTime) -> Self
The timestamp of the resource share update.
sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
pub fn set_update_time(self, input: Option<DateTime>) -> Self
The timestamp of the resource share update.
sourcepub fn get_update_time(&self) -> &Option<DateTime>
pub fn get_update_time(&self) -> &Option<DateTime>
The timestamp of the resource share update.
sourcepub fn build(self) -> ShareDetails
pub fn build(self) -> ShareDetails
Consumes the builder and constructs a ShareDetails
.
Trait Implementations§
source§fn clone(&self) -> ShareDetailsBuilder
fn clone(&self) -> ShareDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn default() -> ShareDetailsBuilder
fn default() -> ShareDetailsBuilder
source§fn eq(&self, other: &ShareDetailsBuilder) -> bool
fn eq(&self, other: &ShareDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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> 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