Interface ListContactVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContactVersionsResponse.Builder,,ListContactVersionsResponse> GroundStationResponse.Builder,SdkBuilder<ListContactVersionsResponse.Builder,,ListContactVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListContactVersionsResponse
@Mutable
@NotThreadSafe
public static interface ListContactVersionsResponse.Builder
extends GroundStationResponse.Builder, SdkPojo, CopyableBuilder<ListContactVersionsResponse.Builder,ListContactVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontactVersionsList(Collection<ContactVersion> contactVersionsList) List of contact versions.contactVersionsList(Consumer<ContactVersion.Builder>... contactVersionsList) List of contact versions.contactVersionsList(ContactVersion... contactVersionsList) List of contact versions.Next token to be used in a subsequentListContactVersionscall to retrieve the next page of results.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
-
nextToken
Next token to be used in a subsequent
ListContactVersionscall to retrieve the next page of results.- Parameters:
nextToken- Next token to be used in a subsequentListContactVersionscall to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactVersionsList
ListContactVersionsResponse.Builder contactVersionsList(Collection<ContactVersion> contactVersionsList) List of contact versions.
- Parameters:
contactVersionsList- List of contact versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactVersionsList
List of contact versions.
- Parameters:
contactVersionsList- List of contact versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactVersionsList
ListContactVersionsResponse.Builder contactVersionsList(Consumer<ContactVersion.Builder>... contactVersionsList) List of contact versions.
This is a convenience method that creates an instance of theContactVersion.Builderavoiding the need to create one manually viaContactVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontactVersionsList(List<ContactVersion>).- Parameters:
contactVersionsList- a consumer that will call methods onContactVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-