Class CfnSqlHaStandbyDetectedInstancePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSqlHaStandbyDetectedInstancePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSqlHaStandbyDetectedInstancePropsMixin>
- Enclosing class:
CfnSqlHaStandbyDetectedInstancePropsMixin
@Stability(Stable)
public static final class CfnSqlHaStandbyDetectedInstancePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSqlHaStandbyDetectedInstancePropsMixin>
A fluent builder for
CfnSqlHaStandbyDetectedInstancePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) instanceId(String instanceId) The ID of the EC2 instance to enable for SQL Server high availability standby detection.sqlServerCredentials(String sqlServerCredentials) The ARN of the AWS Secrets Manager secret containing SQL Server access credentials to the EC2 instance.
-
Method Details
-
create
@Stability(Stable) public static CfnSqlHaStandbyDetectedInstancePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSqlHaStandbyDetectedInstancePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSqlHaStandbyDetectedInstancePropsMixin.Builder.
-
instanceId
@Stability(Stable) public CfnSqlHaStandbyDetectedInstancePropsMixin.Builder instanceId(String instanceId) The ID of the EC2 instance to enable for SQL Server high availability standby detection.- Parameters:
instanceId- The ID of the EC2 instance to enable for SQL Server high availability standby detection. This parameter is required.- Returns:
this- See Also:
-
sqlServerCredentials
@Stability(Stable) public CfnSqlHaStandbyDetectedInstancePropsMixin.Builder sqlServerCredentials(String sqlServerCredentials) The ARN of the AWS Secrets Manager secret containing SQL Server access credentials to the EC2 instance.If not specified, AWS Systems Manager agent will use default local user credentials.
- Parameters:
sqlServerCredentials- The ARN of the AWS Secrets Manager secret containing SQL Server access credentials to the EC2 instance. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSqlHaStandbyDetectedInstancePropsMixin>- Returns:
- a newly built instance of
CfnSqlHaStandbyDetectedInstancePropsMixin.
-