Interface RegisteredInstance.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RegisteredInstance.Builder,RegisteredInstance>,SdkBuilder<RegisteredInstance.Builder,RegisteredInstance>,SdkPojo
- Enclosing class:
- RegisteredInstance
@Mutable @NotThreadSafe public static interface RegisteredInstance.Builder extends SdkPojo, CopyableBuilder<RegisteredInstance.Builder,RegisteredInstance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegisteredInstance.BuilderhaStatus(String haStatus)The SQL Server High Availability status of the instance.RegisteredInstance.BuilderhaStatus(HaStatus haStatus)The SQL Server High Availability status of the instance.RegisteredInstance.BuilderinstanceId(String instanceId)The ID of the SQL Server High Availability instance.RegisteredInstance.BuilderlastUpdatedTime(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).RegisteredInstance.BuilderprocessingStatus(String processingStatus)A brief description of the SQL Server High Availability status.RegisteredInstance.BuildersqlServerCredentials(String sqlServerCredentials)The ARN of the Secrets Manager secret containing the SQL Server access credentials for the SQL Server High Availability instance.RegisteredInstance.BuildersqlServerLicenseUsage(String sqlServerLicenseUsage)The license type for the SQL Server license.RegisteredInstance.BuildersqlServerLicenseUsage(SqlServerLicenseUsage sqlServerLicenseUsage)The license type for the SQL Server license.RegisteredInstance.Buildertags(Collection<Tag> tags)The tags assigned to the SQL Server High Availability instance.RegisteredInstance.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the SQL Server High Availability instance.RegisteredInstance.Buildertags(Tag... tags)The tags assigned to the SQL Server High Availability instance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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
invalidHigh 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 theinvalidHigh 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-