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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecentCaseCommunications.Buildercommunications(Collection<Communication> communications)The five most recent communications associated with the case.RecentCaseCommunications.Buildercommunications(Consumer<Communication.Builder>... communications)The five most recent communications associated with the case.RecentCaseCommunications.Buildercommunications(Communication... communications)The five most recent communications associated with the case.RecentCaseCommunications.BuildernextToken(String nextToken)A resumption point for pagination.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
communications
RecentCaseCommunications.Builder communications(Collection<Communication> 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
RecentCaseCommunications.Builder communications(Communication... 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
RecentCaseCommunications.Builder communications(Consumer<Communication.Builder>... 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 to#communications(List.) - 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:
#communications(java.util.Collection)
-
nextToken
RecentCaseCommunications.Builder nextToken(String 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.
-
-