#[non_exhaustive]pub struct CreateSpaceInputBuilder { /* private fields */ }Expand description
A builder for CreateSpaceInput.
Implementations§
source§impl CreateSpaceInputBuilder
impl CreateSpaceInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name for the private re:Post. This must be unique in your account.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name for the private re:Post. This must be unique in your account.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name for the private re:Post. This must be unique in your account.
sourcepub fn subdomain(self, input: impl Into<String>) -> Self
pub fn subdomain(self, input: impl Into<String>) -> Self
The subdomain that you use to access your AWS re:Post Private private re:Post. All custom subdomains must be approved by AWS before use. In addition to your custom subdomain, all private re:Posts are issued an AWS generated subdomain for immediate use.
This field is required.sourcepub fn set_subdomain(self, input: Option<String>) -> Self
pub fn set_subdomain(self, input: Option<String>) -> Self
The subdomain that you use to access your AWS re:Post Private private re:Post. All custom subdomains must be approved by AWS before use. In addition to your custom subdomain, all private re:Posts are issued an AWS generated subdomain for immediate use.
sourcepub fn get_subdomain(&self) -> &Option<String>
pub fn get_subdomain(&self) -> &Option<String>
The subdomain that you use to access your AWS re:Post Private private re:Post. All custom subdomains must be approved by AWS before use. In addition to your custom subdomain, all private re:Posts are issued an AWS generated subdomain for immediate use.
sourcepub fn tier(self, input: TierLevel) -> Self
pub fn tier(self, input: TierLevel) -> Self
The pricing tier for 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 for the private re:Post.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the private re:Post. This is used only to help you identify this private re:Post.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the private re:Post. This is used only to help you identify this private re:Post.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the private re:Post. This is used only to help you identify this private re:Post.
sourcepub fn user_kms_key(self, input: impl Into<String>) -> Self
pub fn user_kms_key(self, input: impl Into<String>) -> Self
The AWS KMS key ARN that’s used for the AWS KMS encryption. If you don't provide a key, your data is encrypted by default with a key that AWS owns and manages for you.
sourcepub fn set_user_kms_key(self, input: Option<String>) -> Self
pub fn set_user_kms_key(self, input: Option<String>) -> Self
The AWS KMS key ARN that’s used for the AWS KMS encryption. If you don't provide a key, your data is encrypted by default with a key that AWS owns and manages for you.
sourcepub fn get_user_kms_key(&self) -> &Option<String>
pub fn get_user_kms_key(&self) -> &Option<String>
The AWS KMS key ARN that’s used for the AWS KMS encryption. If you don't provide a key, your data is encrypted by default with a key that AWS owns and manages for you.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The list of tags associated with the private re:Post.
The list of tags associated with the private re:Post.
The list of tags associated with the private re:Post.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn 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_role_arn(self, input: Option<String>) -> Self
pub fn set_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_role_arn(&self) -> &Option<String>
pub fn get_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 build(self) -> Result<CreateSpaceInput, BuildError>
pub fn build(self) -> Result<CreateSpaceInput, BuildError>
Consumes the builder and constructs a CreateSpaceInput.
source§impl CreateSpaceInputBuilder
impl CreateSpaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSpaceOutput, SdkError<CreateSpaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSpaceOutput, SdkError<CreateSpaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSpaceInputBuilder
impl Clone for CreateSpaceInputBuilder
source§fn clone(&self) -> CreateSpaceInputBuilder
fn clone(&self) -> CreateSpaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateSpaceInputBuilder
impl Debug for CreateSpaceInputBuilder
source§impl Default for CreateSpaceInputBuilder
impl Default for CreateSpaceInputBuilder
source§fn default() -> CreateSpaceInputBuilder
fn default() -> CreateSpaceInputBuilder
source§impl PartialEq for CreateSpaceInputBuilder
impl PartialEq for CreateSpaceInputBuilder
source§fn eq(&self, other: &CreateSpaceInputBuilder) -> bool
fn eq(&self, other: &CreateSpaceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.