Class CreateReplicationTaskRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.databasemigrationservice.model.CreateReplicationTaskRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateReplicationTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateReplicationTaskRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateReplicationTaskRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Date
getCdcStartTime()
The start time for the Change Data Capture (CDC) operation.String
getMigrationType()
The migration type.String
getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.String
getReplicationTaskIdentifier()
The replication task identifier.String
getReplicationTaskSettings()
Settings for the task, such as target metadata settings.String
getSourceEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.String
getTableMappings()
The path of the JSON file that contains the table mappings.List<Tag>
getTags()
Tags to be added to the replication instance.String
getTargetEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.int
hashCode()
void
setCdcStartTime(Date cdcStartTime)
The start time for the Change Data Capture (CDC) operation.void
setMigrationType(MigrationTypeValue migrationType)
The migration type.void
setMigrationType(String migrationType)
The migration type.void
setReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.void
setReplicationTaskIdentifier(String replicationTaskIdentifier)
The replication task identifier.void
setReplicationTaskSettings(String replicationTaskSettings)
Settings for the task, such as target metadata settings.void
setSourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.void
setTableMappings(String tableMappings)
The path of the JSON file that contains the table mappings.void
setTags(Collection<Tag> tags)
Tags to be added to the replication instance.void
setTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateReplicationTaskRequest
withCdcStartTime(Date cdcStartTime)
The start time for the Change Data Capture (CDC) operation.CreateReplicationTaskRequest
withMigrationType(MigrationTypeValue migrationType)
The migration type.CreateReplicationTaskRequest
withMigrationType(String migrationType)
The migration type.CreateReplicationTaskRequest
withReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.CreateReplicationTaskRequest
withReplicationTaskIdentifier(String replicationTaskIdentifier)
The replication task identifier.CreateReplicationTaskRequest
withReplicationTaskSettings(String replicationTaskSettings)
Settings for the task, such as target metadata settings.CreateReplicationTaskRequest
withSourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.CreateReplicationTaskRequest
withTableMappings(String tableMappings)
The path of the JSON file that contains the table mappings.CreateReplicationTaskRequest
withTags(Tag... tags)
Tags to be added to the replication instance.CreateReplicationTaskRequest
withTags(Collection<Tag> tags)
Tags to be added to the replication instance.CreateReplicationTaskRequest
withTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setReplicationTaskIdentifier
public void setReplicationTaskIdentifier(String replicationTaskIdentifier)
The replication task identifier.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Parameters:
replicationTaskIdentifier
- The replication task identifier.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
-
getReplicationTaskIdentifier
public String getReplicationTaskIdentifier()
The replication task identifier.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Returns:
- The replication task identifier.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
-
withReplicationTaskIdentifier
public CreateReplicationTaskRequest withReplicationTaskIdentifier(String replicationTaskIdentifier)
The replication task identifier.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Parameters:
replicationTaskIdentifier
- The replication task identifier.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceEndpointArn
public void setSourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Parameters:
sourceEndpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
getSourceEndpointArn
public String getSourceEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Returns:
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
withSourceEndpointArn
public CreateReplicationTaskRequest withSourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Parameters:
sourceEndpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetEndpointArn
public void setTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Parameters:
targetEndpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
getTargetEndpointArn
public String getTargetEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Returns:
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
withTargetEndpointArn
public CreateReplicationTaskRequest withTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Parameters:
targetEndpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReplicationInstanceArn
public void setReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
- Parameters:
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.
-
getReplicationInstanceArn
public String getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
- Returns:
- The Amazon Resource Name (ARN) of the replication instance.
-
withReplicationInstanceArn
public CreateReplicationTaskRequest withReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
- Parameters:
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMigrationType
public void setMigrationType(String migrationType)
The migration type.
- Parameters:
migrationType
- The migration type.- See Also:
MigrationTypeValue
-
getMigrationType
public String getMigrationType()
The migration type.
- Returns:
- The migration type.
- See Also:
MigrationTypeValue
-
withMigrationType
public CreateReplicationTaskRequest withMigrationType(String migrationType)
The migration type.
- Parameters:
migrationType
- The migration type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MigrationTypeValue
-
setMigrationType
public void setMigrationType(MigrationTypeValue migrationType)
The migration type.
- Parameters:
migrationType
- The migration type.- See Also:
MigrationTypeValue
-
withMigrationType
public CreateReplicationTaskRequest withMigrationType(MigrationTypeValue migrationType)
The migration type.
- Parameters:
migrationType
- The migration type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MigrationTypeValue
-
setTableMappings
public void setTableMappings(String tableMappings)
The path of the JSON file that contains the table mappings.
- Parameters:
tableMappings
- The path of the JSON file that contains the table mappings.
-
getTableMappings
public String getTableMappings()
The path of the JSON file that contains the table mappings.
- Returns:
- The path of the JSON file that contains the table mappings.
-
withTableMappings
public CreateReplicationTaskRequest withTableMappings(String tableMappings)
The path of the JSON file that contains the table mappings.
- Parameters:
tableMappings
- The path of the JSON file that contains the table mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReplicationTaskSettings
public void setReplicationTaskSettings(String replicationTaskSettings)
Settings for the task, such as target metadata settings.
- Parameters:
replicationTaskSettings
- Settings for the task, such as target metadata settings.
-
getReplicationTaskSettings
public String getReplicationTaskSettings()
Settings for the task, such as target metadata settings.
- Returns:
- Settings for the task, such as target metadata settings.
-
withReplicationTaskSettings
public CreateReplicationTaskRequest withReplicationTaskSettings(String replicationTaskSettings)
Settings for the task, such as target metadata settings.
- Parameters:
replicationTaskSettings
- Settings for the task, such as target metadata settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCdcStartTime
public void setCdcStartTime(Date cdcStartTime)
The start time for the Change Data Capture (CDC) operation.
- Parameters:
cdcStartTime
- The start time for the Change Data Capture (CDC) operation.
-
getCdcStartTime
public Date getCdcStartTime()
The start time for the Change Data Capture (CDC) operation.
- Returns:
- The start time for the Change Data Capture (CDC) operation.
-
withCdcStartTime
public CreateReplicationTaskRequest withCdcStartTime(Date cdcStartTime)
The start time for the Change Data Capture (CDC) operation.
- Parameters:
cdcStartTime
- The start time for the Change Data Capture (CDC) operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
public List<Tag> getTags()
Tags to be added to the replication instance.
- Returns:
- Tags to be added to the replication instance.
-
setTags
public void setTags(Collection<Tag> tags)
Tags to be added to the replication instance.
- Parameters:
tags
- Tags to be added to the replication instance.
-
withTags
public CreateReplicationTaskRequest withTags(Tag... tags)
Tags to be added to the replication instance.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- Tags to be added to the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public CreateReplicationTaskRequest withTags(Collection<Tag> tags)
Tags to be added to the replication instance.
- Parameters:
tags
- Tags to be added to the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateReplicationTaskRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-