Interface DescribeKeywordsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeKeywordsResponse.Builder,
,DescribeKeywordsResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<DescribeKeywordsResponse.Builder,
,DescribeKeywordsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeKeywordsResponse
@Mutable
@NotThreadSafe
public static interface DescribeKeywordsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeKeywordsResponse.Builder,DescribeKeywordsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionkeywords
(Collection<KeywordInformation> keywords) An array of KeywordInformation objects that contain the results.keywords
(Consumer<KeywordInformation.Builder>... keywords) An array of KeywordInformation objects that contain the results.keywords
(KeywordInformation... keywords) An array of KeywordInformation objects that contain the results.The token to be used for the next set of paginated results.originationIdentity
(String originationIdentity) The PhoneNumberId or PoolId that is associated with the OriginationIdentity.originationIdentityArn
(String originationIdentityArn) The PhoneNumberArn or PoolArn that is associated with the OriginationIdentity.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
originationIdentityArn
The PhoneNumberArn or PoolArn that is associated with the OriginationIdentity.
- Parameters:
originationIdentityArn
- The PhoneNumberArn or PoolArn that is associated with the OriginationIdentity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originationIdentity
The PhoneNumberId or PoolId that is associated with the OriginationIdentity.
- Parameters:
originationIdentity
- The PhoneNumberId or PoolId that is associated with the OriginationIdentity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywords
An array of KeywordInformation objects that contain the results.
- Parameters:
keywords
- An array of KeywordInformation objects that contain the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywords
An array of KeywordInformation objects that contain the results.
- Parameters:
keywords
- An array of KeywordInformation objects that contain the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywords
An array of KeywordInformation objects that contain the results.
This is a convenience method that creates an instance of theKeywordInformation.Builder
avoiding the need to create one manually viaKeywordInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeywords(List<KeywordInformation>)
.- Parameters:
keywords
- a consumer that will call methods onKeywordInformation.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.
-