Interface AssetBundleImportJobDataSourceCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetBundleImportJobDataSourceCredentials.Builder,
,AssetBundleImportJobDataSourceCredentials> SdkBuilder<AssetBundleImportJobDataSourceCredentials.Builder,
,AssetBundleImportJobDataSourceCredentials> SdkPojo
- Enclosing class:
AssetBundleImportJobDataSourceCredentials
public static interface AssetBundleImportJobDataSourceCredentials.Builder
extends SdkPojo, CopyableBuilder<AssetBundleImportJobDataSourceCredentials.Builder,AssetBundleImportJobDataSourceCredentials>
-
Method Summary
Modifier and TypeMethodDescriptioncredentialPair
(Consumer<AssetBundleImportJobDataSourceCredentialPair.Builder> credentialPair) A username and password credential pair to be used to create the imported data source.credentialPair
(AssetBundleImportJobDataSourceCredentialPair credentialPair) A username and password credential pair to be used to create the imported data source.The ARN of the Secrets Manager secret that's used to create the imported data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
credentialPair
AssetBundleImportJobDataSourceCredentials.Builder credentialPair(AssetBundleImportJobDataSourceCredentialPair credentialPair) A username and password credential pair to be used to create the imported data source. Keep this field blank if you are using a Secrets Manager secret to provide credentials.
- Parameters:
credentialPair
- A username and password credential pair to be used to create the imported data source. Keep this field blank if you are using a Secrets Manager secret to provide credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialPair
default AssetBundleImportJobDataSourceCredentials.Builder credentialPair(Consumer<AssetBundleImportJobDataSourceCredentialPair.Builder> credentialPair) A username and password credential pair to be used to create the imported data source. Keep this field blank if you are using a Secrets Manager secret to provide credentials.
This is a convenience method that creates an instance of theAssetBundleImportJobDataSourceCredentialPair.Builder
avoiding the need to create one manually viaAssetBundleImportJobDataSourceCredentialPair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentialPair(AssetBundleImportJobDataSourceCredentialPair)
.- Parameters:
credentialPair
- a consumer that will call methods onAssetBundleImportJobDataSourceCredentialPair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secretArn
The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field blank, unless you are using a secret in place of a credential pair.
- Parameters:
secretArn
- The ARN of the Secrets Manager secret that's used to create the imported data source. Keep this field blank, unless you are using a secret in place of a credential pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-