@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManifestConfig extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ManifestConfig() |
Modifier and Type | Method and Description |
---|---|
ManifestConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies what DataSync uses the manifest for.
|
String |
getFormat()
Specifies the file format of your manifest.
|
SourceManifestConfig |
getSource()
Specifies the manifest that you want DataSync to use and where it's hosted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
Specifies what DataSync uses the manifest for.
|
void |
setFormat(String format)
Specifies the file format of your manifest.
|
void |
setSource(SourceManifestConfig source)
Specifies the manifest that you want DataSync to use and where it's hosted.
|
String |
toString()
Returns a string representation of this object.
|
ManifestConfig |
withAction(ManifestAction action)
Specifies what DataSync uses the manifest for.
|
ManifestConfig |
withAction(String action)
Specifies what DataSync uses the manifest for.
|
ManifestConfig |
withFormat(ManifestFormat format)
Specifies the file format of your manifest.
|
ManifestConfig |
withFormat(String format)
Specifies the file format of your manifest.
|
ManifestConfig |
withSource(SourceManifestConfig source)
Specifies the manifest that you want DataSync to use and where it's hosted.
|
public void setAction(String action)
Specifies what DataSync uses the manifest for.
action
- Specifies what DataSync uses the manifest for.ManifestAction
public String getAction()
Specifies what DataSync uses the manifest for.
ManifestAction
public ManifestConfig withAction(String action)
Specifies what DataSync uses the manifest for.
action
- Specifies what DataSync uses the manifest for.ManifestAction
public ManifestConfig withAction(ManifestAction action)
Specifies what DataSync uses the manifest for.
action
- Specifies what DataSync uses the manifest for.ManifestAction
public void setFormat(String format)
Specifies the file format of your manifest. For more information, see Creating a manifest.
format
- Specifies the file format of your manifest. For more information, see Creating a manifest.ManifestFormat
public String getFormat()
Specifies the file format of your manifest. For more information, see Creating a manifest.
ManifestFormat
public ManifestConfig withFormat(String format)
Specifies the file format of your manifest. For more information, see Creating a manifest.
format
- Specifies the file format of your manifest. For more information, see Creating a manifest.ManifestFormat
public ManifestConfig withFormat(ManifestFormat format)
Specifies the file format of your manifest. For more information, see Creating a manifest.
format
- Specifies the file format of your manifest. For more information, see Creating a manifest.ManifestFormat
public void setSource(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 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.
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.
public SourceManifestConfig getSource()
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.
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.
public ManifestConfig withSource(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 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.
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.
public String toString()
toString
in class Object
Object.toString()
public ManifestConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.