@Generated(value="software.amazon.awssdk:codegen") public final class ModifyEndpointRequest extends DatabaseMigrationRequest implements ToCopyableBuilder<ModifyEndpointRequest.Builder,ModifyEndpointRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyEndpointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ModifyEndpointRequest.Builder |
builder() |
String |
certificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
|
String |
databaseName()
The name of the endpoint database.
|
DmsTransferSettings |
dmsTransferSettings()
The settings in JSON format for the DMS transfer type of source endpoint.
|
DocDbSettings |
docDbSettings()
Settings in JSON format for the source DocumentDB endpoint.
|
DynamoDbSettings |
dynamoDbSettings()
Settings in JSON format for the target Amazon DynamoDB endpoint.
|
ElasticsearchSettings |
elasticsearchSettings()
Settings in JSON format for the target OpenSearch endpoint.
|
String |
endpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
|
String |
endpointIdentifier()
The database endpoint identifier.
|
ReplicationEndpointTypeValue |
endpointType()
The type of endpoint.
|
String |
endpointTypeAsString()
The type of endpoint.
|
String |
engineName()
The database engine name.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
exactSettings()
If this attribute is Y, the current call to
ModifyEndpoint replaces all existing endpoint settings
with the exact settings that you specify in this call. |
String |
externalTableDefinition()
The external table definition.
|
String |
extraConnectionAttributes()
Additional attributes associated with the connection.
|
GcpMySQLSettings |
gcpMySQLSettings()
Settings in JSON format for the source GCP MySQL endpoint.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IBMDb2Settings |
ibmDb2Settings()
Settings in JSON format for the source IBM Db2 LUW endpoint.
|
KafkaSettings |
kafkaSettings()
Settings in JSON format for the target Apache Kafka endpoint.
|
KinesisSettings |
kinesisSettings()
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams.
|
MicrosoftSQLServerSettings |
microsoftSQLServerSettings()
Settings in JSON format for the source and target Microsoft SQL Server endpoint.
|
MongoDbSettings |
mongoDbSettings()
Settings in JSON format for the source MongoDB endpoint.
|
MySQLSettings |
mySQLSettings()
Settings in JSON format for the source and target MySQL endpoint.
|
NeptuneSettings |
neptuneSettings()
Settings in JSON format for the target Amazon Neptune endpoint.
|
OracleSettings |
oracleSettings()
Settings in JSON format for the source and target Oracle endpoint.
|
String |
password()
The password to be used to login to the endpoint database.
|
Integer |
port()
The port used by the endpoint database.
|
PostgreSQLSettings |
postgreSQLSettings()
Settings in JSON format for the source and target PostgreSQL endpoint.
|
RedisSettings |
redisSettings()
Settings in JSON format for the Redis target endpoint.
|
RedshiftSettings |
redshiftSettings()
Returns the value of the RedshiftSettings property for this object.
|
S3Settings |
s3Settings()
Settings in JSON format for the target Amazon S3 endpoint.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyEndpointRequest.Builder> |
serializableBuilderClass() |
String |
serverName()
The name of the server where the endpoint database resides.
|
String |
serviceAccessRoleArn()
The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint.
|
DmsSslModeValue |
sslMode()
The SSL mode used to connect to the endpoint.
|
String |
sslModeAsString()
The SSL mode used to connect to the endpoint.
|
SybaseSettings |
sybaseSettings()
Settings in JSON format for the source and target SAP ASE endpoint.
|
TimestreamSettings |
timestreamSettings()
Settings in JSON format for the target Amazon Timestream endpoint.
|
ModifyEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The user name to be used to login to the endpoint database.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String endpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public final String endpointIdentifier()
The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
public final ReplicationEndpointTypeValue endpointType()
The type of endpoint. Valid values are source and target.
If the service returns an enum value that is not available in the current SDK version, endpointType will
return ReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from endpointTypeAsString().
source and target.ReplicationEndpointTypeValuepublic final String endpointTypeAsString()
The type of endpoint. Valid values are source and target.
If the service returns an enum value that is not available in the current SDK version, endpointType will
return ReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from endpointTypeAsString().
source and target.ReplicationEndpointTypeValuepublic final String engineName()
The database engine name. Valid values, depending on the EndpointType, include "mysql",
"oracle", "postgres", "mariadb", "aurora",
"aurora-postgresql", "redshift", "s3", "db2",
"db2-zos", "azuredb", "sybase", "dynamodb",
"mongodb", "kinesis", "kafka", "elasticsearch",
"documentdb", "sqlserver", "neptune", and "babelfish".
"mysql",
"oracle", "postgres", "mariadb", "aurora",
"aurora-postgresql", "redshift", "s3", "db2",
"db2-zos", "azuredb", "sybase", "dynamodb",
"mongodb", "kinesis", "kafka", "elasticsearch",
"documentdb", "sqlserver", "neptune", and "babelfish"
.public final String username()
The user name to be used to login to the endpoint database.
public final String password()
The password to be used to login to the endpoint database.
public final String serverName()
The name of the server where the endpoint database resides.
public final Integer port()
The port used by the endpoint database.
public final String databaseName()
The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.
public final String extraConnectionAttributes()
Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.
public final String certificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
public final DmsSslModeValue sslMode()
The SSL mode used to connect to the endpoint. The default value is none.
If the service returns an enum value that is not available in the current SDK version, sslMode will
return DmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sslModeAsString().
none.DmsSslModeValuepublic final String sslModeAsString()
The SSL mode used to connect to the endpoint. The default value is none.
If the service returns an enum value that is not available in the current SDK version, sslMode will
return DmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sslModeAsString().
none.DmsSslModeValuepublic final String serviceAccessRoleArn()
The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint. The role must allow the
iam:PassRole action.
iam:PassRole action.public final String externalTableDefinition()
The external table definition.
public final DynamoDbSettings dynamoDbSettings()
Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see Using Object Mapping to Migrate Data to DynamoDB in the Database Migration Service User Guide.
public final S3Settings s3Settings()
Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see Extra Connection Attributes When Using Amazon S3 as a Target for DMS in the Database Migration Service User Guide.
public final DmsTransferSettings dmsTransferSettings()
The settings in JSON format for the DMS transfer type of source endpoint.
Attributes include the following:
serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow
the iam:PassRole action.
BucketName - The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string ,BucketName=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string"}
Attributes include the following:
serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service access IAM role. The role must
allow the iam:PassRole action.
BucketName - The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string ,BucketName=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string"}
public final MongoDbSettings mongoDbSettings()
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the configuration properties section in Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide.
public final KinesisSettings kinesisSettings()
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using object mapping to migrate data to a Kinesis data stream in the Database Migration Service User Guide.
public final KafkaSettings kafkaSettings()
Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide.
public final ElasticsearchSettings elasticsearchSettings()
Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using OpenSearch as a Target for DMS in the Database Migration Service User Guide.
public final NeptuneSettings neptuneSettings()
Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target in the Database Migration Service User Guide.
public final RedshiftSettings redshiftSettings()
public final PostgreSQLSettings postgreSQLSettings()
Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the Database Migration Service User Guide.
public final MySQLSettings mySQLSettings()
Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see Extra connection attributes when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User Guide.
public final OracleSettings oracleSettings()
Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see Extra connection attributes when using Oracle as a source for DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide.
public final SybaseSettings sybaseSettings()
Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide.
public final MicrosoftSQLServerSettings microsoftSQLServerSettings()
Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see Extra connection attributes when using SQL Server as a source for DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide.
public final IBMDb2Settings ibmDb2Settings()
Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for DMS in the Database Migration Service User Guide.
public final DocDbSettings docDbSettings()
Settings in JSON format for the source DocumentDB endpoint. For more information about the available settings, see the configuration properties section in Using DocumentDB as a Target for Database Migration Service in the Database Migration Service User Guide.
public final RedisSettings redisSettings()
Settings in JSON format for the Redis target endpoint.
public final Boolean exactSettings()
If this attribute is Y, the current call to ModifyEndpoint replaces all existing endpoint settings
with the exact settings that you specify in this call. If this attribute is N, the current call to
ModifyEndpoint does two things:
It replaces any endpoint settings that already exist with new values, for settings with the same names.
It creates new endpoint settings that you specify in the call, for settings with different names.
For example, if you call create-endpoint ... --endpoint-settings '{"a":1}' ..., the endpoint has the
following endpoint settings: '{"a":1}'. If you then call
modify-endpoint ... --endpoint-settings '{"b":2}' ... for the same endpoint, the endpoint has the
following settings: '{"a":1,"b":2}'.
However, suppose that you follow this with a call to
modify-endpoint ... --endpoint-settings '{"b":2}' --exact-settings ... for that same endpoint again.
Then the endpoint has the following settings: '{"b":2}'. All existing settings are replaced with the
exact settings that you specify.
ModifyEndpoint replaces all existing endpoint
settings with the exact settings that you specify in this call. If this attribute is N, the current call
to ModifyEndpoint does two things:
It replaces any endpoint settings that already exist with new values, for settings with the same names.
It creates new endpoint settings that you specify in the call, for settings with different names.
For example, if you call create-endpoint ... --endpoint-settings '{"a":1}' ..., the endpoint
has the following endpoint settings: '{"a":1}'. If you then call
modify-endpoint ... --endpoint-settings '{"b":2}' ... for the same endpoint, the endpoint
has the following settings: '{"a":1,"b":2}'.
However, suppose that you follow this with a call to
modify-endpoint ... --endpoint-settings '{"b":2}' --exact-settings ... for that same
endpoint again. Then the endpoint has the following settings: '{"b":2}'. All existing
settings are replaced with the exact settings that you specify.
public final GcpMySQLSettings gcpMySQLSettings()
Settings in JSON format for the source GCP MySQL endpoint.
public final TimestreamSettings timestreamSettings()
Settings in JSON format for the target Amazon Timestream endpoint.
public ModifyEndpointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyEndpointRequest.Builder,ModifyEndpointRequest>toBuilder in class DatabaseMigrationRequestpublic static ModifyEndpointRequest.Builder builder()
public static Class<? extends ModifyEndpointRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.