Interface DataSourceCredentials.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DataSourceCredentials.Builder,,- DataSourceCredentials> - SdkBuilder<DataSourceCredentials.Builder,,- DataSourceCredentials> - SdkPojo
- Enclosing class:
- DataSourceCredentials
- 
Method SummaryModifier and TypeMethodDescriptioncopySourceArn(String copySourceArn) The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.default DataSourceCredentials.BuildercredentialPair(Consumer<CredentialPair.Builder> credentialPair) Credential pair.credentialPair(CredentialPair credentialPair) Credential pair.The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.default DataSourceCredentials.BuilderwebProxyCredentials(Consumer<WebProxyCredentials.Builder> webProxyCredentials) The credentials for connecting through a web proxy server.webProxyCredentials(WebProxyCredentials webProxyCredentials) The credentials for connecting through a web proxy server.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
credentialPairCredential pair. For more information, see CredentialPair.- Parameters:
- credentialPair- Credential pair. For more information, see- CredentialPair.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
credentialPairdefault DataSourceCredentials.Builder credentialPair(Consumer<CredentialPair.Builder> credentialPair) Credential pair. For more information, see This is a convenience method that creates an instance of theCredentialPair.CredentialPair.Builderavoiding the need to create one manually viaCredentialPair.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentialPair(CredentialPair).- Parameters:
- credentialPair- a consumer that will call methods on- CredentialPair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
copySourceArnThe Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArnis not null, the credential pair from the data source in the ARN is used as the credentials for theDataSourceCredentialsstructure.- Parameters:
- copySourceArn- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When- CopySourceArnis not null, the credential pair from the data source in the ARN is used as the credentials for the- DataSourceCredentialsstructure.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
secretArnThe Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager. - Parameters:
- secretArn- The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
webProxyCredentialsThe credentials for connecting through a web proxy server. - Parameters:
- webProxyCredentials- The credentials for connecting through a web proxy server.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
webProxyCredentialsdefault DataSourceCredentials.Builder webProxyCredentials(Consumer<WebProxyCredentials.Builder> webProxyCredentials) The credentials for connecting through a web proxy server. This is a convenience method that creates an instance of theWebProxyCredentials.Builderavoiding the need to create one manually viaWebProxyCredentials.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebProxyCredentials(WebProxyCredentials).- Parameters:
- webProxyCredentials- a consumer that will call methods on- WebProxyCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-