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.
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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyEndpointAccessInputBuilder
Auto Trait Implementations§
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