Interface DescribeKeywordsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeKeywordsResponse.Builder,DescribeKeywordsResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeKeywordsResponse.Builder,DescribeKeywordsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeKeywordsResponse
public static interface DescribeKeywordsResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeKeywordsResponse.Builder,DescribeKeywordsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeKeywordsResponse.Builderkeywords(Collection<KeywordInformation> keywords)An array of KeywordInformation objects that contain the results.DescribeKeywordsResponse.Builderkeywords(Consumer<KeywordInformation.Builder>... keywords)An array of KeywordInformation objects that contain the results.DescribeKeywordsResponse.Builderkeywords(KeywordInformation... keywords)An array of KeywordInformation objects that contain the results.DescribeKeywordsResponse.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.DescribeKeywordsResponse.BuilderoriginationIdentity(String originationIdentity)The PhoneNumberId or PoolId that is associated with the OriginationIdentity.DescribeKeywordsResponse.BuilderoriginationIdentityArn(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
originationIdentityArn
DescribeKeywordsResponse.Builder originationIdentityArn(String 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
DescribeKeywordsResponse.Builder originationIdentity(String 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
DescribeKeywordsResponse.Builder keywords(Collection<KeywordInformation> 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
DescribeKeywordsResponse.Builder keywords(KeywordInformation... 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
DescribeKeywordsResponse.Builder keywords(Consumer<KeywordInformation.Builder>... keywords)
An array of KeywordInformation objects that contain the results.
This is a convenience method that creates an instance of theKeywordInformation.Builderavoiding the need to create one manually viaKeywordInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#keywords(List.) - 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:
#keywords(java.util.Collection)
-
nextToken
DescribeKeywordsResponse.Builder nextToken(String 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.
-
-