File Coverage

blib/lib/Paws/ELBv2/TargetDescription.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ELBv2::TargetDescription;
2 1     1   283 use Moose;
  1         3  
  1         5  
3             has AvailabilityZone => (is => 'ro', isa => 'Str');
4             has Id => (is => 'ro', isa => 'Str', required => 1);
5             has Port => (is => 'ro', isa => 'Int');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::ELBv2::TargetDescription
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::ELBv2::TargetDescription object:
24              
25             $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., Port => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::TargetDescription object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->AvailabilityZone
33              
34             =head1 DESCRIPTION
35              
36             Information about a target.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 AvailabilityZone => Str
42              
43             The Availability Zone where the IP address is to be registered. Specify
44             C<all> to register an IP address outside the target group VPC with all
45             Availability Zones that are enabled for the load balancer.
46              
47             If the IP address is in a subnet of the VPC for the target group, the
48             Availability Zone is automatically detected and this parameter is
49             optional.
50              
51             This parameter is not supported if the target type of the target group
52             is C<instance>.
53              
54              
55             =head2 B<REQUIRED> Id => Str
56              
57             The ID of the target. If the target type of the target group is
58             C<instance>, specify an instance ID. If the target type is C<ip>,
59             specify an IP address.
60              
61              
62             =head2 Port => Int
63              
64             The port on which the target is listening.
65              
66              
67              
68             =head1 SEE ALSO
69              
70             This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2>
71              
72             =head1 BUGS and CONTRIBUTIONS
73              
74             The source code is located here: https://github.com/pplu/aws-sdk-perl
75              
76             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
77              
78             =cut
79