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 CreateReplicationTaskRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)DategetCdcStartTime()The start time for the Change Data Capture (CDC) operation.StringgetMigrationType()The migration type.StringgetReplicationInstanceArn()The Amazon Resource Name (ARN) of the replication instance.StringgetReplicationTaskIdentifier()The replication task identifier.StringgetReplicationTaskSettings()Settings for the task, such as target metadata settings.StringgetSourceEndpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringgetTableMappings()The path of the JSON file that contains the table mappings.List<Tag>getTags()Tags to be added to the replication instance.StringgetTargetEndpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.inthashCode()voidsetCdcStartTime(Date cdcStartTime)The start time for the Change Data Capture (CDC) operation.voidsetMigrationType(MigrationTypeValue migrationType)The migration type.voidsetMigrationType(String migrationType)The migration type.voidsetReplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.voidsetReplicationTaskIdentifier(String replicationTaskIdentifier)The replication task identifier.voidsetReplicationTaskSettings(String replicationTaskSettings)Settings for the task, such as target metadata settings.voidsetSourceEndpointArn(String sourceEndpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.voidsetTableMappings(String tableMappings)The path of the JSON file that contains the table mappings.voidsetTags(Collection<Tag> tags)Tags to be added to the replication instance.voidsetTargetEndpointArn(String targetEndpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateReplicationTaskRequestwithCdcStartTime(Date cdcStartTime)The start time for the Change Data Capture (CDC) operation.CreateReplicationTaskRequestwithMigrationType(MigrationTypeValue migrationType)The migration type.CreateReplicationTaskRequestwithMigrationType(String migrationType)The migration type.CreateReplicationTaskRequestwithReplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.CreateReplicationTaskRequestwithReplicationTaskIdentifier(String replicationTaskIdentifier)The replication task identifier.CreateReplicationTaskRequestwithReplicationTaskSettings(String replicationTaskSettings)Settings for the task, such as target metadata settings.CreateReplicationTaskRequestwithSourceEndpointArn(String sourceEndpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.CreateReplicationTaskRequestwithTableMappings(String tableMappings)The path of the JSON file that contains the table mappings.CreateReplicationTaskRequestwithTags(Tag... tags)Tags to be added to the replication instance.CreateReplicationTaskRequestwithTags(Collection<Tag> tags)Tags to be added to the replication instance.CreateReplicationTaskRequestwithTargetEndpointArn(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateReplicationTaskRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-