@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.
|
DynamoDbSettings |
dynamoDbSettings()
Settings in JSON format for the target Amazon DynamoDB 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 |
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() |
String |
kmsKeyId()
The KMS key identifier that will be used to encrypt the connection parameters.
|
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 S3 endpoint.
|
static Class<? extends CreateEndpointRequest.Builder> |
serializableBuilderClass() |
String |
serverName()
The name of the server where the endpoint database resides.
|
DmsSslModeValue |
sslMode()
The SSL mode to use for the SSL connection.
|
String |
sslModeAsString()
The SSL mode to use for the SSL connection.
|
List<Tag> |
tags()
Tags to be added to the endpoint.
|
CreateEndpointRequest.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 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, REDSHIFT, S3, 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.
public String kmsKeyId()
The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use 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 List<Tag> tags()
Tags to be added to the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String certificateArn()
The Amazon Resource Name (ARN) for the certificate.
public DmsSslModeValue sslMode()
The SSL mode to use for the SSL connection.
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 use for the SSL connection.
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 DynamoDbSettings dynamoDbSettings()
Settings in JSON format for the target Amazon DynamoDB endpoint. For more information about the available settings, see the Using Object Mapping to Migrate Data to DynamoDB section at Using an Amazon DynamoDB Database as a Target for AWS Database Migration Service.
public S3Settings s3Settings()
Settings in JSON format for the target S3 endpoint. For more information about the available settings, see the Extra Connection Attributes section at Using Amazon S3 as a Target for AWS Database Migration Service.
public MongoDbSettings mongoDbSettings()
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the Configuration Properties When Using MongoDB as a Source for AWS Database Migration Service section at Using Amazon S3 as a Target for AWS Database Migration Service.
public CreateEndpointRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateEndpointRequest.Builder,CreateEndpointRequest>
toBuilder
in class DatabaseMigrationRequest
public static CreateEndpointRequest.Builder builder()
public static Class<? extends CreateEndpointRequest.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.