Interface DescribeCommunicationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCommunicationsResponse.Builder,,DescribeCommunicationsResponse> SdkBuilder<DescribeCommunicationsResponse.Builder,,DescribeCommunicationsResponse> SdkPojo,SdkResponse.Builder,SupportResponse.Builder
- Enclosing class:
DescribeCommunicationsResponse
public static interface DescribeCommunicationsResponse.Builder
extends SupportResponse.Builder, SdkPojo, CopyableBuilder<DescribeCommunicationsResponse.Builder,DescribeCommunicationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncommunications(Collection<Communication> communications) The communications for the case.communications(Consumer<Communication.Builder>... communications) The communications for the case.communications(Communication... communications) The communications for 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.support.model.SupportResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
communications
The communications for the case.
- Parameters:
communications- The communications for the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communications
The communications for the case.
- Parameters:
communications- The communications for the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communications
DescribeCommunicationsResponse.Builder communications(Consumer<Communication.Builder>... communications) The communications for 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.
-