Class ManifestConfig
- java.lang.Object
-
- software.amazon.awssdk.services.datasync.model.ManifestConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManifestConfig.Builder,ManifestConfig>
@Generated("software.amazon.awssdk:codegen") public final class ManifestConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManifestConfig.Builder,ManifestConfig>
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceManifestConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ManifestActionaction()Specifies what DataSync uses the manifest for.StringactionAsString()Specifies what DataSync uses the manifest for.static ManifestConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ManifestFormatformat()Specifies the file format of your manifest.StringformatAsString()Specifies the file format of your manifest.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ManifestConfig.Builder>serializableBuilderClass()SourceManifestConfigsource()Specifies the manifest that you want DataSync to use and where it's hosted.ManifestConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final ManifestAction action()
Specifies what DataSync uses the manifest for.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnManifestAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Specifies what DataSync uses the manifest for.
- See Also:
ManifestAction
-
actionAsString
public final String actionAsString()
Specifies what DataSync uses the manifest for.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnManifestAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Specifies what DataSync uses the manifest for.
- See Also:
ManifestAction
-
format
public final ManifestFormat format()
Specifies the file format of your manifest. For more information, see Creating a manifest.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnManifestFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- Specifies the file format of your manifest. For more information, see Creating a manifest.
- See Also:
ManifestFormat
-
formatAsString
public final String formatAsString()
Specifies the file format of your manifest. For more information, see Creating a manifest.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnManifestFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- Specifies the file format of your manifest. For more information, see Creating a manifest.
- See Also:
ManifestFormat
-
source
public final 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.- Returns:
- 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.
-
toBuilder
public ManifestConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManifestConfig.Builder,ManifestConfig>
-
builder
public static ManifestConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManifestConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-