Struct aws_sdk_redshift::operation::describe_endpoint_authorization::builders::DescribeEndpointAuthorizationFluentBuilder
source · pub struct DescribeEndpointAuthorizationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeEndpointAuthorization
.
Describes an endpoint authorization.
Implementations§
source§impl DescribeEndpointAuthorizationFluentBuilder
impl DescribeEndpointAuthorizationFluentBuilder
sourcepub fn as_input(&self) -> &DescribeEndpointAuthorizationInputBuilder
pub fn as_input(&self) -> &DescribeEndpointAuthorizationInputBuilder
Access the DescribeEndpointAuthorization as a reference.
sourcepub async fn send(
self
) -> Result<DescribeEndpointAuthorizationOutput, SdkError<DescribeEndpointAuthorizationError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeEndpointAuthorizationOutput, SdkError<DescribeEndpointAuthorizationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeEndpointAuthorizationOutput, DescribeEndpointAuthorizationError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeEndpointAuthorizationOutput, DescribeEndpointAuthorizationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeEndpointAuthorizationPaginator
pub fn into_paginator(self) -> DescribeEndpointAuthorizationPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
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.
Trait Implementations§
source§impl Clone for DescribeEndpointAuthorizationFluentBuilder
impl Clone for DescribeEndpointAuthorizationFluentBuilder
source§fn clone(&self) -> DescribeEndpointAuthorizationFluentBuilder
fn clone(&self) -> DescribeEndpointAuthorizationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more