Interface CreateAttributeGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAttributeGroupResponse.Builder,
,CreateAttributeGroupResponse> SdkBuilder<CreateAttributeGroupResponse.Builder,
,CreateAttributeGroupResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogAppRegistryResponse.Builder
- Enclosing class:
CreateAttributeGroupResponse
public static interface CreateAttributeGroupResponse.Builder
extends ServiceCatalogAppRegistryResponse.Builder, SdkPojo, CopyableBuilder<CreateAttributeGroupResponse.Builder,CreateAttributeGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributeGroup
(Consumer<AttributeGroup.Builder> attributeGroup) Information about the attribute group.attributeGroup
(AttributeGroup attributeGroup) Information about the attribute group.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
-
attributeGroup
Information about the attribute group.
- Parameters:
attributeGroup
- Information about the attribute group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeGroup
default CreateAttributeGroupResponse.Builder attributeGroup(Consumer<AttributeGroup.Builder> attributeGroup) Information about the attribute group.
This is a convenience method that creates an instance of theAttributeGroup.Builder
avoiding the need to create one manually viaAttributeGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeGroup(AttributeGroup)
.- Parameters:
attributeGroup
- a consumer that will call methods onAttributeGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-