@Generated(value="software.amazon.awssdk:codegen") public final class CreateResourceDataSyncRequest extends SsmRequest implements ToCopyableBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateResourceDataSyncRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateResourceDataSyncRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceDataSyncS3Destination |
s3Destination()
Amazon S3 configuration details for the sync.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateResourceDataSyncRequest.Builder> |
serializableBuilderClass() |
String |
syncName()
A name for the configuration.
|
ResourceDataSyncSource |
syncSource()
Specify information about the data sources to synchronize.
|
String |
syncType()
Specify
SyncToDestination to create a resource data sync that synchronizes data to an S3 bucket for
Inventory. |
CreateResourceDataSyncRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String syncName()
A name for the configuration.
public ResourceDataSyncS3Destination s3Destination()
Amazon S3 configuration details for the sync. This parameter is required if the SyncType value is
SyncToDestination.
SyncType
value is SyncToDestination.public 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.
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 ResourceDataSyncSource syncSource()
Specify information about the data sources to synchronize. This parameter is required if the
SyncType value is SyncFromSource.
SyncType value is SyncFromSource.public CreateResourceDataSyncRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>toBuilder in class SsmRequestpublic static CreateResourceDataSyncRequest.Builder builder()
public static Class<? extends CreateResourceDataSyncRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.