Interface DescribeRcsAgentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRcsAgentsResponse.Builder,,DescribeRcsAgentsResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeRcsAgentsResponse.Builder,,DescribeRcsAgentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRcsAgentsResponse
@Mutable
@NotThreadSafe
public static interface DescribeRcsAgentsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeRcsAgentsResponse.Builder,DescribeRcsAgentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.rcsAgents(Collection<RcsAgentInformation> rcsAgents) An array of RcsAgentInformation objects that contain the details for the requested RCS agents.rcsAgents(Consumer<RcsAgentInformation.Builder>... rcsAgents) An array of RcsAgentInformation objects that contain the details for the requested RCS agents.rcsAgents(RcsAgentInformation... rcsAgents) An array of RcsAgentInformation objects that contain the details for the requested RCS agents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.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
-
rcsAgents
An array of RcsAgentInformation objects that contain the details for the requested RCS agents.
- Parameters:
rcsAgents- An array of RcsAgentInformation objects that contain the details for the requested RCS agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rcsAgents
An array of RcsAgentInformation objects that contain the details for the requested RCS agents.
- Parameters:
rcsAgents- An array of RcsAgentInformation objects that contain the details for the requested RCS agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rcsAgents
An array of RcsAgentInformation objects that contain the details for the requested RCS agents.
This is a convenience method that creates an instance of theRcsAgentInformation.Builderavoiding the need to create one manually viaRcsAgentInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torcsAgents(List<RcsAgentInformation>).- Parameters:
rcsAgents- a consumer that will call methods onRcsAgentInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
- Parameters:
nextToken- The token to be used for the next set of paginated results. If this field is empty then there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-