Class ModifyEndpointRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ModifyEndpointRequest.Builder,ModifyEndpointRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Amazon Resource Name (ARN) of the certificate used for SSL connection.final StringThe name of the endpoint database.final DmsTransferSettingsThe settings in JSON format for the DMS transfer type of source endpoint.final DocDbSettingsSettings in JSON format for the source DocumentDB endpoint.final DynamoDbSettingsSettings in JSON format for the target Amazon DynamoDB endpoint.final ElasticsearchSettingsSettings in JSON format for the target OpenSearch endpoint.final StringThe Amazon Resource Name (ARN) string that uniquely identifies the endpoint.final StringThe database endpoint identifier.The type of endpoint.final StringThe type of endpoint.final StringThe database engine name.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final BooleanIf this attribute is Y, the current call toModifyEndpointreplaces all existing endpoint settings with the exact settings that you specify in this call.final StringThe external table definition.final StringAdditional attributes associated with the connection.final GcpMySQLSettingsSettings in JSON format for the source GCP MySQL endpoint.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final IBMDb2SettingsSettings in JSON format for the source IBM Db2 LUW endpoint.final KafkaSettingsSettings in JSON format for the target Apache Kafka endpoint.final KinesisSettingsSettings in JSON format for the target endpoint for Amazon Kinesis Data Streams.Settings in JSON format for the source and target Microsoft SQL Server endpoint.final MongoDbSettingsSettings in JSON format for the source MongoDB endpoint.final MySQLSettingsSettings in JSON format for the source and target MySQL endpoint.final NeptuneSettingsSettings in JSON format for the target Amazon Neptune endpoint.final OracleSettingsSettings in JSON format for the source and target Oracle endpoint.final Stringpassword()The password to be used to login to the endpoint database.final Integerport()The port used by the endpoint database.final PostgreSQLSettingsSettings in JSON format for the source and target PostgreSQL endpoint.final RedisSettingsSettings in JSON format for the Redis target endpoint.final RedshiftSettingsReturns the value of the RedshiftSettings property for this object.final S3SettingsSettings in JSON format for the target Amazon S3 endpoint.static Class<? extends ModifyEndpointRequest.Builder> final StringThe name of the server where the endpoint database resides.final StringThe Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint.final DmsSslModeValuesslMode()The SSL mode used to connect to the endpoint.final StringThe SSL mode used to connect to the endpoint.final SybaseSettingsSettings in JSON format for the source and target SAP ASE endpoint.final TimestreamSettingsSettings in JSON format for the target Amazon Timestream endpoint.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringusername()The user name to be used to login to the endpoint database.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
endpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Returns:
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
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.
- Returns:
- 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.
-
endpointType
The type of endpoint. Valid values are
sourceandtarget.If the service returns an enum value that is not available in the current SDK version,
endpointTypewill returnReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- The type of endpoint. Valid values are
sourceandtarget. - See Also:
-
endpointTypeAsString
The type of endpoint. Valid values are
sourceandtarget.If the service returns an enum value that is not available in the current SDK version,
endpointTypewill returnReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- The type of endpoint. Valid values are
sourceandtarget. - See Also:
-
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".- Returns:
- 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".
-
username
The user name to be used to login to the endpoint database.
- Returns:
- The user name to be used to login to the endpoint database.
-
password
The password to be used to login to the endpoint database.
- Returns:
- The password to be used to login to the endpoint database.
-
serverName
The name of the server where the endpoint database resides.
- Returns:
- The name of the server where the endpoint database resides.
-
port
The port used by the endpoint database.
- Returns:
- The port used by the endpoint database.
-
databaseName
The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.
- Returns:
- The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.
-
extraConnectionAttributes
Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.
- Returns:
- Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.
-
certificateArn
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
- Returns:
- The Amazon Resource Name (ARN) of the certificate used for SSL connection.
-
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,
sslModewill returnDmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsslModeAsString().- Returns:
- The SSL mode used to connect to the endpoint. The default value is
none. - See Also:
-
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,
sslModewill returnDmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsslModeAsString().- Returns:
- The SSL mode used to connect to the endpoint. The default value is
none. - See Also:
-
serviceAccessRoleArn
The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint. The role must allow the
iam:PassRoleaction.- Returns:
- The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint. The role must
allow the
iam:PassRoleaction.
-
externalTableDefinition
The external table definition.
- Returns:
- The external table definition.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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:PassRoleaction. -
BucketName - The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string ,BucketName=stringJSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string"}- Returns:
- 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:PassRoleaction. -
BucketName - The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string ,BucketName=stringJSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string"} -
-
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
redshiftSettings
Returns the value of the RedshiftSettings property for this object.- Returns:
- The value of the RedshiftSettings property for this object.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
redisSettings
Settings in JSON format for the Redis target endpoint.
- Returns:
- Settings in JSON format for the Redis target endpoint.
-
exactSettings
If this attribute is Y, the current call to
ModifyEndpointreplaces all existing endpoint settings with the exact settings that you specify in this call. If this attribute is N, the current call toModifyEndpointdoes 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 callmodify-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.- Returns:
- If this attribute is Y, the current call to
ModifyEndpointreplaces all existing endpoint settings with the exact settings that you specify in this call. If this attribute is N, the current call toModifyEndpointdoes 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 callmodify-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. -
-
-
gcpMySQLSettings
Settings in JSON format for the source GCP MySQL endpoint.
- Returns:
- Settings in JSON format for the source GCP MySQL endpoint.
-
timestreamSettings
Settings in JSON format for the target Amazon Timestream endpoint.
- Returns:
- Settings in JSON format for the target Amazon Timestream endpoint.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ModifyEndpointRequest.Builder,ModifyEndpointRequest> - Specified by:
toBuilderin classDatabaseMigrationRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-