Interface DescribeKeywordsResponse.Builder

  • Method Details

    • 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

      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 the KeywordInformation.Builder avoiding the need to create one manually via KeywordInformation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to keywords(List<KeywordInformation>).

      Parameters:
      keywords - a consumer that will call methods on KeywordInformation.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.