pub struct Builder { /* private fields */ }
Expand description
A builder for AssociateDelegateToResourceInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The organization under which the resource exists.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The organization under which the resource exists.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The resource for which members (users or groups) are associated.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The resource for which members (users or groups) are associated.
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The member (user or group) to associate to the resource.
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The member (user or group) to associate to the resource.
sourcepub fn build(self) -> Result<AssociateDelegateToResourceInput, BuildError>
pub fn build(self) -> Result<AssociateDelegateToResourceInput, BuildError>
Consumes the builder and constructs a AssociateDelegateToResourceInput
.