Interface ListAttributeGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAttributeGroupsResponse.Builder,
,ListAttributeGroupsResponse> SdkBuilder<ListAttributeGroupsResponse.Builder,
,ListAttributeGroupsResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogAppRegistryResponse.Builder
- Enclosing class:
ListAttributeGroupsResponse
public static interface ListAttributeGroupsResponse.Builder
extends ServiceCatalogAppRegistryResponse.Builder, SdkPojo, CopyableBuilder<ListAttributeGroupsResponse.Builder,ListAttributeGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributeGroups
(Collection<AttributeGroupSummary> attributeGroups) This list of attribute groups.attributeGroups
(Consumer<AttributeGroupSummary.Builder>... attributeGroups) This list of attribute groups.attributeGroups
(AttributeGroupSummary... attributeGroups) This list of attribute groups.The token to use to get the next page of results after a previous API call.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.servicecatalogappregistry.model.ServiceCatalogAppRegistryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
attributeGroups
ListAttributeGroupsResponse.Builder attributeGroups(Collection<AttributeGroupSummary> attributeGroups) This list of attribute groups.
- Parameters:
attributeGroups
- This list of attribute groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeGroups
This list of attribute groups.
- Parameters:
attributeGroups
- This list of attribute groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeGroups
ListAttributeGroupsResponse.Builder attributeGroups(Consumer<AttributeGroupSummary.Builder>... attributeGroups) This list of attribute groups.
This is a convenience method that creates an instance of theAttributeGroupSummary.Builder
avoiding the need to create one manually viaAttributeGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeGroups(List<AttributeGroupSummary>)
.- Parameters:
attributeGroups
- a consumer that will call methods onAttributeGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next page of results after a previous API call.
- Parameters:
nextToken
- The token to use to get the next page of results after a previous API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-