Interface RecentCaseCommunications.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecentCaseCommunications.Builder,,RecentCaseCommunications> SdkBuilder<RecentCaseCommunications.Builder,,RecentCaseCommunications> SdkPojo
- Enclosing class:
RecentCaseCommunications
public static interface RecentCaseCommunications.Builder
extends SdkPojo, CopyableBuilder<RecentCaseCommunications.Builder,RecentCaseCommunications>
-
Method Summary
Modifier and TypeMethodDescriptioncommunications(Collection<Communication> communications) The five most recent communications associated with the case.communications(Consumer<Communication.Builder>... communications) The five most recent communications associated with the case.communications(Communication... communications) The five most recent communications associated with the case.A resumption point for pagination.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, sdkFields
-
Method Details
-
communications
The five most recent communications associated with the case.
- Parameters:
communications- The five most recent communications associated with the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communications
The five most recent communications associated with the case.
- Parameters:
communications- The five most recent communications associated with the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communications
The five most recent communications associated with the case.
This is a convenience method that creates an instance of theCommunication.Builderavoiding the need to create one manually viaCommunication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommunications(List<Communication>).- Parameters:
communications- a consumer that will call methods onCommunication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A resumption point for pagination.
- Parameters:
nextToken- A resumption point for pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-