Struct aws_sdk_redshift::operation::modify_endpoint_access::builders::ModifyEndpointAccessInputBuilder
source · #[non_exhaustive]pub struct ModifyEndpointAccessInputBuilder { /* private fields */ }
Expand description
A builder for ModifyEndpointAccessInput
.
Implementations§
source§impl ModifyEndpointAccessInputBuilder
impl ModifyEndpointAccessInputBuilder
sourcepub fn endpoint_name(self, input: impl Into<String>) -> Self
pub fn endpoint_name(self, input: impl Into<String>) -> Self
The endpoint to be modified.
This field is required.sourcepub fn set_endpoint_name(self, input: Option<String>) -> Self
pub fn set_endpoint_name(self, input: Option<String>) -> Self
The endpoint to be modified.
sourcepub fn get_endpoint_name(&self) -> &Option<String>
pub fn get_endpoint_name(&self) -> &Option<String>
The endpoint to be modified.
sourcepub fn vpc_security_group_ids(self, input: impl Into<String>) -> Self
pub fn vpc_security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to vpc_security_group_ids
.
To override the contents of this collection use set_vpc_security_group_ids
.
The complete list of VPC security groups associated with the endpoint after the endpoint is modified.
sourcepub fn set_vpc_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_vpc_security_group_ids(self, input: Option<Vec<String>>) -> Self
The complete list of VPC security groups associated with the endpoint after the endpoint is modified.
sourcepub fn get_vpc_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_vpc_security_group_ids(&self) -> &Option<Vec<String>>
The complete list of VPC security groups associated with the endpoint after the endpoint is modified.
sourcepub fn build(self) -> Result<ModifyEndpointAccessInput, BuildError>
pub fn build(self) -> Result<ModifyEndpointAccessInput, BuildError>
Consumes the builder and constructs a ModifyEndpointAccessInput
.
source§impl ModifyEndpointAccessInputBuilder
impl ModifyEndpointAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ModifyEndpointAccessOutput, SdkError<ModifyEndpointAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ModifyEndpointAccessOutput, SdkError<ModifyEndpointAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyEndpointAccessInputBuilder
impl Clone for ModifyEndpointAccessInputBuilder
source§fn clone(&self) -> ModifyEndpointAccessInputBuilder
fn clone(&self) -> ModifyEndpointAccessInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ModifyEndpointAccessInputBuilder
impl Default for ModifyEndpointAccessInputBuilder
source§fn default() -> ModifyEndpointAccessInputBuilder
fn default() -> ModifyEndpointAccessInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ModifyEndpointAccessInputBuilder
impl PartialEq for ModifyEndpointAccessInputBuilder
source§fn eq(&self, other: &ModifyEndpointAccessInputBuilder) -> bool
fn eq(&self, other: &ModifyEndpointAccessInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ModifyEndpointAccessInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyEndpointAccessInputBuilder
impl RefUnwindSafe for ModifyEndpointAccessInputBuilder
impl Send for ModifyEndpointAccessInputBuilder
impl Sync for ModifyEndpointAccessInputBuilder
impl Unpin for ModifyEndpointAccessInputBuilder
impl UnwindSafe for ModifyEndpointAccessInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.