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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListContactsResponse.BuildercontactList(Collection<ContactData> contactList)List of contacts.ListContactsResponse.BuildercontactList(Consumer<ContactData.Builder>... contactList)List of contacts.ListContactsResponse.BuildercontactList(ContactData... contactList)List of contacts.ListContactsResponse.BuildernextToken(String nextToken)Next token returned in the response of a previousListContactscall.-
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 Detail
-
contactList
ListContactsResponse.Builder contactList(Collection<ContactData> 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
ListContactsResponse.Builder contactList(ContactData... 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
ListContactsResponse.Builder contactList(Consumer<ContactData.Builder>... contactList)
List of contacts.
This is a convenience method that creates an instance of theContactData.Builderavoiding the need to create one manually viaContactData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contactList(List.) - 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:
#contactList(java.util.Collection)
-
nextToken
ListContactsResponse.Builder nextToken(String nextToken)
Next token returned in the response of a previous
ListContactscall. Used to get the next page of results.- Parameters:
nextToken- Next token returned in the response of a previousListContactscall. Used to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-