Interface DescribeKeywordsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeKeywordsRequest.Builder,,DescribeKeywordsRequest> PinpointSmsVoiceV2Request.Builder,SdkBuilder<DescribeKeywordsRequest.Builder,,DescribeKeywordsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeKeywordsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<KeywordFilter> filters) An array of keyword filters to filter the results.filters(Consumer<KeywordFilter.Builder>... filters) An array of keyword filters to filter the results.filters(KeywordFilter... filters) An array of keyword filters to filter the results.An array of keywords to search for.keywords(Collection<String> keywords) An array of keywords to search for.maxResults(Integer maxResults) The maximum number of results to return per each request.The token to be used for the next set of paginated results.originationIdentity(String originationIdentity) The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
originationIdentity
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
- Parameters:
originationIdentity- The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywords
An array of keywords to search for.
- Parameters:
keywords- An array of keywords to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywords
An array of keywords to search for.
- Parameters:
keywords- An array of keywords to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of keyword filters to filter the results.
- Parameters:
filters- An array of keyword filters to filter the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of keyword filters to filter the results.
- Parameters:
filters- An array of keyword filters to filter the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of keyword filters to filter the results.
This is a convenience method that creates an instance of theKeywordFilter.Builderavoiding the need to create one manually viaKeywordFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<KeywordFilter>).- Parameters:
filters- a consumer that will call methods onKeywordFilter.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. You don't need to supply a value for this field in the initial request.
- Parameters:
nextToken- The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return per each request.
- Parameters:
maxResults- The maximum number of results to return per each request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeKeywordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeKeywordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-