Interface ManifestConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ManifestConfig.Builder,,ManifestConfig> SdkBuilder<ManifestConfig.Builder,,ManifestConfig> SdkPojo
- Enclosing class:
ManifestConfig
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies what DataSync uses the manifest for.action(ManifestAction action) Specifies what DataSync uses the manifest for.Specifies the file format of your manifest.format(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.source(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-
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:
-
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:
-
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:
-
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
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:
-