Class ManifestConfig
- All Implemented Interfaces:
Serializable
,SdkPojo
,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ManifestAction
action()
Specifies what DataSync uses the manifest for.final String
Specifies what DataSync uses the manifest for.static ManifestConfig.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ManifestFormat
format()
Specifies the file format of your manifest.final String
Specifies the file format of your manifest.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends ManifestConfig.Builder> final SourceManifestConfig
source()
Specifies the manifest that you want DataSync to use and where it's hosted.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
action
Specifies what DataSync uses the manifest for.
If the service returns an enum value that is not available in the current SDK version,
action
will 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:
-
actionAsString
Specifies what DataSync uses the manifest for.
If the service returns an enum value that is not available in the current SDK version,
action
will 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:
-
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,
format
will 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:
-
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,
format
will 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:
-
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
ValidationException
error 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
ValidationException
error 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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ManifestConfig.Builder,
ManifestConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-