Interface RegisteredInstance.Builder

    • Method Detail

      • instanceId

        RegisteredInstance.Builder instanceId​(String instanceId)

        The ID of the SQL Server High Availability instance.

        Parameters:
        instanceId - The ID of the SQL Server High Availability instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sqlServerLicenseUsage

        RegisteredInstance.Builder sqlServerLicenseUsage​(String sqlServerLicenseUsage)

        The license type for the SQL Server license. Valid values include:

        • full - The SQL Server High Availability instance is using a full SQL Server license.

        • waived - The SQL Server High Availability instance is waived from the SQL Server license.

        Parameters:
        sqlServerLicenseUsage - The license type for the SQL Server license. Valid values include:

        • full - The SQL Server High Availability instance is using a full SQL Server license.

        • waived - The SQL Server High Availability instance is waived from the SQL Server license.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SqlServerLicenseUsage, SqlServerLicenseUsage
      • sqlServerLicenseUsage

        RegisteredInstance.Builder sqlServerLicenseUsage​(SqlServerLicenseUsage sqlServerLicenseUsage)

        The license type for the SQL Server license. Valid values include:

        • full - The SQL Server High Availability instance is using a full SQL Server license.

        • waived - The SQL Server High Availability instance is waived from the SQL Server license.

        Parameters:
        sqlServerLicenseUsage - The license type for the SQL Server license. Valid values include:

        • full - The SQL Server High Availability instance is using a full SQL Server license.

        • waived - The SQL Server High Availability instance is waived from the SQL Server license.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SqlServerLicenseUsage, SqlServerLicenseUsage
      • haStatus

        RegisteredInstance.Builder haStatus​(String haStatus)

        The SQL Server High Availability status of the instance. Valid values are:

        • processing - The SQL Server High Availability status for the SQL Server High Availability instance is being updated.

        • active - The SQL Server High Availability instance is an active node in an SQL Server High Availability cluster.

        • standby - The SQL Server High Availability instance is a standby failover node in an SQL Server High Availability cluster.

        • invalid - An error occurred due to misconfigured permissions, or unable to dertemine SQL Server High Availability status for the SQL Server High Availability instance.

        Parameters:
        haStatus - The SQL Server High Availability status of the instance. Valid values are:

        • processing - The SQL Server High Availability status for the SQL Server High Availability instance is being updated.

        • active - The SQL Server High Availability instance is an active node in an SQL Server High Availability cluster.

        • standby - The SQL Server High Availability instance is a standby failover node in an SQL Server High Availability cluster.

        • invalid - An error occurred due to misconfigured permissions, or unable to dertemine SQL Server High Availability status for the SQL Server High Availability instance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HaStatus, HaStatus
      • haStatus

        RegisteredInstance.Builder haStatus​(HaStatus haStatus)

        The SQL Server High Availability status of the instance. Valid values are:

        • processing - The SQL Server High Availability status for the SQL Server High Availability instance is being updated.

        • active - The SQL Server High Availability instance is an active node in an SQL Server High Availability cluster.

        • standby - The SQL Server High Availability instance is a standby failover node in an SQL Server High Availability cluster.

        • invalid - An error occurred due to misconfigured permissions, or unable to dertemine SQL Server High Availability status for the SQL Server High Availability instance.

        Parameters:
        haStatus - The SQL Server High Availability status of the instance. Valid values are:

        • processing - The SQL Server High Availability status for the SQL Server High Availability instance is being updated.

        • active - The SQL Server High Availability instance is an active node in an SQL Server High Availability cluster.

        • standby - The SQL Server High Availability instance is a standby failover node in an SQL Server High Availability cluster.

        • invalid - An error occurred due to misconfigured permissions, or unable to dertemine SQL Server High Availability status for the SQL Server High Availability instance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HaStatus, HaStatus
      • processingStatus

        RegisteredInstance.Builder processingStatus​(String processingStatus)

        A brief description of the SQL Server High Availability status. If the instance is in the invalid High Availability status, this parameter includes the error message.

        Parameters:
        processingStatus - A brief description of the SQL Server High Availability status. If the instance is in the invalid High Availability status, this parameter includes the error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        RegisteredInstance.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        The date and time when the instance's SQL Server High Availability status was last updated, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).

        Parameters:
        lastUpdatedTime - The date and time when the instance's SQL Server High Availability status was last updated, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sqlServerCredentials

        RegisteredInstance.Builder sqlServerCredentials​(String sqlServerCredentials)

        The ARN of the Secrets Manager secret containing the SQL Server access credentials for the SQL Server High Availability instance. If not specified, deafult local user credentials will be used by the Amazon Web Services Systems Manager agent.

        Parameters:
        sqlServerCredentials - The ARN of the Secrets Manager secret containing the SQL Server access credentials for the SQL Server High Availability instance. If not specified, deafult local user credentials will be used by the Amazon Web Services Systems Manager agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        RegisteredInstance.Builder tags​(Collection<Tag> tags)

        The tags assigned to the SQL Server High Availability instance.

        Parameters:
        tags - The tags assigned to the SQL Server High Availability instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        RegisteredInstance.Builder tags​(Tag... tags)

        The tags assigned to the SQL Server High Availability instance.

        Parameters:
        tags - The tags assigned to the SQL Server High Availability instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        RegisteredInstance.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags assigned to the SQL Server High Availability instance.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)