Struct aws_sdk_quicksight::model::data_source::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DataSource
Implementations
sourceimpl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the data source.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the data source.
sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn type(self, input: DataSourceType) -> Self
pub fn type(self, input: DataSourceType) -> Self
The type of the data source. This type indicates which database engine the data source connects to.
sourcepub fn set_type(self, input: Option<DataSourceType>) -> Self
pub fn set_type(self, input: Option<DataSourceType>) -> Self
The type of the data source. This type indicates which database engine the data source connects to.
sourcepub fn status(self, input: ResourceStatus) -> Self
pub fn status(self, input: ResourceStatus) -> Self
The HTTP status of the request.
sourcepub fn set_status(self, input: Option<ResourceStatus>) -> Self
pub fn set_status(self, input: Option<ResourceStatus>) -> Self
The HTTP status of the request.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The time that this data source was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The time that this data source was created.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The last time that this data source was updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The last time that this data source was updated.
sourcepub fn data_source_parameters(self, input: DataSourceParameters) -> Self
pub fn data_source_parameters(self, input: DataSourceParameters) -> Self
The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
sourcepub fn set_data_source_parameters(
self,
input: Option<DataSourceParameters>
) -> Self
pub fn set_data_source_parameters(
self,
input: Option<DataSourceParameters>
) -> Self
The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
sourcepub fn alternate_data_source_parameters(
self,
input: DataSourceParameters
) -> Self
pub fn alternate_data_source_parameters(
self,
input: DataSourceParameters
) -> Self
Appends an item to alternate_data_source_parameters
.
To override the contents of this collection use set_alternate_data_source_parameters
.
A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters
list is null, the Credentials
originally used with this DataSourceParameters
are automatically allowed.
sourcepub fn set_alternate_data_source_parameters(
self,
input: Option<Vec<DataSourceParameters>>
) -> Self
pub fn set_alternate_data_source_parameters(
self,
input: Option<Vec<DataSourceParameters>>
) -> Self
A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters
list is null, the Credentials
originally used with this DataSourceParameters
are automatically allowed.
sourcepub fn vpc_connection_properties(self, input: VpcConnectionProperties) -> Self
pub fn vpc_connection_properties(self, input: VpcConnectionProperties) -> Self
The VPC connection information. You need to use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
sourcepub fn set_vpc_connection_properties(
self,
input: Option<VpcConnectionProperties>
) -> Self
pub fn set_vpc_connection_properties(
self,
input: Option<VpcConnectionProperties>
) -> Self
The VPC connection information. You need to use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
sourcepub fn ssl_properties(self, input: SslProperties) -> Self
pub fn ssl_properties(self, input: SslProperties) -> Self
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
sourcepub fn set_ssl_properties(self, input: Option<SslProperties>) -> Self
pub fn set_ssl_properties(self, input: Option<SslProperties>) -> Self
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
sourcepub fn error_info(self, input: DataSourceErrorInfo) -> Self
pub fn error_info(self, input: DataSourceErrorInfo) -> Self
Error information from the last update or the creation of the data source.
sourcepub fn set_error_info(self, input: Option<DataSourceErrorInfo>) -> Self
pub fn set_error_info(self, input: Option<DataSourceErrorInfo>) -> Self
Error information from the last update or the creation of the data source.
sourcepub fn build(self) -> DataSource
pub fn build(self) -> DataSource
Consumes the builder and constructs a DataSource
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more