#[non_exhaustive]pub struct GetSpaceOutputBuilder { /* private fields */ }
Expand description
A builder for GetSpaceOutput
.
Implementations§
Source§impl GetSpaceOutputBuilder
impl GetSpaceOutputBuilder
Sourcepub fn space_id(self, input: impl Into<String>) -> Self
pub fn space_id(self, input: impl Into<String>) -> Self
The unique ID of the private re:Post.
This field is required.Sourcepub fn set_space_id(self, input: Option<String>) -> Self
pub fn set_space_id(self, input: Option<String>) -> Self
The unique ID of the private re:Post.
Sourcepub fn get_space_id(&self) -> &Option<String>
pub fn get_space_id(&self) -> &Option<String>
The unique ID of the private re:Post.
Sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the private re:Post.
This field is required.Sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the private re:Post.
This field is required.Sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The creation or deletion status of the private re:Post.
This field is required.Sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The creation or deletion status of the private re:Post.
Sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The creation or deletion status of the private re:Post.
Sourcepub fn configuration_status(self, input: ConfigurationStatus) -> Self
pub fn configuration_status(self, input: ConfigurationStatus) -> Self
The configuration status of the private re:Post.
This field is required.Sourcepub fn set_configuration_status(
self,
input: Option<ConfigurationStatus>,
) -> Self
pub fn set_configuration_status( self, input: Option<ConfigurationStatus>, ) -> Self
The configuration status of the private re:Post.
Sourcepub fn get_configuration_status(&self) -> &Option<ConfigurationStatus>
pub fn get_configuration_status(&self) -> &Option<ConfigurationStatus>
The configuration status of the private re:Post.
Sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
The Identity Center identifier for the Application Instance.
This field is required.Sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The Identity Center identifier for the Application Instance.
Sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
The Identity Center identifier for the Application Instance.
Sourcepub fn identity_store_id(self, input: impl Into<String>) -> Self
pub fn identity_store_id(self, input: impl Into<String>) -> Self
Sourcepub fn set_identity_store_id(self, input: Option<String>) -> Self
pub fn set_identity_store_id(self, input: Option<String>) -> Self
Sourcepub fn get_identity_store_id(&self) -> &Option<String>
pub fn get_identity_store_id(&self) -> &Option<String>
Sourcepub fn application_arn(self, input: impl Into<String>) -> Self
pub fn application_arn(self, input: impl Into<String>) -> Self
Sourcepub fn set_application_arn(self, input: Option<String>) -> Self
pub fn set_application_arn(self, input: Option<String>) -> Self
Sourcepub fn get_application_arn(&self) -> &Option<String>
pub fn get_application_arn(&self) -> &Option<String>
Sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the private re:Post.
Sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the private re:Post.
Sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the private re:Post.
Sourcepub fn vanity_domain_status(self, input: VanityDomainStatus) -> Self
pub fn vanity_domain_status(self, input: VanityDomainStatus) -> Self
The approval status of the custom subdomain.
This field is required.Sourcepub fn set_vanity_domain_status(self, input: Option<VanityDomainStatus>) -> Self
pub fn set_vanity_domain_status(self, input: Option<VanityDomainStatus>) -> Self
The approval status of the custom subdomain.
Sourcepub fn get_vanity_domain_status(&self) -> &Option<VanityDomainStatus>
pub fn get_vanity_domain_status(&self) -> &Option<VanityDomainStatus>
The approval status of the custom subdomain.
Sourcepub fn vanity_domain(self, input: impl Into<String>) -> Self
pub fn vanity_domain(self, input: impl Into<String>) -> Self
The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.
This field is required.Sourcepub fn set_vanity_domain(self, input: Option<String>) -> Self
pub fn set_vanity_domain(self, input: Option<String>) -> Self
The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.
Sourcepub fn get_vanity_domain(&self) -> &Option<String>
pub fn get_vanity_domain(&self) -> &Option<String>
The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.
Sourcepub fn random_domain(self, input: impl Into<String>) -> Self
pub fn random_domain(self, input: impl Into<String>) -> Self
The AWS generated subdomain of the private re:Post
This field is required.Sourcepub fn set_random_domain(self, input: Option<String>) -> Self
pub fn set_random_domain(self, input: Option<String>) -> Self
The AWS generated subdomain of the private re:Post
Sourcepub fn get_random_domain(&self) -> &Option<String>
pub fn get_random_domain(&self) -> &Option<String>
The AWS generated subdomain of the private re:Post
Sourcepub fn customer_role_arn(self, input: impl Into<String>) -> Self
pub fn customer_role_arn(self, input: impl Into<String>) -> Self
The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
Sourcepub fn set_customer_role_arn(self, input: Option<String>) -> Self
pub fn set_customer_role_arn(self, input: Option<String>) -> Self
The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
Sourcepub fn get_customer_role_arn(&self) -> &Option<String>
pub fn get_customer_role_arn(&self) -> &Option<String>
The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
Sourcepub fn create_date_time(self, input: DateTime) -> Self
pub fn create_date_time(self, input: DateTime) -> Self
The date when the private re:Post was created.
This field is required.Sourcepub fn set_create_date_time(self, input: Option<DateTime>) -> Self
pub fn set_create_date_time(self, input: Option<DateTime>) -> Self
The date when the private re:Post was created.
Sourcepub fn get_create_date_time(&self) -> &Option<DateTime>
pub fn get_create_date_time(&self) -> &Option<DateTime>
The date when the private re:Post was created.
Sourcepub fn delete_date_time(self, input: DateTime) -> Self
pub fn delete_date_time(self, input: DateTime) -> Self
The date when the private re:Post was deleted.
Sourcepub fn set_delete_date_time(self, input: Option<DateTime>) -> Self
pub fn set_delete_date_time(self, input: Option<DateTime>) -> Self
The date when the private re:Post was deleted.
Sourcepub fn get_delete_date_time(&self) -> &Option<DateTime>
pub fn get_delete_date_time(&self) -> &Option<DateTime>
The date when the private re:Post was deleted.
Sourcepub fn tier(self, input: TierLevel) -> Self
pub fn tier(self, input: TierLevel) -> Self
The pricing tier of the private re:Post.
This field is required.Sourcepub fn set_tier(self, input: Option<TierLevel>) -> Self
pub fn set_tier(self, input: Option<TierLevel>) -> Self
The pricing tier of the private re:Post.
Sourcepub fn storage_limit(self, input: i64) -> Self
pub fn storage_limit(self, input: i64) -> Self
The storage limit of the private re:Post.
This field is required.Sourcepub fn set_storage_limit(self, input: Option<i64>) -> Self
pub fn set_storage_limit(self, input: Option<i64>) -> Self
The storage limit of the private re:Post.
Sourcepub fn get_storage_limit(&self) -> &Option<i64>
pub fn get_storage_limit(&self) -> &Option<i64>
The storage limit of the private re:Post.
Sourcepub fn user_admins(self, input: impl Into<String>) -> Self
👎Deprecated: This property has been depracted and will be replaced by the roles property.
pub fn user_admins(self, input: impl Into<String>) -> Self
Appends an item to user_admins
.
To override the contents of this collection use set_user_admins
.
The list of users that are administrators of the private re:Post.
Sourcepub fn set_user_admins(self, input: Option<Vec<String>>) -> Self
👎Deprecated: This property has been depracted and will be replaced by the roles property.
pub fn set_user_admins(self, input: Option<Vec<String>>) -> Self
The list of users that are administrators of the private re:Post.
Sourcepub fn get_user_admins(&self) -> &Option<Vec<String>>
👎Deprecated: This property has been depracted and will be replaced by the roles property.
pub fn get_user_admins(&self) -> &Option<Vec<String>>
The list of users that are administrators of the private re:Post.
Sourcepub fn group_admins(self, input: impl Into<String>) -> Self
👎Deprecated: This property has been depracted and will be replaced by the roles property.
pub fn group_admins(self, input: impl Into<String>) -> Self
Appends an item to group_admins
.
To override the contents of this collection use set_group_admins
.
The list of groups that are administrators of the private re:Post.
Sourcepub fn set_group_admins(self, input: Option<Vec<String>>) -> Self
👎Deprecated: This property has been depracted and will be replaced by the roles property.
pub fn set_group_admins(self, input: Option<Vec<String>>) -> Self
The list of groups that are administrators of the private re:Post.
Sourcepub fn get_group_admins(&self) -> &Option<Vec<String>>
👎Deprecated: This property has been depracted and will be replaced by the roles property.
pub fn get_group_admins(&self) -> &Option<Vec<String>>
The list of groups that are administrators of the private re:Post.
Sourcepub fn roles(self, k: impl Into<String>, v: Vec<Role>) -> Self
pub fn roles(self, k: impl Into<String>, v: Vec<Role>) -> Self
Adds a key-value pair to roles
.
To override the contents of this collection use set_roles
.
A map of accessor identifiers and their roles.
Sourcepub fn set_roles(self, input: Option<HashMap<String, Vec<Role>>>) -> Self
pub fn set_roles(self, input: Option<HashMap<String, Vec<Role>>>) -> Self
A map of accessor identifiers and their roles.
Sourcepub fn get_roles(&self) -> &Option<HashMap<String, Vec<Role>>>
pub fn get_roles(&self) -> &Option<HashMap<String, Vec<Role>>>
A map of accessor identifiers and their roles.
Sourcepub fn user_kms_key(self, input: impl Into<String>) -> Self
pub fn user_kms_key(self, input: impl Into<String>) -> Self
The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
Sourcepub fn set_user_kms_key(self, input: Option<String>) -> Self
pub fn set_user_kms_key(self, input: Option<String>) -> Self
The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
Sourcepub fn get_user_kms_key(&self) -> &Option<String>
pub fn get_user_kms_key(&self) -> &Option<String>
The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
Sourcepub fn user_count(self, input: i32) -> Self
pub fn user_count(self, input: i32) -> Self
The number of users that have onboarded to the private re:Post.
Sourcepub fn set_user_count(self, input: Option<i32>) -> Self
pub fn set_user_count(self, input: Option<i32>) -> Self
The number of users that have onboarded to the private re:Post.
Sourcepub fn get_user_count(&self) -> &Option<i32>
pub fn get_user_count(&self) -> &Option<i32>
The number of users that have onboarded to the private re:Post.
Sourcepub fn content_size(self, input: i64) -> Self
pub fn content_size(self, input: i64) -> Self
The content size of the private re:Post.
Sourcepub fn set_content_size(self, input: Option<i64>) -> Self
pub fn set_content_size(self, input: Option<i64>) -> Self
The content size of the private re:Post.
Sourcepub fn get_content_size(&self) -> &Option<i64>
pub fn get_content_size(&self) -> &Option<i64>
The content size of the private re:Post.
Sourcepub fn supported_email_domains(self, input: SupportedEmailDomainsStatus) -> Self
pub fn supported_email_domains(self, input: SupportedEmailDomainsStatus) -> Self
Sourcepub fn set_supported_email_domains(
self,
input: Option<SupportedEmailDomainsStatus>,
) -> Self
pub fn set_supported_email_domains( self, input: Option<SupportedEmailDomainsStatus>, ) -> Self
Sourcepub fn get_supported_email_domains(
&self,
) -> &Option<SupportedEmailDomainsStatus>
pub fn get_supported_email_domains( &self, ) -> &Option<SupportedEmailDomainsStatus>
Sourcepub fn build(self) -> Result<GetSpaceOutput, BuildError>
pub fn build(self) -> Result<GetSpaceOutput, BuildError>
Consumes the builder and constructs a GetSpaceOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for GetSpaceOutputBuilder
impl Clone for GetSpaceOutputBuilder
Source§fn clone(&self) -> GetSpaceOutputBuilder
fn clone(&self) -> GetSpaceOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetSpaceOutputBuilder
impl Debug for GetSpaceOutputBuilder
Source§impl Default for GetSpaceOutputBuilder
impl Default for GetSpaceOutputBuilder
Source§fn default() -> GetSpaceOutputBuilder
fn default() -> GetSpaceOutputBuilder
Source§impl PartialEq for GetSpaceOutputBuilder
impl PartialEq for GetSpaceOutputBuilder
impl StructuralPartialEq for GetSpaceOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSpaceOutputBuilder
impl RefUnwindSafe for GetSpaceOutputBuilder
impl Send for GetSpaceOutputBuilder
impl Sync for GetSpaceOutputBuilder
impl Unpin for GetSpaceOutputBuilder
impl UnwindSafe for GetSpaceOutputBuilder
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§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 moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);