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:
  • Constructor Details

    • CreateReplicationTaskRequest

      public CreateReplicationTaskRequest()
  • Method Details

    • 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:
    • getMigrationType

      public String getMigrationType()

      The migration type.

      Returns:
      The migration type.
      See Also:
    • 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:
    • setMigrationType

      public void setMigrationType(MigrationTypeValue migrationType)

      The migration type.

      Parameters:
      migrationType - The migration type.
      See Also:
    • 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:
    • 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) or withTags(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: