Struct aws_sdk_datazone::operation::remove_policy_grant::builders::RemovePolicyGrantInputBuilder
source · #[non_exhaustive]pub struct RemovePolicyGrantInputBuilder { /* private fields */ }Expand description
A builder for RemovePolicyGrantInput.
Implementations§
source§impl RemovePolicyGrantInputBuilder
impl RemovePolicyGrantInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the domain where you want to remove a policy grant.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the domain where you want to remove a policy grant.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the domain where you want to remove a policy grant.
sourcepub fn entity_type(self, input: TargetEntityType) -> Self
pub fn entity_type(self, input: TargetEntityType) -> Self
The type of the entity from which you want to remove a policy grant.
This field is required.sourcepub fn set_entity_type(self, input: Option<TargetEntityType>) -> Self
pub fn set_entity_type(self, input: Option<TargetEntityType>) -> Self
The type of the entity from which you want to remove a policy grant.
sourcepub fn get_entity_type(&self) -> &Option<TargetEntityType>
pub fn get_entity_type(&self) -> &Option<TargetEntityType>
The type of the entity from which you want to remove a policy grant.
sourcepub fn entity_identifier(self, input: impl Into<String>) -> Self
pub fn entity_identifier(self, input: impl Into<String>) -> Self
The ID of the entity from which you want to remove a policy grant.
This field is required.sourcepub fn set_entity_identifier(self, input: Option<String>) -> Self
pub fn set_entity_identifier(self, input: Option<String>) -> Self
The ID of the entity from which you want to remove a policy grant.
sourcepub fn get_entity_identifier(&self) -> &Option<String>
pub fn get_entity_identifier(&self) -> &Option<String>
The ID of the entity from which you want to remove a policy grant.
sourcepub fn policy_type(self, input: ManagedPolicyType) -> Self
pub fn policy_type(self, input: ManagedPolicyType) -> Self
The type of the policy that you want to remove.
This field is required.sourcepub fn set_policy_type(self, input: Option<ManagedPolicyType>) -> Self
pub fn set_policy_type(self, input: Option<ManagedPolicyType>) -> Self
The type of the policy that you want to remove.
sourcepub fn get_policy_type(&self) -> &Option<ManagedPolicyType>
pub fn get_policy_type(&self) -> &Option<ManagedPolicyType>
The type of the policy that you want to remove.
sourcepub fn principal(self, input: PolicyGrantPrincipal) -> Self
pub fn principal(self, input: PolicyGrantPrincipal) -> Self
The principal from which you want to remove a policy grant.
This field is required.sourcepub fn set_principal(self, input: Option<PolicyGrantPrincipal>) -> Self
pub fn set_principal(self, input: Option<PolicyGrantPrincipal>) -> Self
The principal from which you want to remove a policy grant.
sourcepub fn get_principal(&self) -> &Option<PolicyGrantPrincipal>
pub fn get_principal(&self) -> &Option<PolicyGrantPrincipal>
The principal from which you want to remove a policy grant.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<RemovePolicyGrantInput, BuildError>
pub fn build(self) -> Result<RemovePolicyGrantInput, BuildError>
Consumes the builder and constructs a RemovePolicyGrantInput.
source§impl RemovePolicyGrantInputBuilder
impl RemovePolicyGrantInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RemovePolicyGrantOutput, SdkError<RemovePolicyGrantError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RemovePolicyGrantOutput, SdkError<RemovePolicyGrantError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RemovePolicyGrantInputBuilder
impl Clone for RemovePolicyGrantInputBuilder
source§fn clone(&self) -> RemovePolicyGrantInputBuilder
fn clone(&self) -> RemovePolicyGrantInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RemovePolicyGrantInputBuilder
impl Default for RemovePolicyGrantInputBuilder
source§fn default() -> RemovePolicyGrantInputBuilder
fn default() -> RemovePolicyGrantInputBuilder
source§impl PartialEq for RemovePolicyGrantInputBuilder
impl PartialEq for RemovePolicyGrantInputBuilder
source§fn eq(&self, other: &RemovePolicyGrantInputBuilder) -> bool
fn eq(&self, other: &RemovePolicyGrantInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemovePolicyGrantInputBuilder
Auto Trait Implementations§
impl Freeze for RemovePolicyGrantInputBuilder
impl RefUnwindSafe for RemovePolicyGrantInputBuilder
impl Send for RemovePolicyGrantInputBuilder
impl Sync for RemovePolicyGrantInputBuilder
impl Unpin for RemovePolicyGrantInputBuilder
impl UnwindSafe for RemovePolicyGrantInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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 more