Interface ListCommentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCommentsResponse.Builder,
,ListCommentsResponse> SdkBuilder<ListCommentsResponse.Builder,
,ListCommentsResponse> SdkPojo
,SdkResponse.Builder
,SecurityIrResponse.Builder
- Enclosing class:
ListCommentsResponse
@Mutable
@NotThreadSafe
public static interface ListCommentsResponse.Builder
extends SecurityIrResponse.Builder, SdkPojo, CopyableBuilder<ListCommentsResponse.Builder,ListCommentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<ListCommentsItem> items) Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.items
(Consumer<ListCommentsItem.Builder>... items) Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.items
(ListCommentsItem... items) Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.Optional request elements.Response element for ListComments identifying the number of responses.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.securityir.model.SecurityIrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
Optional request elements.
- Parameters:
nextToken
- Optional request elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.
- Parameters:
items
- Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.
- Parameters:
items
- Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.
This is a convenience method that creates an instance of theListCommentsItem.Builder
avoiding the need to create one manually viaListCommentsItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ListCommentsItem>)
.- Parameters:
items
- a consumer that will call methods onListCommentsItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
total
Response element for ListComments identifying the number of responses.
- Parameters:
total
- Response element for ListComments identifying the number of responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-