Class CreateDataTransformationProfileSource
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CreateDataTransformationProfileSource.Builder,CreateDataTransformationProfileSource>
The source for initial content when creating a data transformation profile. Specify exactly one variant: a built-in starter profile, an existing profile version to clone, raw profile content, or a sample data file.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.Creates the profile by cloning an existing profile at a specific version.fromExistingVersionedProfileId(Consumer<ExistingVersionedProfileSource.Builder> existingVersionedProfileId) Create an instance of this class withexistingVersionedProfileId()initialized to the given value.fromExistingVersionedProfileId(ExistingVersionedProfileSource existingVersionedProfileId) Create an instance of this class withexistingVersionedProfileId()initialized to the given value.fromProfileMapping(Consumer<ProfileMappingSource.Builder> profileMapping) Create an instance of this class withprofileMapping()initialized to the given value.fromProfileMapping(ProfileMappingSource profileMapping) Create an instance of this class withprofileMapping()initialized to the given value.fromSampleData(Consumer<SampleDataSource.Builder> sampleData) Create an instance of this class withsampleData()initialized to the given value.fromSampleData(SampleDataSource sampleData) Create an instance of this class withsampleData()initialized to the given value.fromStarterProfile(Consumer<StarterProfileSource.Builder> starterProfile) Create an instance of this class withstarterProfile()initialized to the given value.fromStarterProfile(StarterProfileSource starterProfile) Create an instance of this class withstarterProfile()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ProfileMappingSourceCreates the profile from raw profile content that you provide directly.final SampleDataSourceCreates the profile from a sample data file stored in Amazon S3.static Class<? extends CreateDataTransformationProfileSource.Builder> final StarterProfileSourceCreates the profile from a built-in starter profile.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
starterProfile
Creates the profile from a built-in starter profile. Valid only when the source format is Consolidated Clinical Document Architecture (C-CDA).
- Returns:
- Creates the profile from a built-in starter profile. Valid only when the source format is Consolidated Clinical Document Architecture (C-CDA).
-
existingVersionedProfileId
Creates the profile by cloning an existing profile at a specific version.
- Returns:
- Creates the profile by cloning an existing profile at a specific version.
-
profileMapping
Creates the profile from raw profile content that you provide directly. Use this variant for continuous integration and continuous delivery (CI/CD) workflows.
- Returns:
- Creates the profile from raw profile content that you provide directly. Use this variant for continuous integration and continuous delivery (CI/CD) workflows.
-
sampleData
Creates the profile from a sample data file stored in Amazon S3. Valid only when the source format is Comma-separated values (CSV).
- Returns:
- Creates the profile from a sample data file stored in Amazon S3. Valid only when the source format is Comma-separated values (CSV).
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateDataTransformationProfileSource.Builder,CreateDataTransformationProfileSource> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends CreateDataTransformationProfileSource.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
fromStarterProfile
public static CreateDataTransformationProfileSource fromStarterProfile(StarterProfileSource starterProfile) Create an instance of this class withstarterProfile()initialized to the given value.Creates the profile from a built-in starter profile. Valid only when the source format is Consolidated Clinical Document Architecture (C-CDA).
- Parameters:
starterProfile- Creates the profile from a built-in starter profile. Valid only when the source format is Consolidated Clinical Document Architecture (C-CDA).
-
fromStarterProfile
public static CreateDataTransformationProfileSource fromStarterProfile(Consumer<StarterProfileSource.Builder> starterProfile) Create an instance of this class withstarterProfile()initialized to the given value.Creates the profile from a built-in starter profile. Valid only when the source format is Consolidated Clinical Document Architecture (C-CDA).
- Parameters:
starterProfile- Creates the profile from a built-in starter profile. Valid only when the source format is Consolidated Clinical Document Architecture (C-CDA).
-
fromExistingVersionedProfileId
public static CreateDataTransformationProfileSource fromExistingVersionedProfileId(ExistingVersionedProfileSource existingVersionedProfileId) Create an instance of this class withexistingVersionedProfileId()initialized to the given value.Creates the profile by cloning an existing profile at a specific version.
- Parameters:
existingVersionedProfileId- Creates the profile by cloning an existing profile at a specific version.
-
fromExistingVersionedProfileId
public static CreateDataTransformationProfileSource fromExistingVersionedProfileId(Consumer<ExistingVersionedProfileSource.Builder> existingVersionedProfileId) Create an instance of this class withexistingVersionedProfileId()initialized to the given value.Creates the profile by cloning an existing profile at a specific version.
- Parameters:
existingVersionedProfileId- Creates the profile by cloning an existing profile at a specific version.
-
fromProfileMapping
public static CreateDataTransformationProfileSource fromProfileMapping(ProfileMappingSource profileMapping) Create an instance of this class withprofileMapping()initialized to the given value.Creates the profile from raw profile content that you provide directly. Use this variant for continuous integration and continuous delivery (CI/CD) workflows.
- Parameters:
profileMapping- Creates the profile from raw profile content that you provide directly. Use this variant for continuous integration and continuous delivery (CI/CD) workflows.
-
fromProfileMapping
public static CreateDataTransformationProfileSource fromProfileMapping(Consumer<ProfileMappingSource.Builder> profileMapping) Create an instance of this class withprofileMapping()initialized to the given value.Creates the profile from raw profile content that you provide directly. Use this variant for continuous integration and continuous delivery (CI/CD) workflows.
- Parameters:
profileMapping- Creates the profile from raw profile content that you provide directly. Use this variant for continuous integration and continuous delivery (CI/CD) workflows.
-
fromSampleData
Create an instance of this class withsampleData()initialized to the given value.Creates the profile from a sample data file stored in Amazon S3. Valid only when the source format is Comma-separated values (CSV).
- Parameters:
sampleData- Creates the profile from a sample data file stored in Amazon S3. Valid only when the source format is Comma-separated values (CSV).
-
fromSampleData
public static CreateDataTransformationProfileSource fromSampleData(Consumer<SampleDataSource.Builder> sampleData) Create an instance of this class withsampleData()initialized to the given value.Creates the profile from a sample data file stored in Amazon S3. Valid only when the source format is Comma-separated values (CSV).
- Parameters:
sampleData- Creates the profile from a sample data file stored in Amazon S3. Valid only when the source format is Comma-separated values (CSV).
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beCreateDataTransformationProfileSource.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beCreateDataTransformationProfileSource.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-