public static interface CredentialPair.Builder extends SdkPojo, CopyableBuilder<CredentialPair.Builder,CredentialPair>
Modifier and Type | Method and Description |
---|---|
CredentialPair.Builder |
alternateDataSourceParameters(Collection<DataSourceParameters> alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for these credentials.
|
CredentialPair.Builder |
alternateDataSourceParameters(Consumer<DataSourceParameters.Builder>... alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for these credentials.
|
CredentialPair.Builder |
alternateDataSourceParameters(DataSourceParameters... alternateDataSourceParameters)
A set of alternate data source parameters that you want to share for these credentials.
|
CredentialPair.Builder |
password(String password)
Password.
|
CredentialPair.Builder |
username(String username)
User name.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
CredentialPair.Builder username(String username)
User name.
username
- User name.CredentialPair.Builder password(String password)
Password.
password
- Password.CredentialPair.Builder alternateDataSourceParameters(Collection<DataSourceParameters> alternateDataSourceParameters)
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.
alternateDataSourceParameters
- 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.CredentialPair.Builder alternateDataSourceParameters(DataSourceParameters... alternateDataSourceParameters)
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.
alternateDataSourceParameters
- 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.CredentialPair.Builder alternateDataSourceParameters(Consumer<DataSourceParameters.Builder>... alternateDataSourceParameters)
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.
DataSourceParameters.Builder
avoiding the need to
create one manually via
DataSourceParameters.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #alternateDataSourceParameters(List
.
alternateDataSourceParameters
- a consumer that will call methods on
DataSourceParameters.Builder
#alternateDataSourceParameters(java.util.Collection)
Copyright © 2023. All rights reserved.