Interface DescribeOptionGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeOptionGroupsResponse.Builder,
,DescribeOptionGroupsResponse> RdsResponse.Builder
,SdkBuilder<DescribeOptionGroupsResponse.Builder,
,DescribeOptionGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeOptionGroupsResponse
@Mutable
@NotThreadSafe
public static interface DescribeOptionGroupsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeOptionGroupsResponse.Builder,DescribeOptionGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional pagination token provided by a previous request.optionGroupsList
(Collection<OptionGroup> optionGroupsList) List of option groups.optionGroupsList
(Consumer<OptionGroup.Builder>... optionGroupsList) List of option groups.optionGroupsList
(OptionGroup... optionGroupsList) List of option groups.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.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 Details
-
optionGroupsList
List of option groups.
- Parameters:
optionGroupsList
- List of option groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupsList
List of option groups.
- Parameters:
optionGroupsList
- List of option groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupsList
DescribeOptionGroupsResponse.Builder optionGroupsList(Consumer<OptionGroup.Builder>... optionGroupsList) List of option groups.
This is a convenience method that creates an instance of theOptionGroup.Builder
avoiding the need to create one manually viaOptionGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptionGroupsList(List<OptionGroup>)
.- Parameters:
optionGroupsList
- a consumer that will call methods onOptionGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-