Interface ListOpsItemRelatedItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOpsItemRelatedItemsResponse.Builder,,ListOpsItemRelatedItemsResponse> SdkBuilder<ListOpsItemRelatedItemsResponse.Builder,,ListOpsItemRelatedItemsResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
ListOpsItemRelatedItemsResponse
@Mutable
@NotThreadSafe
public static interface ListOpsItemRelatedItemsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListOpsItemRelatedItemsResponse.Builder,ListOpsItemRelatedItemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of items to return.summaries(Collection<OpsItemRelatedItemSummary> summaries) A list of related-item resources for the specified OpsItem.summaries(Consumer<OpsItemRelatedItemSummary.Builder>... summaries) A list of related-item resources for the specified OpsItem.summaries(OpsItemRelatedItemSummary... summaries) A list of related-item resources for the specified OpsItem.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.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The token for the next set of items to return. Use this token to get the next set of results.
- Parameters:
nextToken- The token for the next set of items to return. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of related-item resources for the specified OpsItem.
- Parameters:
summaries- A list of related-item resources for the specified OpsItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of related-item resources for the specified OpsItem.
- Parameters:
summaries- A list of related-item resources for the specified OpsItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
ListOpsItemRelatedItemsResponse.Builder summaries(Consumer<OpsItemRelatedItemSummary.Builder>... summaries) A list of related-item resources for the specified OpsItem.
This is a convenience method that creates an instance of theOpsItemRelatedItemSummary.Builderavoiding the need to create one manually viaOpsItemRelatedItemSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummaries(List<OpsItemRelatedItemSummary>).- Parameters:
summaries- a consumer that will call methods onOpsItemRelatedItemSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-