#[non_exhaustive]pub struct CreateEndpointAccessInput {
pub cluster_identifier: Option<String>,
pub resource_owner: Option<String>,
pub endpoint_name: Option<String>,
pub subnet_group_name: Option<String>,
pub vpc_security_group_ids: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster_identifier: Option<String>
The cluster identifier of the cluster to access.
resource_owner: Option<String>
The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.
endpoint_name: Option<String>
The Redshift-managed VPC endpoint name.
An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.
subnet_group_name: Option<String>
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
vpc_security_group_ids: Option<Vec<String>>
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
Implementations§
source§impl CreateEndpointAccessInput
impl CreateEndpointAccessInput
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The cluster identifier of the cluster to access.
sourcepub fn resource_owner(&self) -> Option<&str>
pub fn resource_owner(&self) -> Option<&str>
The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
The Redshift-managed VPC endpoint name.
An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.
sourcepub fn subnet_group_name(&self) -> Option<&str>
pub fn subnet_group_name(&self) -> Option<&str>
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
sourcepub fn vpc_security_group_ids(&self) -> &[String]
pub fn vpc_security_group_ids(&self) -> &[String]
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vpc_security_group_ids.is_none()
.
source§impl CreateEndpointAccessInput
impl CreateEndpointAccessInput
sourcepub fn builder() -> CreateEndpointAccessInputBuilder
pub fn builder() -> CreateEndpointAccessInputBuilder
Creates a new builder-style object to manufacture CreateEndpointAccessInput
.
Trait Implementations§
source§impl Clone for CreateEndpointAccessInput
impl Clone for CreateEndpointAccessInput
source§fn clone(&self) -> CreateEndpointAccessInput
fn clone(&self) -> CreateEndpointAccessInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateEndpointAccessInput
impl Debug for CreateEndpointAccessInput
impl StructuralPartialEq for CreateEndpointAccessInput
Auto Trait Implementations§
impl Freeze for CreateEndpointAccessInput
impl RefUnwindSafe for CreateEndpointAccessInput
impl Send for CreateEndpointAccessInput
impl Sync for CreateEndpointAccessInput
impl Unpin for CreateEndpointAccessInput
impl UnwindSafe for CreateEndpointAccessInput
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