Interface AssetBundleImportJobDataSourceCredentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetBundleImportJobDataSourceCredentials.Builder,AssetBundleImportJobDataSourceCredentials>,SdkBuilder<AssetBundleImportJobDataSourceCredentials.Builder,AssetBundleImportJobDataSourceCredentials>,SdkPojo
- Enclosing class:
- AssetBundleImportJobDataSourceCredentials
@Mutable @NotThreadSafe public static interface AssetBundleImportJobDataSourceCredentials.Builder extends SdkPojo, CopyableBuilder<AssetBundleImportJobDataSourceCredentials.Builder,AssetBundleImportJobDataSourceCredentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssetBundleImportJobDataSourceCredentials.BuildercredentialPair(Consumer<AssetBundleImportJobDataSourceCredentialPair.Builder> credentialPair)A username and password credential pair to be used to create the imported data source.AssetBundleImportJobDataSourceCredentials.BuildercredentialPair(AssetBundleImportJobDataSourceCredentialPair credentialPair)A username and password credential pair to be used to create the imported data source.AssetBundleImportJobDataSourceCredentials.BuildersecretArn(String secretArn)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaAssetBundleImportJobDataSourceCredentialPair.builder().When the
Consumercompletes,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:
credentialPair(AssetBundleImportJobDataSourceCredentialPair)
-
secretArn
AssetBundleImportJobDataSourceCredentials.Builder secretArn(String 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.
-
-