Interface GetCatalogItemResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCatalogItemResponse.Builder,
,GetCatalogItemResponse> OutpostsResponse.Builder
,SdkBuilder<GetCatalogItemResponse.Builder,
,GetCatalogItemResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCatalogItemResponse
public static interface GetCatalogItemResponse.Builder
extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<GetCatalogItemResponse.Builder,GetCatalogItemResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetCatalogItemResponse.Builder
catalogItem
(Consumer<CatalogItem.Builder> catalogItem) Information about this catalog item.catalogItem
(CatalogItem catalogItem) Information about this catalog item.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
catalogItem
Information about this catalog item.
- Parameters:
catalogItem
- Information about this catalog item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogItem
Information about this catalog item.
This is a convenience method that creates an instance of theCatalogItem.Builder
avoiding the need to create one manually viaCatalogItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocatalogItem(CatalogItem)
.- Parameters:
catalogItem
- a consumer that will call methods onCatalogItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-