Struct aws_sdk_quicksight::model::credential_pair::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CredentialPair.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
User name.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
Password.
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 these credentials. 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 new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is 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 these credentials. 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 new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.
sourcepub fn build(self) -> CredentialPair
pub fn build(self) -> CredentialPair
Consumes the builder and constructs a CredentialPair.