Interface ManifestConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManifestConfig.Builder,ManifestConfig>,SdkBuilder<ManifestConfig.Builder,ManifestConfig>,SdkPojo
- Enclosing class:
- ManifestConfig
public static interface ManifestConfig.Builder extends SdkPojo, CopyableBuilder<ManifestConfig.Builder,ManifestConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ManifestConfig.Builderaction(String action)Specifies what DataSync uses the manifest for.ManifestConfig.Builderaction(ManifestAction action)Specifies what DataSync uses the manifest for.ManifestConfig.Builderformat(String format)Specifies the file format of your manifest.ManifestConfig.Builderformat(ManifestFormat format)Specifies the file format of your manifest.default ManifestConfig.Buildersource(Consumer<SourceManifestConfig.Builder> source)Specifies the manifest that you want DataSync to use and where it's hosted.ManifestConfig.Buildersource(SourceManifestConfig source)Specifies the manifest that you want DataSync to use and where it's hosted.-
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 Detail
-
action
ManifestConfig.Builder action(String action)
Specifies what DataSync uses the manifest for.
- Parameters:
action- Specifies what DataSync uses the manifest for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManifestAction,ManifestAction
-
action
ManifestConfig.Builder action(ManifestAction action)
Specifies what DataSync uses the manifest for.
- Parameters:
action- Specifies what DataSync uses the manifest for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManifestAction,ManifestAction
-
format
ManifestConfig.Builder format(String format)
Specifies the file format of your manifest. For more information, see Creating a manifest.
- Parameters:
format- Specifies the file format of your manifest. For more information, see Creating a manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManifestFormat,ManifestFormat
-
format
ManifestConfig.Builder format(ManifestFormat format)
Specifies the file format of your manifest. For more information, see Creating a manifest.
- Parameters:
format- Specifies the file format of your manifest. For more information, see Creating a manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManifestFormat,ManifestFormat
-
source
ManifestConfig.Builder source(SourceManifestConfig source)
Specifies the manifest that you want DataSync to use and where it's hosted.
You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and
ValidationExceptionerror stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.- Parameters:
source- Specifies the manifest that you want DataSync to use and where it's hosted.You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and
ValidationExceptionerror stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default ManifestConfig.Builder source(Consumer<SourceManifestConfig.Builder> source)
Specifies the manifest that you want DataSync to use and where it's hosted.
This is a convenience method that creates an instance of theYou must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and
ValidationExceptionerror stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.SourceManifestConfig.Builderavoiding the need to create one manually viaSourceManifestConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(SourceManifestConfig).- Parameters:
source- a consumer that will call methods onSourceManifestConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(SourceManifestConfig)
-
-