Interface GetInventorySchemaResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetInventorySchemaResponse.Builder,
,GetInventorySchemaResponse> SdkBuilder<GetInventorySchemaResponse.Builder,
,GetInventorySchemaResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
GetInventorySchemaResponse
public static interface GetInventorySchemaResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetInventorySchemaResponse.Builder,GetInventorySchemaResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use when requesting the next set of items.schemas
(Collection<InventoryItemSchema> schemas) Inventory schemas returned by the request.schemas
(Consumer<InventoryItemSchema.Builder>... schemas) Inventory schemas returned by the request.schemas
(InventoryItemSchema... schemas) Inventory schemas returned by the request.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.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
schemas
Inventory schemas returned by the request.
- Parameters:
schemas
- Inventory schemas returned by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
Inventory schemas returned by the request.
- Parameters:
schemas
- Inventory schemas returned by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemas
Inventory schemas returned by the request.
This is a convenience method that creates an instance of theInventoryItemSchema.Builder
avoiding the need to create one manually viaInventoryItemSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemas(List<InventoryItemSchema>)
.- Parameters:
schemas
- a consumer that will call methods onInventoryItemSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-