Class SearchAvailablePhoneNumbersRequest

    • Method Detail

      • targetArn

        public final String targetArn()

        The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter InstanceId or TargetArn.

        Returns:
        The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter InstanceId or TargetArn.
      • instanceId

        public final String instanceId()

        The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId or TargetArn.

        Returns:
        The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId or TargetArn.
      • phoneNumberPrefix

        public final String phoneNumberPrefix()

        The prefix of the phone number. If provided, it must contain + as part of the country code.

        Returns:
        The prefix of the phone number. If provided, it must contain + as part of the country code.
      • maxResults

        public final Integer maxResults()

        The maximum number of results to return per page.

        Returns:
        The maximum number of results to return per page.
      • nextToken

        public final String nextToken()

        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        Returns:
        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object