@Generated(value="software.amazon.awssdk:codegen") public final class CreateEndpointRequest extends DatabaseMigrationRequest implements ToCopyableBuilder<CreateEndpointRequest.Builder,CreateEndpointRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateEndpointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateEndpointRequest.Builder |
builder() |
String |
certificateArn()
The Amazon Resource Name (ARN) for the certificate.
|
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 |
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) |
boolean |
equalsBySdkFields(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) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
KinesisSettings |
kinesisSettings()
Settings in JSON format for the target Amazon Kinesis Data Streams endpoint.
|
String |
kmsKeyId()
An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.
|
MongoDbSettings |
mongoDbSettings()
Settings in JSON format for the source MongoDB endpoint.
|
String |
password()
The password to be used to log in to the endpoint database.
|
Integer |
port()
The port used by the endpoint database.
|
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 CreateEndpointRequest.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 that you want to use to create the endpoint.
|
DmsSslModeValue |
sslMode()
The Secure Sockets Layer (SSL) mode to use for the SSL connection.
|
String |
sslModeAsString()
The Secure Sockets Layer (SSL) mode to use for the SSL connection.
|
List<Tag> |
tags()
One or more tags to be assigned to the endpoint.
|
CreateEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The user name to be used to log in to the endpoint database.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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. 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 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 String engineName()
The type of engine for the endpoint. Valid values, depending on the EndpointType value, include
mysql, oracle, postgres, mariadb, aurora,
aurora-postgresql, redshift, s3, db2, azuredb,
sybase, dynamodb, mongodb, and sqlserver.
EndpointType value,
include mysql, oracle, postgres, mariadb,
aurora, aurora-postgresql, redshift, s3,
db2, azuredb, sybase, dynamodb, mongodb,
and sqlserver.public String username()
The user name to be used to log in to the endpoint database.
public String password()
The password to be used to log in 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. Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see Working with AWS DMS Endpoints in the AWS Database Migration Service User Guide.
public String kmsKeyId()
An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.
If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses your default encryption
key.
AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.
If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses your default
encryption key.
AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.
public boolean hasTags()
public List<Tag> tags()
One or more tags to be assigned to the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public String certificateArn()
The Amazon Resource Name (ARN) for the certificate.
public DmsSslModeValue sslMode()
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default 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().
noneDmsSslModeValuepublic String sslModeAsString()
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default 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().
noneDmsSslModeValuepublic String serviceAccessRoleArn()
The Amazon Resource Name (ARN) for the service access role that you want to use to create 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.
Possible settings 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. To use GZIP, set
this value to NONE (the default). To keep the files uncompressed, don't use this value.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
Possible settings 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. To use
GZIP, set this value to NONE (the default). To keep the files uncompressed, don't use this
value.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these settings is as follows:
{ "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 RedshiftSettings redshiftSettings()
public CreateEndpointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateEndpointRequest.Builder,CreateEndpointRequest>toBuilder in class DatabaseMigrationRequestpublic static CreateEndpointRequest.Builder builder()
public static Class<? extends CreateEndpointRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.