| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Chime::OriginationRoute; | ||
| 3 | use Moose; | ||
| 4 | has Host => (is => 'ro', isa => 'Str'); | ||
| 5 | has Port => (is => 'ro', isa => 'Int'); | ||
| 6 | has Priority => (is => 'ro', isa => 'Int'); | ||
| 7 | has Protocol => (is => 'ro', isa => 'Str'); | ||
| 8 | has Weight => (is => 'ro', isa => 'Int'); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::Chime::OriginationRoute | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::Chime::OriginationRoute object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { Host => $value, ..., Weight => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::Chime::OriginationRoute object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->Host | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Origination routes define call distribution properties for your SIP | ||
| 41 | hosts to receive inbound calls using your Amazon Chime Voice Connector. | ||
| 42 | Limit: Ten origination routes for each Amazon Chime Voice Connector. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Host => Str | ||
| 48 | |||
| 49 | The FQDN or IP address to contact for origination traffic. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Port => Int | ||
| 53 | |||
| 54 | The designated origination route port. Defaults to 5060. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 Priority => Int | ||
| 58 | |||
| 59 | The priority associated with the host, with 1 being the highest | ||
| 60 | priority. Higher priority hosts are attempted first. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 Protocol => Str | ||
| 64 | |||
| 65 | The protocol to use for the origination route. Encryption-enabled | ||
| 66 | Amazon Chime Voice Connectors use TCP protocol by default. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Weight => Int | ||
| 70 | |||
| 71 | The weight associated with the host. If hosts are equal in priority, | ||
| 72 | calls are redistributed among them based on their relative weight. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, describing an object used in L<Paws::Chime> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |