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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInstanceSqlHaHistoryStatesResponse.Builderinstances(Collection<RegisteredInstance> instances)Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.DescribeInstanceSqlHaHistoryStatesResponse.Builderinstances(Consumer<RegisteredInstance.Builder>... instances)Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.DescribeInstanceSqlHaHistoryStatesResponse.Builderinstances(RegisteredInstance... instances)Information about the historical SQL Server High Availability states of the SQL Server High Availability instances.DescribeInstanceSqlHaHistoryStatesResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
DescribeInstanceSqlHaHistoryStatesResponse.Builder instances(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
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 to#instances(List.) - 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:
#instances(java.util.Collection)
-
nextToken
DescribeInstanceSqlHaHistoryStatesResponse.Builder nextToken(String 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.
-
-