Interface DescribeInstanceSqlHaHistoryStatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInstanceSqlHaHistoryStatesResponse.Builder,,DescribeInstanceSqlHaHistoryStatesResponse> Ec2Response.Builder,SdkBuilder<DescribeInstanceSqlHaHistoryStatesResponse.Builder,,DescribeInstanceSqlHaHistoryStatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeInstanceSqlHaHistoryStatesResponse
@Mutable
@NotThreadSafe
public static interface DescribeInstanceSqlHaHistoryStatesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceSqlHaHistoryStatesResponse.Builder,DescribeInstanceSqlHaHistoryStatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstances(Collection<RegisteredInstance> instances) Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.instances(Consumer<RegisteredInstance.Builder>... instances) Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.instances(RegisteredInstance... instances) Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.The token to use to retrieve the next page of results.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
DescribeInstanceSqlHaHistoryStatesResponse.Builder instances(Collection<RegisteredInstance> instances) Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.
- Parameters:
instances- Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.
- Parameters:
instances- Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
DescribeInstanceSqlHaHistoryStatesResponse.Builder instances(Consumer<RegisteredInstance.Builder>... instances) Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.
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:
-
nextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-