Interface EnableInstanceSqlHaStandbyDetectionsRequest.Builder

    • Method Detail

      • instanceIds

        EnableInstanceSqlHaStandbyDetectionsRequest.Builder instanceIds​(Collection<String> instanceIds)

        The IDs of the instances to enable for SQL Server High Availability standby detection monitoring.

        Parameters:
        instanceIds - The IDs of the instances to enable for SQL Server High Availability standby detection monitoring.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceIds

        EnableInstanceSqlHaStandbyDetectionsRequest.Builder instanceIds​(String... instanceIds)

        The IDs of the instances to enable for SQL Server High Availability standby detection monitoring.

        Parameters:
        instanceIds - The IDs of the instances to enable for SQL Server High Availability standby detection monitoring.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sqlServerCredentials

        EnableInstanceSqlHaStandbyDetectionsRequest.Builder sqlServerCredentials​(String sqlServerCredentials)

        The ARN of the Secrets Manager secret containing the SQL Server access credentials. The specified secret must contain valid SQL Server credentials for the specified instances. If not specified, deafult local user credentials will be used by the Amazon Web Services Systems Manager agent. To enable instances with different credentials, you must make separate requests.

        Parameters:
        sqlServerCredentials - The ARN of the Secrets Manager secret containing the SQL Server access credentials. The specified secret must contain valid SQL Server credentials for the specified instances. If not specified, deafult local user credentials will be used by the Amazon Web Services Systems Manager agent. To enable instances with different credentials, you must make separate requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        EnableInstanceSqlHaStandbyDetectionsRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.