Package com.pulumi.alicloud.dts
Class SubscriptionJobArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.dts.SubscriptionJobArgs.Builder
-
- Enclosing class:
- SubscriptionJobArgs
public static final class SubscriptionJobArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SubscriptionJobArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionJobArgs
build()
SubscriptionJobArgs.Builder
checkpoint(com.pulumi.core.Output<java.lang.String> checkpoint)
SubscriptionJobArgs.Builder
checkpoint(java.lang.String checkpoint)
SubscriptionJobArgs.Builder
computeUnit(com.pulumi.core.Output<java.lang.Integer> computeUnit)
SubscriptionJobArgs.Builder
computeUnit(java.lang.Integer computeUnit)
SubscriptionJobArgs.Builder
databaseCount(com.pulumi.core.Output<java.lang.Integer> databaseCount)
SubscriptionJobArgs.Builder
databaseCount(java.lang.Integer databaseCount)
SubscriptionJobArgs.Builder
dbList(com.pulumi.core.Output<java.lang.String> dbList)
SubscriptionJobArgs.Builder
dbList(java.lang.String dbList)
SubscriptionJobArgs.Builder
delayNotice(com.pulumi.core.Output<java.lang.Boolean> delayNotice)
SubscriptionJobArgs.Builder
delayNotice(java.lang.Boolean delayNotice)
SubscriptionJobArgs.Builder
delayPhone(com.pulumi.core.Output<java.lang.String> delayPhone)
SubscriptionJobArgs.Builder
delayPhone(java.lang.String delayPhone)
SubscriptionJobArgs.Builder
delayRuleTime(com.pulumi.core.Output<java.lang.String> delayRuleTime)
SubscriptionJobArgs.Builder
delayRuleTime(java.lang.String delayRuleTime)
SubscriptionJobArgs.Builder
destinationEndpointEngineName(com.pulumi.core.Output<java.lang.String> destinationEndpointEngineName)
SubscriptionJobArgs.Builder
destinationEndpointEngineName(java.lang.String destinationEndpointEngineName)
SubscriptionJobArgs.Builder
destinationRegion(com.pulumi.core.Output<java.lang.String> destinationRegion)
SubscriptionJobArgs.Builder
destinationRegion(java.lang.String destinationRegion)
SubscriptionJobArgs.Builder
dtsInstanceId(com.pulumi.core.Output<java.lang.String> dtsInstanceId)
SubscriptionJobArgs.Builder
dtsInstanceId(java.lang.String dtsInstanceId)
SubscriptionJobArgs.Builder
dtsJobName(com.pulumi.core.Output<java.lang.String> dtsJobName)
SubscriptionJobArgs.Builder
dtsJobName(java.lang.String dtsJobName)
SubscriptionJobArgs.Builder
errorNotice(com.pulumi.core.Output<java.lang.Boolean> errorNotice)
SubscriptionJobArgs.Builder
errorNotice(java.lang.Boolean errorNotice)
SubscriptionJobArgs.Builder
errorPhone(com.pulumi.core.Output<java.lang.String> errorPhone)
SubscriptionJobArgs.Builder
errorPhone(java.lang.String errorPhone)
SubscriptionJobArgs.Builder
instanceClass(com.pulumi.core.Output<java.lang.String> instanceClass)
SubscriptionJobArgs.Builder
instanceClass(java.lang.String instanceClass)
SubscriptionJobArgs.Builder
paymentDuration(com.pulumi.core.Output<java.lang.Integer> paymentDuration)
SubscriptionJobArgs.Builder
paymentDuration(java.lang.Integer paymentDuration)
SubscriptionJobArgs.Builder
paymentDurationUnit(com.pulumi.core.Output<java.lang.String> paymentDurationUnit)
SubscriptionJobArgs.Builder
paymentDurationUnit(java.lang.String paymentDurationUnit)
SubscriptionJobArgs.Builder
paymentType(com.pulumi.core.Output<java.lang.String> paymentType)
SubscriptionJobArgs.Builder
paymentType(java.lang.String paymentType)
SubscriptionJobArgs.Builder
reserve(com.pulumi.core.Output<java.lang.String> reserve)
SubscriptionJobArgs.Builder
reserve(java.lang.String reserve)
SubscriptionJobArgs.Builder
sourceEndpointDatabaseName(com.pulumi.core.Output<java.lang.String> sourceEndpointDatabaseName)
SubscriptionJobArgs.Builder
sourceEndpointDatabaseName(java.lang.String sourceEndpointDatabaseName)
SubscriptionJobArgs.Builder
sourceEndpointEngineName(com.pulumi.core.Output<java.lang.String> sourceEndpointEngineName)
SubscriptionJobArgs.Builder
sourceEndpointEngineName(java.lang.String sourceEndpointEngineName)
SubscriptionJobArgs.Builder
sourceEndpointInstanceId(com.pulumi.core.Output<java.lang.String> sourceEndpointInstanceId)
SubscriptionJobArgs.Builder
sourceEndpointInstanceId(java.lang.String sourceEndpointInstanceId)
SubscriptionJobArgs.Builder
sourceEndpointInstanceType(com.pulumi.core.Output<java.lang.String> sourceEndpointInstanceType)
SubscriptionJobArgs.Builder
sourceEndpointInstanceType(java.lang.String sourceEndpointInstanceType)
SubscriptionJobArgs.Builder
sourceEndpointIp(com.pulumi.core.Output<java.lang.String> sourceEndpointIp)
SubscriptionJobArgs.Builder
sourceEndpointIp(java.lang.String sourceEndpointIp)
SubscriptionJobArgs.Builder
sourceEndpointOracleSid(com.pulumi.core.Output<java.lang.String> sourceEndpointOracleSid)
SubscriptionJobArgs.Builder
sourceEndpointOracleSid(java.lang.String sourceEndpointOracleSid)
SubscriptionJobArgs.Builder
sourceEndpointOwnerId(com.pulumi.core.Output<java.lang.String> sourceEndpointOwnerId)
SubscriptionJobArgs.Builder
sourceEndpointOwnerId(java.lang.String sourceEndpointOwnerId)
SubscriptionJobArgs.Builder
sourceEndpointPassword(com.pulumi.core.Output<java.lang.String> sourceEndpointPassword)
SubscriptionJobArgs.Builder
sourceEndpointPassword(java.lang.String sourceEndpointPassword)
SubscriptionJobArgs.Builder
sourceEndpointPort(com.pulumi.core.Output<java.lang.String> sourceEndpointPort)
SubscriptionJobArgs.Builder
sourceEndpointPort(java.lang.String sourceEndpointPort)
SubscriptionJobArgs.Builder
sourceEndpointRegion(com.pulumi.core.Output<java.lang.String> sourceEndpointRegion)
SubscriptionJobArgs.Builder
sourceEndpointRegion(java.lang.String sourceEndpointRegion)
SubscriptionJobArgs.Builder
sourceEndpointRole(com.pulumi.core.Output<java.lang.String> sourceEndpointRole)
SubscriptionJobArgs.Builder
sourceEndpointRole(java.lang.String sourceEndpointRole)
SubscriptionJobArgs.Builder
sourceEndpointUserName(com.pulumi.core.Output<java.lang.String> sourceEndpointUserName)
SubscriptionJobArgs.Builder
sourceEndpointUserName(java.lang.String sourceEndpointUserName)
SubscriptionJobArgs.Builder
status(com.pulumi.core.Output<java.lang.String> status)
SubscriptionJobArgs.Builder
status(java.lang.String status)
SubscriptionJobArgs.Builder
subscriptionDataTypeDdl(com.pulumi.core.Output<java.lang.Boolean> subscriptionDataTypeDdl)
SubscriptionJobArgs.Builder
subscriptionDataTypeDdl(java.lang.Boolean subscriptionDataTypeDdl)
SubscriptionJobArgs.Builder
subscriptionDataTypeDml(com.pulumi.core.Output<java.lang.Boolean> subscriptionDataTypeDml)
SubscriptionJobArgs.Builder
subscriptionDataTypeDml(java.lang.Boolean subscriptionDataTypeDml)
SubscriptionJobArgs.Builder
subscriptionInstanceNetworkType(com.pulumi.core.Output<java.lang.String> subscriptionInstanceNetworkType)
SubscriptionJobArgs.Builder
subscriptionInstanceNetworkType(java.lang.String subscriptionInstanceNetworkType)
SubscriptionJobArgs.Builder
subscriptionInstanceVpcId(com.pulumi.core.Output<java.lang.String> subscriptionInstanceVpcId)
SubscriptionJobArgs.Builder
subscriptionInstanceVpcId(java.lang.String subscriptionInstanceVpcId)
SubscriptionJobArgs.Builder
subscriptionInstanceVswitchId(com.pulumi.core.Output<java.lang.String> subscriptionInstanceVswitchId)
SubscriptionJobArgs.Builder
subscriptionInstanceVswitchId(java.lang.String subscriptionInstanceVswitchId)
SubscriptionJobArgs.Builder
syncArchitecture(com.pulumi.core.Output<java.lang.String> syncArchitecture)
SubscriptionJobArgs.Builder
syncArchitecture(java.lang.String syncArchitecture)
SubscriptionJobArgs.Builder
synchronizationDirection(com.pulumi.core.Output<java.lang.String> synchronizationDirection)
SubscriptionJobArgs.Builder
synchronizationDirection(java.lang.String synchronizationDirection)
SubscriptionJobArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
SubscriptionJobArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.Object> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SubscriptionJobArgs defaults)
-
-
Method Detail
-
checkpoint
public SubscriptionJobArgs.Builder checkpoint(@Nullable com.pulumi.core.Output<java.lang.String> checkpoint)
- Parameters:
checkpoint
- Subscription start time in Unix timestamp format.- Returns:
- builder
-
checkpoint
public SubscriptionJobArgs.Builder checkpoint(java.lang.String checkpoint)
- Parameters:
checkpoint
- Subscription start time in Unix timestamp format.- Returns:
- builder
-
computeUnit
public SubscriptionJobArgs.Builder computeUnit(@Nullable com.pulumi.core.Output<java.lang.Integer> computeUnit)
- Parameters:
computeUnit
- [ETL specifications](https://help.aliyun.com/document_detail/212324.html). The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.- Returns:
- builder
-
computeUnit
public SubscriptionJobArgs.Builder computeUnit(java.lang.Integer computeUnit)
- Parameters:
computeUnit
- [ETL specifications](https://help.aliyun.com/document_detail/212324.html). The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.- Returns:
- builder
-
databaseCount
public SubscriptionJobArgs.Builder databaseCount(@Nullable com.pulumi.core.Output<java.lang.Integer> databaseCount)
- Parameters:
databaseCount
- The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when `source_endpoint_engine_name` equals `drds`.- Returns:
- builder
-
databaseCount
public SubscriptionJobArgs.Builder databaseCount(java.lang.Integer databaseCount)
- Parameters:
databaseCount
- The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when `source_endpoint_engine_name` equals `drds`.- Returns:
- builder
-
dbList
public SubscriptionJobArgs.Builder dbList(@Nullable com.pulumi.core.Output<java.lang.String> dbList)
- Parameters:
dbList
- Subscription object, in the format of JSON strings. For detailed definitions, please refer to the description of migration, synchronization or subscription objects [document](https://help.aliyun.com/document_detail/209545.html).- Returns:
- builder
-
dbList
public SubscriptionJobArgs.Builder dbList(java.lang.String dbList)
- Parameters:
dbList
- Subscription object, in the format of JSON strings. For detailed definitions, please refer to the description of migration, synchronization or subscription objects [document](https://help.aliyun.com/document_detail/209545.html).- Returns:
- builder
-
delayNotice
public SubscriptionJobArgs.Builder delayNotice(@Nullable com.pulumi.core.Output<java.lang.Boolean> delayNotice)
- Parameters:
delayNotice
- This parameter decides whether to monitor the delay status. Valid values: `true`, `false`.- Returns:
- builder
-
delayNotice
public SubscriptionJobArgs.Builder delayNotice(java.lang.Boolean delayNotice)
- Parameters:
delayNotice
- This parameter decides whether to monitor the delay status. Valid values: `true`, `false`.- Returns:
- builder
-
delayPhone
public SubscriptionJobArgs.Builder delayPhone(@Nullable com.pulumi.core.Output<java.lang.String> delayPhone)
- Parameters:
delayPhone
- The mobile phone number of the contact who delayed the alarm. Multiple mobile phone numbers separated by English commas `,`. This parameter currently only supports China stations, and only supports mainland mobile phone numbers, and up to 10 mobile phone numbers can be passed in.- Returns:
- builder
-
delayPhone
public SubscriptionJobArgs.Builder delayPhone(java.lang.String delayPhone)
- Parameters:
delayPhone
- The mobile phone number of the contact who delayed the alarm. Multiple mobile phone numbers separated by English commas `,`. This parameter currently only supports China stations, and only supports mainland mobile phone numbers, and up to 10 mobile phone numbers can be passed in.- Returns:
- builder
-
delayRuleTime
public SubscriptionJobArgs.Builder delayRuleTime(@Nullable com.pulumi.core.Output<java.lang.String> delayRuleTime)
- Parameters:
delayRuleTime
- When `delay_notice` is set to `true`, this parameter must be passed in. The threshold for triggering the delay alarm. The unit is second and needs to be an integer. The threshold can be set according to business needs. It is recommended to set it above 10 seconds to avoid delay fluctuations caused by network and database load.- Returns:
- builder
-
delayRuleTime
public SubscriptionJobArgs.Builder delayRuleTime(java.lang.String delayRuleTime)
- Parameters:
delayRuleTime
- When `delay_notice` is set to `true`, this parameter must be passed in. The threshold for triggering the delay alarm. The unit is second and needs to be an integer. The threshold can be set according to business needs. It is recommended to set it above 10 seconds to avoid delay fluctuations caused by network and database load.- Returns:
- builder
-
destinationEndpointEngineName
public SubscriptionJobArgs.Builder destinationEndpointEngineName(@Nullable com.pulumi.core.Output<java.lang.String> destinationEndpointEngineName)
- Parameters:
destinationEndpointEngineName
- The destination endpoint engine name. Valid values: `ADS`, `DB2`, `DRDS`, `DataHub`, `Greenplum`, `MSSQL`, `MySQL`, `PolarDB`, `PostgreSQL`, `Redis`, `Tablestore`, `as400`, `clickhouse`, `kafka`, `mongodb`, `odps`, `oracle`, `polardb_o`, `polardb_pg`, `tidb`.- Returns:
- builder
-
destinationEndpointEngineName
public SubscriptionJobArgs.Builder destinationEndpointEngineName(java.lang.String destinationEndpointEngineName)
- Parameters:
destinationEndpointEngineName
- The destination endpoint engine name. Valid values: `ADS`, `DB2`, `DRDS`, `DataHub`, `Greenplum`, `MSSQL`, `MySQL`, `PolarDB`, `PostgreSQL`, `Redis`, `Tablestore`, `as400`, `clickhouse`, `kafka`, `mongodb`, `odps`, `oracle`, `polardb_o`, `polardb_pg`, `tidb`.- Returns:
- builder
-
destinationRegion
public SubscriptionJobArgs.Builder destinationRegion(@Nullable com.pulumi.core.Output<java.lang.String> destinationRegion)
- Parameters:
destinationRegion
- The destination region. List of [supported regions](https://help.aliyun.com/document_detail/141033.html).- Returns:
- builder
-
destinationRegion
public SubscriptionJobArgs.Builder destinationRegion(java.lang.String destinationRegion)
- Parameters:
destinationRegion
- The destination region. List of [supported regions](https://help.aliyun.com/document_detail/141033.html).- Returns:
- builder
-
dtsInstanceId
public SubscriptionJobArgs.Builder dtsInstanceId(@Nullable com.pulumi.core.Output<java.lang.String> dtsInstanceId)
- Parameters:
dtsInstanceId
- The ID of subscription instance.- Returns:
- builder
-
dtsInstanceId
public SubscriptionJobArgs.Builder dtsInstanceId(java.lang.String dtsInstanceId)
- Parameters:
dtsInstanceId
- The ID of subscription instance.- Returns:
- builder
-
dtsJobName
public SubscriptionJobArgs.Builder dtsJobName(@Nullable com.pulumi.core.Output<java.lang.String> dtsJobName)
- Parameters:
dtsJobName
- The name of subscription task.- Returns:
- builder
-
dtsJobName
public SubscriptionJobArgs.Builder dtsJobName(java.lang.String dtsJobName)
- Parameters:
dtsJobName
- The name of subscription task.- Returns:
- builder
-
errorNotice
public SubscriptionJobArgs.Builder errorNotice(@Nullable com.pulumi.core.Output<java.lang.Boolean> errorNotice)
- Parameters:
errorNotice
- This parameter decides whether to monitor abnormal status. Valid values: `true`, `false`.- Returns:
- builder
-
errorNotice
public SubscriptionJobArgs.Builder errorNotice(java.lang.Boolean errorNotice)
- Parameters:
errorNotice
- This parameter decides whether to monitor abnormal status. Valid values: `true`, `false`.- Returns:
- builder
-
errorPhone
public SubscriptionJobArgs.Builder errorPhone(@Nullable com.pulumi.core.Output<java.lang.String> errorPhone)
- Parameters:
errorPhone
- The mobile phone number of the contact for abnormal alarm. Multiple mobile phone numbers separated by English commas `,`. This parameter currently only supports China stations, and only supports mainland mobile phone numbers, and up to 10 mobile phone numbers can be passed in.- Returns:
- builder
-
errorPhone
public SubscriptionJobArgs.Builder errorPhone(java.lang.String errorPhone)
- Parameters:
errorPhone
- The mobile phone number of the contact for abnormal alarm. Multiple mobile phone numbers separated by English commas `,`. This parameter currently only supports China stations, and only supports mainland mobile phone numbers, and up to 10 mobile phone numbers can be passed in.- Returns:
- builder
-
instanceClass
public SubscriptionJobArgs.Builder instanceClass(@Nullable com.pulumi.core.Output<java.lang.String> instanceClass)
- Parameters:
instanceClass
- The instance class. Valid values: `large`, `medium`, `micro`, `small`, `xlarge`, `xxlarge`.- Returns:
- builder
-
instanceClass
public SubscriptionJobArgs.Builder instanceClass(java.lang.String instanceClass)
- Parameters:
instanceClass
- The instance class. Valid values: `large`, `medium`, `micro`, `small`, `xlarge`, `xxlarge`.- Returns:
- builder
-
paymentDuration
public SubscriptionJobArgs.Builder paymentDuration(@Nullable com.pulumi.core.Output<java.lang.Integer> paymentDuration)
- Parameters:
paymentDuration
- The duration of prepaid instance purchase. When `payment_type` is `Subscription`, this parameter is valid and must be passed in.- Returns:
- builder
-
paymentDuration
public SubscriptionJobArgs.Builder paymentDuration(java.lang.Integer paymentDuration)
- Parameters:
paymentDuration
- The duration of prepaid instance purchase. When `payment_type` is `Subscription`, this parameter is valid and must be passed in.- Returns:
- builder
-
paymentDurationUnit
public SubscriptionJobArgs.Builder paymentDurationUnit(@Nullable com.pulumi.core.Output<java.lang.String> paymentDurationUnit)
- Parameters:
paymentDurationUnit
- The payment duration unit. Valid values: `Month`, `Year`. When `payment_type` is `Subscription`, this parameter is valid and must be passed in.- Returns:
- builder
-
paymentDurationUnit
public SubscriptionJobArgs.Builder paymentDurationUnit(java.lang.String paymentDurationUnit)
- Parameters:
paymentDurationUnit
- The payment duration unit. Valid values: `Month`, `Year`. When `payment_type` is `Subscription`, this parameter is valid and must be passed in.- Returns:
- builder
-
paymentType
public SubscriptionJobArgs.Builder paymentType(com.pulumi.core.Output<java.lang.String> paymentType)
- Parameters:
paymentType
- The payment type of the resource. Valid values: `Subscription`, `PayAsYouGo`.- Returns:
- builder
-
paymentType
public SubscriptionJobArgs.Builder paymentType(java.lang.String paymentType)
- Parameters:
paymentType
- The payment type of the resource. Valid values: `Subscription`, `PayAsYouGo`.- Returns:
- builder
-
reserve
public SubscriptionJobArgs.Builder reserve(@Nullable com.pulumi.core.Output<java.lang.String> reserve)
- Parameters:
reserve
- DTS reserves parameters, the format is a JSON string, you can pass in this parameter to complete the source and target database information (such as the data storage format of the target Kafka database, the instance ID of the cloud enterprise network CEN). For more information, please refer to the parameter description of the [Reserve parameter](https://help.aliyun.com/document_detail/176470.html).- Returns:
- builder
-
reserve
public SubscriptionJobArgs.Builder reserve(java.lang.String reserve)
- Parameters:
reserve
- DTS reserves parameters, the format is a JSON string, you can pass in this parameter to complete the source and target database information (such as the data storage format of the target Kafka database, the instance ID of the cloud enterprise network CEN). For more information, please refer to the parameter description of the [Reserve parameter](https://help.aliyun.com/document_detail/176470.html).- Returns:
- builder
-
sourceEndpointDatabaseName
public SubscriptionJobArgs.Builder sourceEndpointDatabaseName(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointDatabaseName)
- Parameters:
sourceEndpointDatabaseName
- To subscribe to the name of the database.- Returns:
- builder
-
sourceEndpointDatabaseName
public SubscriptionJobArgs.Builder sourceEndpointDatabaseName(java.lang.String sourceEndpointDatabaseName)
- Parameters:
sourceEndpointDatabaseName
- To subscribe to the name of the database.- Returns:
- builder
-
sourceEndpointEngineName
public SubscriptionJobArgs.Builder sourceEndpointEngineName(com.pulumi.core.Output<java.lang.String> sourceEndpointEngineName)
- Parameters:
sourceEndpointEngineName
- The source database type value is MySQL or Oracle. Valid values: `MySQL`, `Oracle`.- Returns:
- builder
-
sourceEndpointEngineName
public SubscriptionJobArgs.Builder sourceEndpointEngineName(java.lang.String sourceEndpointEngineName)
- Parameters:
sourceEndpointEngineName
- The source database type value is MySQL or Oracle. Valid values: `MySQL`, `Oracle`.- Returns:
- builder
-
sourceEndpointInstanceId
public SubscriptionJobArgs.Builder sourceEndpointInstanceId(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointInstanceId)
- Parameters:
sourceEndpointInstanceId
- The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.- Returns:
- builder
-
sourceEndpointInstanceId
public SubscriptionJobArgs.Builder sourceEndpointInstanceId(java.lang.String sourceEndpointInstanceId)
- Parameters:
sourceEndpointInstanceId
- The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.- Returns:
- builder
-
sourceEndpointInstanceType
public SubscriptionJobArgs.Builder sourceEndpointInstanceType(com.pulumi.core.Output<java.lang.String> sourceEndpointInstanceType)
- Parameters:
sourceEndpointInstanceType
- The type of source instance. Valid values: `RDS`, `PolarDB`, `DRDS`, `LocalInstance`, `ECS`, `Express`, `CEN`, `dg`.- Returns:
- builder
-
sourceEndpointInstanceType
public SubscriptionJobArgs.Builder sourceEndpointInstanceType(java.lang.String sourceEndpointInstanceType)
- Parameters:
sourceEndpointInstanceType
- The type of source instance. Valid values: `RDS`, `PolarDB`, `DRDS`, `LocalInstance`, `ECS`, `Express`, `CEN`, `dg`.- Returns:
- builder
-
sourceEndpointIp
public SubscriptionJobArgs.Builder sourceEndpointIp(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointIp)
- Parameters:
sourceEndpointIp
- The IP of source endpoint.- Returns:
- builder
-
sourceEndpointIp
public SubscriptionJobArgs.Builder sourceEndpointIp(java.lang.String sourceEndpointIp)
- Parameters:
sourceEndpointIp
- The IP of source endpoint.- Returns:
- builder
-
sourceEndpointOracleSid
public SubscriptionJobArgs.Builder sourceEndpointOracleSid(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointOracleSid)
- Parameters:
sourceEndpointOracleSid
- The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.- Returns:
- builder
-
sourceEndpointOracleSid
public SubscriptionJobArgs.Builder sourceEndpointOracleSid(java.lang.String sourceEndpointOracleSid)
- Parameters:
sourceEndpointOracleSid
- The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.- Returns:
- builder
-
sourceEndpointOwnerId
public SubscriptionJobArgs.Builder sourceEndpointOwnerId(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointOwnerId)
- Parameters:
sourceEndpointOwnerId
- The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.- Returns:
- builder
-
sourceEndpointOwnerId
public SubscriptionJobArgs.Builder sourceEndpointOwnerId(java.lang.String sourceEndpointOwnerId)
- Parameters:
sourceEndpointOwnerId
- The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.- Returns:
- builder
-
sourceEndpointPassword
public SubscriptionJobArgs.Builder sourceEndpointPassword(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointPassword)
- Parameters:
sourceEndpointPassword
- The password of source database instance account.- Returns:
- builder
-
sourceEndpointPassword
public SubscriptionJobArgs.Builder sourceEndpointPassword(java.lang.String sourceEndpointPassword)
- Parameters:
sourceEndpointPassword
- The password of source database instance account.- Returns:
- builder
-
sourceEndpointPort
public SubscriptionJobArgs.Builder sourceEndpointPort(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointPort)
- Parameters:
sourceEndpointPort
- The port of source database.- Returns:
- builder
-
sourceEndpointPort
public SubscriptionJobArgs.Builder sourceEndpointPort(java.lang.String sourceEndpointPort)
- Parameters:
sourceEndpointPort
- The port of source database.- Returns:
- builder
-
sourceEndpointRegion
public SubscriptionJobArgs.Builder sourceEndpointRegion(com.pulumi.core.Output<java.lang.String> sourceEndpointRegion)
- Parameters:
sourceEndpointRegion
- The region of source database.- Returns:
- builder
-
sourceEndpointRegion
public SubscriptionJobArgs.Builder sourceEndpointRegion(java.lang.String sourceEndpointRegion)
- Parameters:
sourceEndpointRegion
- The region of source database.- Returns:
- builder
-
sourceEndpointRole
public SubscriptionJobArgs.Builder sourceEndpointRole(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointRole)
- Parameters:
sourceEndpointRole
- Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.- Returns:
- builder
-
sourceEndpointRole
public SubscriptionJobArgs.Builder sourceEndpointRole(java.lang.String sourceEndpointRole)
- Parameters:
sourceEndpointRole
- Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.- Returns:
- builder
-
sourceEndpointUserName
public SubscriptionJobArgs.Builder sourceEndpointUserName(@Nullable com.pulumi.core.Output<java.lang.String> sourceEndpointUserName)
- Parameters:
sourceEndpointUserName
- The username of source database instance account.- Returns:
- builder
-
sourceEndpointUserName
public SubscriptionJobArgs.Builder sourceEndpointUserName(java.lang.String sourceEndpointUserName)
- Parameters:
sourceEndpointUserName
- The username of source database instance account.- Returns:
- builder
-
status
public SubscriptionJobArgs.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The status of the task. Valid values: `Normal`, `Abnormal`. When a task created, it is in this state of `NotStarted`. You can specify this state to `Normal` to start the job, and specify this state of `Abnormal` to stop the job. **Note: We treat the state `Starting` as the state of `Normal`, and consider the two states to be consistent on the user side.**- Returns:
- builder
-
status
public SubscriptionJobArgs.Builder status(java.lang.String status)
- Parameters:
status
- The status of the task. Valid values: `Normal`, `Abnormal`. When a task created, it is in this state of `NotStarted`. You can specify this state to `Normal` to start the job, and specify this state of `Abnormal` to stop the job. **Note: We treat the state `Starting` as the state of `Normal`, and consider the two states to be consistent on the user side.**- Returns:
- builder
-
subscriptionDataTypeDdl
public SubscriptionJobArgs.Builder subscriptionDataTypeDdl(@Nullable com.pulumi.core.Output<java.lang.Boolean> subscriptionDataTypeDdl)
- Parameters:
subscriptionDataTypeDdl
- Whether to subscribe the DDL type of data. Valid values: `true`, `false`.- Returns:
- builder
-
subscriptionDataTypeDdl
public SubscriptionJobArgs.Builder subscriptionDataTypeDdl(java.lang.Boolean subscriptionDataTypeDdl)
- Parameters:
subscriptionDataTypeDdl
- Whether to subscribe the DDL type of data. Valid values: `true`, `false`.- Returns:
- builder
-
subscriptionDataTypeDml
public SubscriptionJobArgs.Builder subscriptionDataTypeDml(@Nullable com.pulumi.core.Output<java.lang.Boolean> subscriptionDataTypeDml)
- Parameters:
subscriptionDataTypeDml
- Whether to subscribe the DML type of data. Valid values: `true`, `false`.- Returns:
- builder
-
subscriptionDataTypeDml
public SubscriptionJobArgs.Builder subscriptionDataTypeDml(java.lang.Boolean subscriptionDataTypeDml)
- Parameters:
subscriptionDataTypeDml
- Whether to subscribe the DML type of data. Valid values: `true`, `false`.- Returns:
- builder
-
subscriptionInstanceNetworkType
public SubscriptionJobArgs.Builder subscriptionInstanceNetworkType(@Nullable com.pulumi.core.Output<java.lang.String> subscriptionInstanceNetworkType)
- Parameters:
subscriptionInstanceNetworkType
- Subscription task type of network value: classic: classic Network. Virtual Private Cloud (vpc): a vpc. Valid values: `classic`, `vpc`.- Returns:
- builder
-
subscriptionInstanceNetworkType
public SubscriptionJobArgs.Builder subscriptionInstanceNetworkType(java.lang.String subscriptionInstanceNetworkType)
- Parameters:
subscriptionInstanceNetworkType
- Subscription task type of network value: classic: classic Network. Virtual Private Cloud (vpc): a vpc. Valid values: `classic`, `vpc`.- Returns:
- builder
-
subscriptionInstanceVpcId
public SubscriptionJobArgs.Builder subscriptionInstanceVpcId(@Nullable com.pulumi.core.Output<java.lang.String> subscriptionInstanceVpcId)
- Parameters:
subscriptionInstanceVpcId
- The ID of subscription vpc instance. When the value of `subscription_instance_network_type` is vpc, this parameter is available and must be passed in.- Returns:
- builder
-
subscriptionInstanceVpcId
public SubscriptionJobArgs.Builder subscriptionInstanceVpcId(java.lang.String subscriptionInstanceVpcId)
- Parameters:
subscriptionInstanceVpcId
- The ID of subscription vpc instance. When the value of `subscription_instance_network_type` is vpc, this parameter is available and must be passed in.- Returns:
- builder
-
subscriptionInstanceVswitchId
public SubscriptionJobArgs.Builder subscriptionInstanceVswitchId(@Nullable com.pulumi.core.Output<java.lang.String> subscriptionInstanceVswitchId)
- Parameters:
subscriptionInstanceVswitchId
- The ID of subscription VSwitch instance. When the value of `subscription_instance_network_type` is vpc, this parameter is available and must be passed in.- Returns:
- builder
-
subscriptionInstanceVswitchId
public SubscriptionJobArgs.Builder subscriptionInstanceVswitchId(java.lang.String subscriptionInstanceVswitchId)
- Parameters:
subscriptionInstanceVswitchId
- The ID of subscription VSwitch instance. When the value of `subscription_instance_network_type` is vpc, this parameter is available and must be passed in.- Returns:
- builder
-
syncArchitecture
public SubscriptionJobArgs.Builder syncArchitecture(@Nullable com.pulumi.core.Output<java.lang.String> syncArchitecture)
- Parameters:
syncArchitecture
- The sync architecture. Valid values: `bidirectional`, `oneway`.- Returns:
- builder
-
syncArchitecture
public SubscriptionJobArgs.Builder syncArchitecture(java.lang.String syncArchitecture)
- Parameters:
syncArchitecture
- The sync architecture. Valid values: `bidirectional`, `oneway`.- Returns:
- builder
-
synchronizationDirection
public SubscriptionJobArgs.Builder synchronizationDirection(@Nullable com.pulumi.core.Output<java.lang.String> synchronizationDirection)
- Parameters:
synchronizationDirection
- The synchronization direction. Valid values: `Forward`, `Reverse`. When the topology type of the data synchronization instance is bidirectional, it can be passed in to reverse to start the reverse synchronization link.- Returns:
- builder
-
synchronizationDirection
public SubscriptionJobArgs.Builder synchronizationDirection(java.lang.String synchronizationDirection)
- Parameters:
synchronizationDirection
- The synchronization direction. Valid values: `Forward`, `Reverse`. When the topology type of the data synchronization instance is bidirectional, it can be passed in to reverse to start the reverse synchronization link.- Returns:
- builder
-
tags
public SubscriptionJobArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource.- Returns:
- builder
-
tags
public SubscriptionJobArgs.Builder tags(java.util.Map<java.lang.String,java.lang.Object> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource.- Returns:
- builder
-
build
public SubscriptionJobArgs build()
-
-