Struct aws_sdk_redshift::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationInputBuilder
source · #[non_exhaustive]pub struct DescribeEndpointAuthorizationInputBuilder { /* private fields */ }
Expand description
A builder for DescribeEndpointAuthorizationInput
.
Implementations§
source§impl DescribeEndpointAuthorizationInputBuilder
impl DescribeEndpointAuthorizationInputBuilder
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 to access.
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 to access.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The cluster identifier of the cluster to access.
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If Grantee
parameter is true, then the Account
value is of the grantor.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If Grantee
parameter is true, then the Account
value is of the grantor.
sourcepub fn get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If Grantee
parameter is true, then the Account
value is of the grantor.
sourcepub fn grantee(self, input: bool) -> Self
pub fn grantee(self, input: bool) -> Self
Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
sourcepub fn set_grantee(self, input: Option<bool>) -> Self
pub fn set_grantee(self, input: Option<bool>) -> Self
Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
sourcepub fn get_grantee(&self) -> &Option<bool>
pub fn get_grantee(&self) -> &Option<bool>
Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a pagination token called a Marker
is included in the response so that the remaining results can be retrieved.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a pagination token called a Marker
is included in the response so that the remaining results can be retrieved.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a pagination token called a Marker
is included in the response so that the remaining results can be retrieved.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords
parameter.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords
parameter.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords
parameter.
sourcepub fn build(self) -> Result<DescribeEndpointAuthorizationInput, BuildError>
pub fn build(self) -> Result<DescribeEndpointAuthorizationInput, BuildError>
Consumes the builder and constructs a DescribeEndpointAuthorizationInput
.
source§impl DescribeEndpointAuthorizationInputBuilder
impl DescribeEndpointAuthorizationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeEndpointAuthorizationOutput, SdkError<DescribeEndpointAuthorizationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeEndpointAuthorizationOutput, SdkError<DescribeEndpointAuthorizationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeEndpointAuthorizationInputBuilder
impl Clone for DescribeEndpointAuthorizationInputBuilder
source§fn clone(&self) -> DescribeEndpointAuthorizationInputBuilder
fn clone(&self) -> DescribeEndpointAuthorizationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeEndpointAuthorizationInputBuilder
impl Default for DescribeEndpointAuthorizationInputBuilder
source§fn default() -> DescribeEndpointAuthorizationInputBuilder
fn default() -> DescribeEndpointAuthorizationInputBuilder
source§impl PartialEq for DescribeEndpointAuthorizationInputBuilder
impl PartialEq for DescribeEndpointAuthorizationInputBuilder
source§fn eq(&self, other: &DescribeEndpointAuthorizationInputBuilder) -> bool
fn eq(&self, other: &DescribeEndpointAuthorizationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.