File Coverage

blib/lib/Paws/Batch/JobQueueDetail.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::JobQueueDetail;
2 1     1   287 use Moose;
  1         2  
  1         6  
3             has ComputeEnvironmentOrder => (is => 'ro', isa => 'ArrayRef[Paws::Batch::ComputeEnvironmentOrder]', request_name => 'computeEnvironmentOrder', traits => ['NameInRequest'], required => 1);
4             has JobQueueArn => (is => 'ro', isa => 'Str', request_name => 'jobQueueArn', traits => ['NameInRequest'], required => 1);
5             has JobQueueName => (is => 'ro', isa => 'Str', request_name => 'jobQueueName', traits => ['NameInRequest'], required => 1);
6             has Priority => (is => 'ro', isa => 'Int', request_name => 'priority', traits => ['NameInRequest'], required => 1);
7             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest'], required => 1);
8             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
9             has StatusReason => (is => 'ro', isa => 'Str', request_name => 'statusReason', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Batch::JobQueueDetail
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::Batch::JobQueueDetail object:
28              
29             $service_obj->Method(Att1 => { ComputeEnvironmentOrder => $value, ..., StatusReason => $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::Batch::JobQueueDetail object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->ComputeEnvironmentOrder
37              
38             =head1 DESCRIPTION
39              
40             An object representing the details of an AWS Batch job queue.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> ComputeEnvironmentOrder => ArrayRef[L<Paws::Batch::ComputeEnvironmentOrder>]
46              
47             The compute environments that are attached to the job queue and the
48             order in which job placement is preferred. Compute environments are
49             selected for job placement in ascending order.
50              
51              
52             =head2 B<REQUIRED> JobQueueArn => Str
53              
54             The Amazon Resource Name (ARN) of the job queue.
55              
56              
57             =head2 B<REQUIRED> JobQueueName => Str
58              
59             The name of the job queue.
60              
61              
62             =head2 B<REQUIRED> Priority => Int
63              
64             The priority of the job queue.
65              
66              
67             =head2 B<REQUIRED> State => Str
68              
69             Describes the ability of the queue to accept new jobs.
70              
71              
72             =head2 Status => Str
73              
74             The status of the job queue (for example, C<CREATING> or C<VALID>).
75              
76              
77             =head2 StatusReason => Str
78              
79             A short, human-readable string to provide additional details about the
80             current status of the job queue.
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95