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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCommunicationsResponse.Buildercommunications(Collection<Communication> communications)The communications for the case.DescribeCommunicationsResponse.Buildercommunications(Consumer<Communication.Builder>... communications)The communications for the case.DescribeCommunicationsResponse.Buildercommunications(Communication... communications)The communications for the case.DescribeCommunicationsResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.support.model.SupportResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
communications
DescribeCommunicationsResponse.Builder communications(Collection<Communication> 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(Communication... 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 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
DescribeCommunicationsResponse.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.
-
-