Struct aws_sdk_ec2::operation::revoke_client_vpn_ingress::builders::RevokeClientVpnIngressInputBuilder
source · #[non_exhaustive]pub struct RevokeClientVpnIngressInputBuilder { /* private fields */ }Expand description
A builder for RevokeClientVpnIngressInput.
Implementations§
source§impl RevokeClientVpnIngressInputBuilder
impl RevokeClientVpnIngressInputBuilder
sourcepub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
pub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the Client VPN endpoint with which the authorization rule is associated.
This field is required.sourcepub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
pub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
The ID of the Client VPN endpoint with which the authorization rule is associated.
sourcepub fn get_client_vpn_endpoint_id(&self) -> &Option<String>
pub fn get_client_vpn_endpoint_id(&self) -> &Option<String>
The ID of the Client VPN endpoint with which the authorization rule is associated.
sourcepub fn target_network_cidr(self, input: impl Into<String>) -> Self
pub fn target_network_cidr(self, input: impl Into<String>) -> Self
The IPv4 address range, in CIDR notation, of the network for which access is being removed.
This field is required.sourcepub fn set_target_network_cidr(self, input: Option<String>) -> Self
pub fn set_target_network_cidr(self, input: Option<String>) -> Self
The IPv4 address range, in CIDR notation, of the network for which access is being removed.
sourcepub fn get_target_network_cidr(&self) -> &Option<String>
pub fn get_target_network_cidr(&self) -> &Option<String>
The IPv4 address range, in CIDR notation, of the network for which access is being removed.
sourcepub fn access_group_id(self, input: impl Into<String>) -> Self
pub fn access_group_id(self, input: impl Into<String>) -> Self
The ID of the Active Directory group for which to revoke access.
sourcepub fn set_access_group_id(self, input: Option<String>) -> Self
pub fn set_access_group_id(self, input: Option<String>) -> Self
The ID of the Active Directory group for which to revoke access.
sourcepub fn get_access_group_id(&self) -> &Option<String>
pub fn get_access_group_id(&self) -> &Option<String>
The ID of the Active Directory group for which to revoke access.
sourcepub fn revoke_all_groups(self, input: bool) -> Self
pub fn revoke_all_groups(self, input: bool) -> Self
Indicates whether access should be revoked for all clients.
sourcepub fn set_revoke_all_groups(self, input: Option<bool>) -> Self
pub fn set_revoke_all_groups(self, input: Option<bool>) -> Self
Indicates whether access should be revoked for all clients.
sourcepub fn get_revoke_all_groups(&self) -> &Option<bool>
pub fn get_revoke_all_groups(&self) -> &Option<bool>
Indicates whether access should be revoked for all clients.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn build(self) -> Result<RevokeClientVpnIngressInput, BuildError>
pub fn build(self) -> Result<RevokeClientVpnIngressInput, BuildError>
Consumes the builder and constructs a RevokeClientVpnIngressInput.
source§impl RevokeClientVpnIngressInputBuilder
impl RevokeClientVpnIngressInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RevokeClientVpnIngressOutput, SdkError<RevokeClientVpnIngressError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RevokeClientVpnIngressOutput, SdkError<RevokeClientVpnIngressError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeClientVpnIngressInputBuilder
impl Clone for RevokeClientVpnIngressInputBuilder
source§fn clone(&self) -> RevokeClientVpnIngressInputBuilder
fn clone(&self) -> RevokeClientVpnIngressInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RevokeClientVpnIngressInputBuilder
impl Default for RevokeClientVpnIngressInputBuilder
source§fn default() -> RevokeClientVpnIngressInputBuilder
fn default() -> RevokeClientVpnIngressInputBuilder
source§impl PartialEq for RevokeClientVpnIngressInputBuilder
impl PartialEq for RevokeClientVpnIngressInputBuilder
source§fn eq(&self, other: &RevokeClientVpnIngressInputBuilder) -> bool
fn eq(&self, other: &RevokeClientVpnIngressInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RevokeClientVpnIngressInputBuilder
Auto Trait Implementations§
impl Freeze for RevokeClientVpnIngressInputBuilder
impl RefUnwindSafe for RevokeClientVpnIngressInputBuilder
impl Send for RevokeClientVpnIngressInputBuilder
impl Sync for RevokeClientVpnIngressInputBuilder
impl Unpin for RevokeClientVpnIngressInputBuilder
impl UnwindSafe for RevokeClientVpnIngressInputBuilder
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> 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