Struct aws_sdk_redshift::types::builders::EndpointAccessBuilder
source · #[non_exhaustive]pub struct EndpointAccessBuilder { /* private fields */ }
Expand description
A builder for EndpointAccess
.
Implementations§
source§impl EndpointAccessBuilder
impl EndpointAccessBuilder
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The cluster identifier of the cluster associated with the endpoint.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The cluster identifier of the cluster associated with the endpoint.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The cluster identifier of the cluster associated with the endpoint.
sourcepub fn resource_owner(self, input: impl Into<String>) -> Self
pub fn resource_owner(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the owner of the cluster.
sourcepub fn set_resource_owner(self, input: Option<String>) -> Self
pub fn set_resource_owner(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the owner of the cluster.
sourcepub fn get_resource_owner(&self) -> &Option<String>
pub fn get_resource_owner(&self) -> &Option<String>
The Amazon Web Services account ID of the owner of the cluster.
sourcepub fn subnet_group_name(self, input: impl Into<String>) -> Self
pub fn subnet_group_name(self, input: impl Into<String>) -> Self
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
sourcepub fn set_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_subnet_group_name(self, input: Option<String>) -> Self
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
sourcepub fn get_subnet_group_name(&self) -> &Option<String>
pub fn get_subnet_group_name(&self) -> &Option<String>
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
sourcepub fn endpoint_status(self, input: impl Into<String>) -> Self
pub fn endpoint_status(self, input: impl Into<String>) -> Self
The status of the endpoint.
sourcepub fn set_endpoint_status(self, input: Option<String>) -> Self
pub fn set_endpoint_status(self, input: Option<String>) -> Self
The status of the endpoint.
sourcepub fn get_endpoint_status(&self) -> &Option<String>
pub fn get_endpoint_status(&self) -> &Option<String>
The status of the endpoint.
sourcepub fn endpoint_name(self, input: impl Into<String>) -> Self
pub fn endpoint_name(self, input: impl Into<String>) -> Self
The name of the endpoint.
sourcepub fn set_endpoint_name(self, input: Option<String>) -> Self
pub fn set_endpoint_name(self, input: Option<String>) -> Self
The name of the endpoint.
sourcepub fn get_endpoint_name(&self) -> &Option<String>
pub fn get_endpoint_name(&self) -> &Option<String>
The name of the endpoint.
sourcepub fn endpoint_create_time(self, input: DateTime) -> Self
pub fn endpoint_create_time(self, input: DateTime) -> Self
The time (UTC) that the endpoint was created.
sourcepub fn set_endpoint_create_time(self, input: Option<DateTime>) -> Self
pub fn set_endpoint_create_time(self, input: Option<DateTime>) -> Self
The time (UTC) that the endpoint was created.
sourcepub fn get_endpoint_create_time(&self) -> &Option<DateTime>
pub fn get_endpoint_create_time(&self) -> &Option<DateTime>
The time (UTC) that the endpoint was created.
sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
The port number on which the cluster accepts incoming connections.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port number on which the cluster accepts incoming connections.
sourcepub fn get_port(&self) -> &Option<i32>
pub fn get_port(&self) -> &Option<i32>
The port number on which the cluster accepts incoming connections.
sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The DNS address of the endpoint.
sourcepub fn get_address(&self) -> &Option<String>
pub fn get_address(&self) -> &Option<String>
The DNS address of the endpoint.
sourcepub fn vpc_security_groups(self, input: VpcSecurityGroupMembership) -> Self
pub fn vpc_security_groups(self, input: VpcSecurityGroupMembership) -> Self
Appends an item to vpc_security_groups
.
To override the contents of this collection use set_vpc_security_groups
.
The security groups associated with the endpoint.
sourcepub fn set_vpc_security_groups(
self,
input: Option<Vec<VpcSecurityGroupMembership>>
) -> Self
pub fn set_vpc_security_groups( self, input: Option<Vec<VpcSecurityGroupMembership>> ) -> Self
The security groups associated with the endpoint.
sourcepub fn get_vpc_security_groups(
&self
) -> &Option<Vec<VpcSecurityGroupMembership>>
pub fn get_vpc_security_groups( &self ) -> &Option<Vec<VpcSecurityGroupMembership>>
The security groups associated with the endpoint.
sourcepub fn vpc_endpoint(self, input: VpcEndpoint) -> Self
pub fn vpc_endpoint(self, input: VpcEndpoint) -> Self
The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
sourcepub fn set_vpc_endpoint(self, input: Option<VpcEndpoint>) -> Self
pub fn set_vpc_endpoint(self, input: Option<VpcEndpoint>) -> Self
The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
sourcepub fn get_vpc_endpoint(&self) -> &Option<VpcEndpoint>
pub fn get_vpc_endpoint(&self) -> &Option<VpcEndpoint>
The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
sourcepub fn build(self) -> EndpointAccess
pub fn build(self) -> EndpointAccess
Consumes the builder and constructs a EndpointAccess
.
Trait Implementations§
source§impl Clone for EndpointAccessBuilder
impl Clone for EndpointAccessBuilder
source§fn clone(&self) -> EndpointAccessBuilder
fn clone(&self) -> EndpointAccessBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EndpointAccessBuilder
impl Debug for EndpointAccessBuilder
source§impl Default for EndpointAccessBuilder
impl Default for EndpointAccessBuilder
source§fn default() -> EndpointAccessBuilder
fn default() -> EndpointAccessBuilder
source§impl PartialEq for EndpointAccessBuilder
impl PartialEq for EndpointAccessBuilder
source§fn eq(&self, other: &EndpointAccessBuilder) -> bool
fn eq(&self, other: &EndpointAccessBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.