Interface GetInventoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInventoryResponse.Builder,GetInventoryResponse>,SdkBuilder<GetInventoryResponse.Builder,GetInventoryResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- GetInventoryResponse
@Mutable @NotThreadSafe public static interface GetInventoryResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetInventoryResponse.Builder,GetInventoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetInventoryResponse.Builderentities(Collection<InventoryResultEntity> entities)Collection of inventory entities such as a collection of managed node inventory.GetInventoryResponse.Builderentities(Consumer<InventoryResultEntity.Builder>... entities)Collection of inventory entities such as a collection of managed node inventory.GetInventoryResponse.Builderentities(InventoryResultEntity... entities)Collection of inventory entities such as a collection of managed node inventory.GetInventoryResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of items.-
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, sdkFieldNameToField, 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 Detail
-
entities
GetInventoryResponse.Builder entities(Collection<InventoryResultEntity> entities)
Collection of inventory entities such as a collection of managed node inventory.
- Parameters:
entities- Collection of inventory entities such as a collection of managed node inventory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
GetInventoryResponse.Builder entities(InventoryResultEntity... entities)
Collection of inventory entities such as a collection of managed node inventory.
- Parameters:
entities- Collection of inventory entities such as a collection of managed node inventory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
GetInventoryResponse.Builder entities(Consumer<InventoryResultEntity.Builder>... entities)
Collection of inventory entities such as a collection of managed node inventory.
This is a convenience method that creates an instance of theInventoryResultEntity.Builderavoiding the need to create one manually viaInventoryResultEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entities(List.) - Parameters:
entities- a consumer that will call methods onInventoryResultEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entities(java.util.Collection)
-
nextToken
GetInventoryResponse.Builder nextToken(String 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.
-
-