@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourceDataSyncRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateResourceDataSyncRequest() |
Modifier and Type | Method and Description |
---|---|
CreateResourceDataSyncRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ResourceDataSyncS3Destination |
getS3Destination()
Amazon S3 configuration details for the sync.
|
String |
getSyncName()
A name for the configuration.
|
ResourceDataSyncSource |
getSyncSource()
Specify information about the data sources to synchronize.
|
String |
getSyncType()
Specify
SyncToDestination to create a resource data sync that synchronizes data to an S3 bucket for
Inventory. |
int |
hashCode() |
void |
setS3Destination(ResourceDataSyncS3Destination s3Destination)
Amazon S3 configuration details for the sync.
|
void |
setSyncName(String syncName)
A name for the configuration.
|
void |
setSyncSource(ResourceDataSyncSource syncSource)
Specify information about the data sources to synchronize.
|
void |
setSyncType(String syncType)
Specify
SyncToDestination to create a resource data sync that synchronizes data to an S3 bucket for
Inventory. |
String |
toString()
Returns a string representation of this object.
|
CreateResourceDataSyncRequest |
withS3Destination(ResourceDataSyncS3Destination s3Destination)
Amazon S3 configuration details for the sync.
|
CreateResourceDataSyncRequest |
withSyncName(String syncName)
A name for the configuration.
|
CreateResourceDataSyncRequest |
withSyncSource(ResourceDataSyncSource syncSource)
Specify information about the data sources to synchronize.
|
CreateResourceDataSyncRequest |
withSyncType(String syncType)
Specify
SyncToDestination to create a resource data sync that synchronizes data to an S3 bucket for
Inventory. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSyncName(String syncName)
A name for the configuration.
syncName
- A name for the configuration.public String getSyncName()
A name for the configuration.
public CreateResourceDataSyncRequest withSyncName(String syncName)
A name for the configuration.
syncName
- A name for the configuration.public void setS3Destination(ResourceDataSyncS3Destination s3Destination)
Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value is
SyncToDestination.
s3Destination
- Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value is SyncToDestination.public ResourceDataSyncS3Destination getS3Destination()
Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value is
SyncToDestination.
SyncType
value is SyncToDestination.public CreateResourceDataSyncRequest withS3Destination(ResourceDataSyncS3Destination s3Destination)
Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value is
SyncToDestination.
s3Destination
- Amazon S3 configuration details for the sync. This parameter is required if the SyncType
value is SyncToDestination.public void setSyncType(String syncType)
Specify SyncToDestination
to create a resource data sync that synchronizes data to an S3 bucket for
Inventory. If you specify SyncToDestination
, you must provide a value for S3Destination
. Specify SyncFromSource
to synchronize data from a single account and multiple Regions, or multiple
AWS accounts and Regions, as listed in AWS Organizations for Explorer. If you specify SyncFromSource
, you must provide a value for SyncSource
. The default value is SyncToDestination
.
syncType
- Specify SyncToDestination
to create a resource data sync that synchronizes data to an S3
bucket for Inventory. If you specify SyncToDestination
, you must provide a value for
S3Destination
. Specify SyncFromSource
to synchronize data from a single account
and multiple Regions, or multiple AWS accounts and Regions, as listed in AWS Organizations for Explorer.
If you specify SyncFromSource
, you must provide a value for SyncSource
. The
default value is SyncToDestination
.public String getSyncType()
Specify SyncToDestination
to create a resource data sync that synchronizes data to an S3 bucket for
Inventory. If you specify SyncToDestination
, you must provide a value for S3Destination
. Specify SyncFromSource
to synchronize data from a single account and multiple Regions, or multiple
AWS accounts and Regions, as listed in AWS Organizations for Explorer. If you specify SyncFromSource
, you must provide a value for SyncSource
. The default value is SyncToDestination
.
SyncToDestination
to create a resource data sync that synchronizes data to an S3
bucket for Inventory. If you specify SyncToDestination
, you must provide a value for
S3Destination
. Specify SyncFromSource
to synchronize data from a single account
and multiple Regions, or multiple AWS accounts and Regions, as listed in AWS Organizations for Explorer.
If you specify SyncFromSource
, you must provide a value for SyncSource
. The
default value is SyncToDestination
.public CreateResourceDataSyncRequest withSyncType(String syncType)
Specify SyncToDestination
to create a resource data sync that synchronizes data to an S3 bucket for
Inventory. If you specify SyncToDestination
, you must provide a value for S3Destination
. Specify SyncFromSource
to synchronize data from a single account and multiple Regions, or multiple
AWS accounts and Regions, as listed in AWS Organizations for Explorer. If you specify SyncFromSource
, you must provide a value for SyncSource
. The default value is SyncToDestination
.
syncType
- Specify SyncToDestination
to create a resource data sync that synchronizes data to an S3
bucket for Inventory. If you specify SyncToDestination
, you must provide a value for
S3Destination
. Specify SyncFromSource
to synchronize data from a single account
and multiple Regions, or multiple AWS accounts and Regions, as listed in AWS Organizations for Explorer.
If you specify SyncFromSource
, you must provide a value for SyncSource
. The
default value is SyncToDestination
.public void setSyncSource(ResourceDataSyncSource syncSource)
Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.
syncSource
- Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.public ResourceDataSyncSource getSyncSource()
Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.
SyncType
value is SyncFromSource.public CreateResourceDataSyncRequest withSyncSource(ResourceDataSyncSource syncSource)
Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.
syncSource
- Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.public String toString()
toString
in class Object
Object.toString()
public CreateResourceDataSyncRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()