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 previousListContactscall.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.groundstation.model.GroundStationResponse.Builder
build, responseMetadata, responseMetadataMethods 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, 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.Builderavoiding the need to create one manually viaContactData.builder().When the
Consumercompletes,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
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.
-