Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::GranteeBuilder
#[non_exhaustive]pub struct GranteeBuilder { /* private fields */ }
Expand description
A builder for Grantee
.
Implementations§
§impl GranteeBuilder
impl GranteeBuilder
pub fn display_name(self, input: impl Into<String>) -> GranteeBuilder
pub fn display_name(self, input: impl Into<String>) -> GranteeBuilder
Screen name of the grantee.
pub fn set_display_name(self, input: Option<String>) -> GranteeBuilder
pub fn set_display_name(self, input: Option<String>) -> GranteeBuilder
Screen name of the grantee.
pub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
Screen name of the grantee.
pub fn email_address(self, input: impl Into<String>) -> GranteeBuilder
pub fn email_address(self, input: impl Into<String>) -> GranteeBuilder
Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
pub fn set_email_address(self, input: Option<String>) -> GranteeBuilder
pub fn set_email_address(self, input: Option<String>) -> GranteeBuilder
Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
pub fn get_email_address(&self) -> &Option<String>
pub fn get_email_address(&self) -> &Option<String>
Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
pub fn id(self, input: impl Into<String>) -> GranteeBuilder
pub fn id(self, input: impl Into<String>) -> GranteeBuilder
The canonical user ID of the grantee.
pub fn set_id(self, input: Option<String>) -> GranteeBuilder
pub fn set_id(self, input: Option<String>) -> GranteeBuilder
The canonical user ID of the grantee.
pub fn uri(self, input: impl Into<String>) -> GranteeBuilder
pub fn uri(self, input: impl Into<String>) -> GranteeBuilder
URI of the grantee group.
pub fn set_uri(self, input: Option<String>) -> GranteeBuilder
pub fn set_uri(self, input: Option<String>) -> GranteeBuilder
URI of the grantee group.
pub fn type(self, input: Type) -> GranteeBuilder
pub fn type(self, input: Type) -> GranteeBuilder
Type of grantee
pub fn set_type(self, input: Option<Type>) -> GranteeBuilder
pub fn set_type(self, input: Option<Type>) -> GranteeBuilder
Type of grantee
Trait Implementations§
§impl Clone for GranteeBuilder
impl Clone for GranteeBuilder
§fn clone(&self) -> GranteeBuilder
fn clone(&self) -> GranteeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for GranteeBuilder
impl Debug for GranteeBuilder
§impl Default for GranteeBuilder
impl Default for GranteeBuilder
§fn default() -> GranteeBuilder
fn default() -> GranteeBuilder
§impl PartialEq for GranteeBuilder
impl PartialEq for GranteeBuilder
§fn eq(&self, other: &GranteeBuilder) -> bool
fn eq(&self, other: &GranteeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.