Class ModifyEndpointRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest
-
- software.amazon.awssdk.services.databasemigration.model.ModifyEndpointRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ModifyEndpointRequest.Builder,ModifyEndpointRequest>
@Generated("software.amazon.awssdk:codegen") public final class ModifyEndpointRequest extends DatabaseMigrationRequest implements ToCopyableBuilder<ModifyEndpointRequest.Builder,ModifyEndpointRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModifyEndpointRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModifyEndpointRequest.Builderbuilder()StringcertificateArn()The Amazon Resource Name (ARN) of the certificate used for SSL connection.StringdatabaseName()The name of the endpoint database.DmsTransferSettingsdmsTransferSettings()The settings in JSON format for the DMS transfer type of source endpoint.DocDbSettingsdocDbSettings()Settings in JSON format for the source DocumentDB endpoint.DynamoDbSettingsdynamoDbSettings()Settings in JSON format for the target Amazon DynamoDB endpoint.ElasticsearchSettingselasticsearchSettings()Settings in JSON format for the target OpenSearch endpoint.StringendpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringendpointIdentifier()The database endpoint identifier.ReplicationEndpointTypeValueendpointType()The type of endpoint.StringendpointTypeAsString()The type of endpoint.StringengineName()The database engine name.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanexactSettings()If this attribute is Y, the current call toModifyEndpointreplaces all existing endpoint settings with the exact settings that you specify in this call.StringexternalTableDefinition()The external table definition.StringextraConnectionAttributes()Additional attributes associated with the connection.GcpMySQLSettingsgcpMySQLSettings()Settings in JSON format for the source GCP MySQL endpoint.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IBMDb2SettingsibmDb2Settings()Settings in JSON format for the source IBM Db2 LUW endpoint.KafkaSettingskafkaSettings()Settings in JSON format for the target Apache Kafka endpoint.KinesisSettingskinesisSettings()Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams.MicrosoftSQLServerSettingsmicrosoftSQLServerSettings()Settings in JSON format for the source and target Microsoft SQL Server endpoint.MongoDbSettingsmongoDbSettings()Settings in JSON format for the source MongoDB endpoint.MySQLSettingsmySQLSettings()Settings in JSON format for the source and target MySQL endpoint.NeptuneSettingsneptuneSettings()Settings in JSON format for the target Amazon Neptune endpoint.OracleSettingsoracleSettings()Settings in JSON format for the source and target Oracle endpoint.Stringpassword()The password to be used to login to the endpoint database.Integerport()The port used by the endpoint database.PostgreSQLSettingspostgreSQLSettings()Settings in JSON format for the source and target PostgreSQL endpoint.RedisSettingsredisSettings()Settings in JSON format for the Redis target endpoint.RedshiftSettingsredshiftSettings()Returns the value of the RedshiftSettings property for this object.S3Settingss3Settings()Settings in JSON format for the target Amazon S3 endpoint.List<SdkField<?>>sdkFields()static Class<? extends ModifyEndpointRequest.Builder>serializableBuilderClass()StringserverName()The name of the server where the endpoint database resides.StringserviceAccessRoleArn()The Amazon Resource Name (ARN) for the IAM role you want to use to modify the endpoint.DmsSslModeValuesslMode()The SSL mode used to connect to the endpoint.StringsslModeAsString()The SSL mode used to connect to the endpoint.SybaseSettingssybaseSettings()Settings in JSON format for the source and target SAP ASE endpoint.TimestreamSettingstimestreamSettings()Settings in JSON format for the target Amazon Timestream endpoint.ModifyEndpointRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringusername()The user name to be used to login to the endpoint database.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
endpointArn
public final String 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
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.
- 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
public final ReplicationEndpointTypeValue 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:
ReplicationEndpointTypeValue
-
endpointTypeAsString
public final String 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:
ReplicationEndpointTypeValue
-
engineName
public 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".- 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
public final String 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
public final String 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
public final String serverName()
The name of the server where the endpoint database resides.
- Returns:
- The name of the server where the endpoint database resides.
-
port
public final Integer port()
The port used by the endpoint database.
- Returns:
- The port used by the endpoint database.
-
databaseName
public final String 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
public final String 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
public final String 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
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,
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:
DmsSslModeValue
-
sslModeAsString
public 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,
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:
DmsSslModeValue
-
serviceAccessRoleArn
public 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: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
public final String externalTableDefinition()
The external table definition.
- Returns:
- The external table definition.
-
dynamoDbSettings
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.
- 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
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.
- 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
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: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
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.
- 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
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.
- 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
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.
- 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
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.
- 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
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.
- 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
public final RedshiftSettings redshiftSettings()
Returns the value of the RedshiftSettings property for this object.- Returns:
- The value of the RedshiftSettings property for this object.
-
postgreSQLSettings
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.
- 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
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.
- 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
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.
- 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
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.
- 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
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.
- 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
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.
- 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
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.
- 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
public final RedisSettings redisSettings()
Settings in JSON format for the Redis target endpoint.
- Returns:
- Settings in JSON format for the Redis target endpoint.
-
exactSettings
public final Boolean 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
public final GcpMySQLSettings gcpMySQLSettings()
Settings in JSON format for the source GCP MySQL endpoint.
- Returns:
- Settings in JSON format for the source GCP MySQL endpoint.
-
timestreamSettings
public final TimestreamSettings timestreamSettings()
Settings in JSON format for the target Amazon Timestream endpoint.
- Returns:
- Settings in JSON format for the target Amazon Timestream endpoint.
-
toBuilder
public ModifyEndpointRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModifyEndpointRequest.Builder,ModifyEndpointRequest>- Specified by:
toBuilderin classDatabaseMigrationRequest
-
builder
public static ModifyEndpointRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyEndpointRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-