Interface ListContactsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListContactsResponse.Builder,
,ListContactsResponse> GroundStationResponse.Builder
,SdkBuilder<ListContactsResponse.Builder,
,ListContactsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListContactsResponse
public static interface ListContactsResponse.Builder
extends GroundStationResponse.Builder, SdkPojo, CopyableBuilder<ListContactsResponse.Builder,ListContactsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontactList
(Collection<ContactData> contactList) List of contacts.contactList
(Consumer<ContactData.Builder>... contactList) List of contacts.contactList
(ContactData... contactList) List of contacts.Next token returned in the response of a previousListContacts
call.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.groundstation.model.GroundStationResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
contactList
List of contacts.
- Parameters:
contactList
- List of contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactList
List of contacts.
- Parameters:
contactList
- List of contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactList
List of contacts.
This is a convenience method that creates an instance of theContactData.Builder
avoiding the need to create one manually viaContactData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontactList(List<ContactData>)
.- Parameters:
contactList
- a consumer that will call methods onContactData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Next token returned in the response of a previous
ListContacts
call. Used to get the next page of results.- Parameters:
nextToken
- Next token returned in the response of a previousListContacts
call. Used to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-