Interface ListPagesByContactResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPagesByContactResponse.Builder,,ListPagesByContactResponse> SdkBuilder<ListPagesByContactResponse.Builder,,ListPagesByContactResponse> SdkPojo,SdkResponse.Builder,SsmContactsResponse.Builder
- Enclosing class:
ListPagesByContactResponse
public static interface ListPagesByContactResponse.Builder
extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<ListPagesByContactResponse.Builder,ListPagesByContactResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to continue to the next page of results.pages(Collection<Page> pages) The list of engagements to a contact's contact channel.pages(Consumer<Page.Builder>... pages) The list of engagements to a contact's contact channel.The list of engagements to a contact's contact channel.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.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The pagination token to continue to the next page of results.
- Parameters:
nextToken- The pagination token to continue to the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pages
The list of engagements to a contact's contact channel.
- Parameters:
pages- The list of engagements to a contact's contact channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pages
The list of engagements to a contact's contact channel.
- Parameters:
pages- The list of engagements to a contact's contact channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pages
The list of engagements to a contact's contact channel.
This is a convenience method that creates an instance of thePage.Builderavoiding the need to create one manually viaPage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topages(List<Page>).- Parameters:
pages- a consumer that will call methods onPage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-