Interface EnableInstanceSqlHaStandbyDetectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<EnableInstanceSqlHaStandbyDetectionsResponse.Builder,,EnableInstanceSqlHaStandbyDetectionsResponse> Ec2Response.Builder,SdkBuilder<EnableInstanceSqlHaStandbyDetectionsResponse.Builder,,EnableInstanceSqlHaStandbyDetectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
EnableInstanceSqlHaStandbyDetectionsResponse
@Mutable
@NotThreadSafe
public static interface EnableInstanceSqlHaStandbyDetectionsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<EnableInstanceSqlHaStandbyDetectionsResponse.Builder,EnableInstanceSqlHaStandbyDetectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstances(Collection<RegisteredInstance> instances) Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.instances(Consumer<RegisteredInstance.Builder>... instances) Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.instances(RegisteredInstance... instances) Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instances
EnableInstanceSqlHaStandbyDetectionsResponse.Builder instances(Collection<RegisteredInstance> instances) Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.
- Parameters:
instances- Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.
- Parameters:
instances- Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
EnableInstanceSqlHaStandbyDetectionsResponse.Builder instances(Consumer<RegisteredInstance.Builder>... instances) Information about the instances that were enabled for SQL Server High Availability standby detection monitoring.
This is a convenience method that creates an instance of theRegisteredInstance.Builderavoiding the need to create one manually viaRegisteredInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstances(List<RegisteredInstance>).- Parameters:
instances- a consumer that will call methods onRegisteredInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-