File Coverage

blib/lib/Paws/Batch/RetryStrategy.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::Batch::RetryStrategy;
2 1     1   970 use Moose;
  1         4  
  1         13  
3             has Attempts => (is => 'ro', isa => 'Int', request_name => 'attempts', traits => ['NameInRequest']);
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::Batch::RetryStrategy
11              
12             =head1 USAGE
13              
14             This class represents one of two things:
15              
16             =head3 Arguments in a call to a service
17              
18             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
19             Each attribute should be used as a named argument in the calls that expect this type of object.
20              
21             As an example, if Att1 is expected to be a Paws::Batch::RetryStrategy object:
22              
23             $service_obj->Method(Att1 => { Attempts => $value, ..., Attempts => $value });
24              
25             =head3 Results returned from an API call
26              
27             Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::RetryStrategy object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->Attempts
31              
32             =head1 DESCRIPTION
33              
34             The retry strategy associated with a job.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 Attempts => Int
40              
41             The number of times to move a job to the C<RUNNABLE> status. You may
42             specify between 1 and 10 attempts. If C<attempts> is greater than one,
43             the job is retried if it fails until it has moved to C<RUNNABLE> that
44             many times.
45              
46              
47              
48             =head1 SEE ALSO
49              
50             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
51              
52             =head1 BUGS and CONTRIBUTIONS
53              
54             The source code is located here: https://github.com/pplu/aws-sdk-perl
55              
56             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
57              
58             =cut
59