Interface ListCommentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCommentsResponse.Builder,ListCommentsResponse>,SdkBuilder<ListCommentsResponse.Builder,ListCommentsResponse>,SdkPojo,SdkResponse.Builder,SecurityIrResponse.Builder
- Enclosing class:
- ListCommentsResponse
public static interface ListCommentsResponse.Builder extends SecurityIrResponse.Builder, SdkPojo, CopyableBuilder<ListCommentsResponse.Builder,ListCommentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCommentsResponse.Builderitems(Collection<ListCommentsItem> items)Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.ListCommentsResponse.Builderitems(Consumer<ListCommentsItem.Builder>... items)Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.ListCommentsResponse.Builderitems(ListCommentsItem... items)Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.ListCommentsResponse.BuildernextToken(String nextToken)Optional request elements.ListCommentsResponse.Buildertotal(Integer total)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 Detail
-
nextToken
ListCommentsResponse.Builder nextToken(String 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
ListCommentsResponse.Builder items(Collection<ListCommentsItem> 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
ListCommentsResponse.Builder items(ListCommentsItem... 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
ListCommentsResponse.Builder items(Consumer<ListCommentsItem.Builder>... 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.Builderavoiding the need to create one manually viaListCommentsItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - 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:
#items(java.util.Collection)
-
total
ListCommentsResponse.Builder total(Integer 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.
-
-