Interface CreateAttributeGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAttributeGroupResponse.Builder,,CreateAttributeGroupResponse> SdkBuilder<CreateAttributeGroupResponse.Builder,,CreateAttributeGroupResponse> SdkPojo,SdkResponse.Builder,ServiceCatalogAppRegistryResponse.Builder
- Enclosing class:
CreateAttributeGroupResponse
@Mutable
@NotThreadSafe
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
copyMethods 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, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaAttributeGroup.builder().When the
Consumercompletes,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:
-