Struct aws_sdk_workmail::model::delegate::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Delegate
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier for the user or group associated as the resource's delegate.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier for the user or group associated as the resource's delegate.
sourcepub fn type(self, input: MemberType) -> Self
pub fn type(self, input: MemberType) -> Self
The type of the delegate: user or group.
sourcepub fn set_type(self, input: Option<MemberType>) -> Self
pub fn set_type(self, input: Option<MemberType>) -> Self
The type of the delegate: user or group.