Class CreateResourceDataSyncRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssm.model.SsmRequest
-
- software.amazon.awssdk.services.ssm.model.CreateResourceDataSyncRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateResourceDataSyncRequest extends SsmRequest implements ToCopyableBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreateResourceDataSyncRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
SpecifySyncToDestination
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.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
syncName
public final String syncName()
A name for the configuration.
- Returns:
- A name for the configuration.
-
s3Destination
public final ResourceDataSyncS3Destination s3Destination()
Amazon S3 configuration details for the sync. This parameter is required if the
SyncType
value is SyncToDestination.- Returns:
- Amazon S3 configuration details for the sync. This parameter is required if the
SyncType
value is SyncToDestination.
-
syncType
public final String syncType()
Specify
SyncToDestination
to create a resource data sync that synchronizes data to an S3 bucket for Inventory. If you specifySyncToDestination
, you must provide a value forS3Destination
. SpecifySyncFromSource
to synchronize data from a single account and multiple Regions, or multiple Amazon Web Services accounts and Amazon Web Services Regions, as listed in Organizations for Explorer. If you specifySyncFromSource
, you must provide a value forSyncSource
. The default value isSyncToDestination
.- Returns:
- Specify
SyncToDestination
to create a resource data sync that synchronizes data to an S3 bucket for Inventory. If you specifySyncToDestination
, you must provide a value forS3Destination
. SpecifySyncFromSource
to synchronize data from a single account and multiple Regions, or multiple Amazon Web Services accounts and Amazon Web Services Regions, as listed in Organizations for Explorer. If you specifySyncFromSource
, you must provide a value forSyncSource
. The default value isSyncToDestination
.
-
syncSource
public final ResourceDataSyncSource syncSource()
Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.- Returns:
- Specify information about the data sources to synchronize. This parameter is required if the
SyncType
value is SyncFromSource.
-
toBuilder
public CreateResourceDataSyncRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreateResourceDataSyncRequest.Builder,CreateResourceDataSyncRequest>
- Specified by:
toBuilder
in classSsmRequest
-
builder
public static CreateResourceDataSyncRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateResourceDataSyncRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-