Class StartMetadataModelImportRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest
-
- software.amazon.awssdk.services.databasemigration.model.StartMetadataModelImportRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartMetadataModelImportRequest.Builder,StartMetadataModelImportRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartMetadataModelImportRequest extends DatabaseMigrationRequest implements ToCopyableBuilder<StartMetadataModelImportRequest.Builder,StartMetadataModelImportRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartMetadataModelImportRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartMetadataModelImportRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmigrationProjectIdentifier()The migration project name or Amazon Resource Name (ARN).OriginTypeValueorigin()Whether to load metadata to the source or target database.StringoriginAsString()Whether to load metadata to the source or target database.Booleanrefresh()Iftrue, DMS loads metadata for the specified objects from the source database.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()StringselectionRules()A value that specifies the database objects to import.static Class<? extends StartMetadataModelImportRequest.Builder>serializableBuilderClass()StartMetadataModelImportRequest.BuildertoBuilder()StringtoString()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
-
migrationProjectIdentifier
public final String migrationProjectIdentifier()
The migration project name or Amazon Resource Name (ARN).
- Returns:
- The migration project name or Amazon Resource Name (ARN).
-
selectionRules
public final String selectionRules()
A value that specifies the database objects to import.
- Returns:
- A value that specifies the database objects to import.
-
origin
public final OriginTypeValue origin()
Whether to load metadata to the source or target database.
If the service returns an enum value that is not available in the current SDK version,
originwill returnOriginTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginAsString().- Returns:
- Whether to load metadata to the source or target database.
- See Also:
OriginTypeValue
-
originAsString
public final String originAsString()
Whether to load metadata to the source or target database.
If the service returns an enum value that is not available in the current SDK version,
originwill returnOriginTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginAsString().- Returns:
- Whether to load metadata to the source or target database.
- See Also:
OriginTypeValue
-
refresh
public final Boolean refresh()
If
true, DMS loads metadata for the specified objects from the source database.- Returns:
- If
true, DMS loads metadata for the specified objects from the source database.
-
toBuilder
public StartMetadataModelImportRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartMetadataModelImportRequest.Builder,StartMetadataModelImportRequest>- Specified by:
toBuilderin classDatabaseMigrationRequest
-
builder
public static StartMetadataModelImportRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartMetadataModelImportRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-