@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.
|
DynamoDbSettings |
dynamoDbSettings()
Settings in JSON format for the target Amazon DynamoDB endpoint.
|
ElasticsearchSettings |
elasticsearchSettings()
Settings in JSON format for the target Elasticsearch 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 type of engine for the endpoint.
|
boolean |
equals(Object obj) |
String |
externalTableDefinition()
The external table definition.
|
String |
extraConnectionAttributes()
Additional attributes associated with the connection.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
KinesisSettings |
kinesisSettings()
Settings in JSON format for the target Amazon Kinesis Data Streams endpoint.
|
MongoDbSettings |
mongoDbSettings()
Settings in JSON format for the source MongoDB endpoint.
|
String |
password()
The password to be used to login to the endpoint database.
|
Integer |
port()
The port used by the endpoint database.
|
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 service access role you want to use to modify the endpoint.
|
DmsSslModeValue |
sslMode()
The SSL mode to be used.
|
String |
sslModeAsString()
The SSL mode to be used.
|
ModifyEndpointRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
username()
The user name to be used to login to the endpoint database.
|
overrideConfiguration
copy
public String endpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public String endpointIdentifier()
The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
public ReplicationEndpointTypeValue endpointType()
The type of endpoint.
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()
.
ReplicationEndpointTypeValue
public String endpointTypeAsString()
The type of endpoint.
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()
.
ReplicationEndpointTypeValue
public String engineName()
The type of engine for the endpoint. Valid values, depending on the EndPointType, include mysql, oracle, postgres, mariadb, aurora, aurora-postgresql, redshift, s3, db2, azuredb, sybase, sybase, dynamodb, mongodb, and sqlserver.
public String username()
The user name to be used to login to the endpoint database.
public String password()
The password to be used to login to the endpoint database.
public String serverName()
The name of the server where the endpoint database resides.
public Integer port()
The port used by the endpoint database.
public String databaseName()
The name of the endpoint database.
public String extraConnectionAttributes()
Additional attributes associated with the connection. To reset this parameter, pass the empty string ("") as an argument.
public String certificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
public DmsSslModeValue sslMode()
The SSL mode to be used.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
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()
.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public String sslModeAsString()
The SSL mode to be used.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
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()
.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public String serviceAccessRoleArn()
The Amazon Resource Name (ARN) for the service access role you want to use to modify the endpoint.
public String externalTableDefinition()
The external table definition.
public DynamoDbSettings dynamoDbSettings()
Settings in JSON format for the target Amazon DynamoDB endpoint. For more information about the available settings, see Using Object Mapping to Migrate Data to DynamoDB in the AWS Database Migration Service User Guide.
public 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 AWS DMS in the AWS Database Migration Service User Guide.
public DmsTransferSettings dmsTransferSettings()
The settings in JSON format for the DMS transfer type of source endpoint.
Attributes include the following:
serviceAccessRoleArn - The IAM role that has permission to access the Amazon S3 bucket.
BucketName - The name of the S3 bucket to use.
compressionType - An optional parameter to use GZIP to compress the target files. Set to NONE (the default) or do not use to leave the files uncompressed.
Shorthand syntax: ServiceAccessRoleArn=string ,BucketName=string,CompressionType=string
JSON syntax:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
Attributes include the following:
serviceAccessRoleArn - The IAM role that has permission to access the Amazon S3 bucket.
BucketName - The name of the S3 bucket to use.
compressionType - An optional parameter to use GZIP to compress the target files. Set to NONE (the default) or do not use to leave the files uncompressed.
Shorthand syntax: ServiceAccessRoleArn=string ,BucketName=string,CompressionType=string
JSON syntax:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
public MongoDbSettings mongoDbSettings()
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the configuration properties section in Using MongoDB as a Target for AWS Database Migration Service in the AWS Database Migration Service User Guide.
public KinesisSettings kinesisSettings()
Settings in JSON format for the target Amazon Kinesis Data Streams endpoint. For more information about the available settings, see Using Object Mapping to Migrate Data to a Kinesis Data Stream in the AWS Database Migration User Guide.
public ElasticsearchSettings elasticsearchSettings()
Settings in JSON format for the target Elasticsearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for AWS DMS in the AWS Database Migration User Guide.
public ModifyEndpointRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyEndpointRequest.Builder,ModifyEndpointRequest>
toBuilder
in class DatabaseMigrationRequest
public static ModifyEndpointRequest.Builder builder()
public static Class<? extends ModifyEndpointRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. 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, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.