File Coverage

blib/lib/Paws/Batch/ContainerOverrides.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::ContainerOverrides;
2 1     1   449 use Moose;
  1         3  
  1         7  
3             has Command => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'command', traits => ['NameInRequest']);
4             has Environment => (is => 'ro', isa => 'ArrayRef[Paws::Batch::KeyValuePair]', request_name => 'environment', traits => ['NameInRequest']);
5             has Memory => (is => 'ro', isa => 'Int', request_name => 'memory', traits => ['NameInRequest']);
6             has Vcpus => (is => 'ro', isa => 'Int', request_name => 'vcpus', traits => ['NameInRequest']);
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::Batch::ContainerOverrides
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::Batch::ContainerOverrides object:
25              
26             $service_obj->Method(Att1 => { Command => $value, ..., Vcpus => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::ContainerOverrides object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->Command
34              
35             =head1 DESCRIPTION
36              
37             The overrides that should be sent to a container.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Command => ArrayRef[Str|Undef]
43              
44             The command to send to the container that overrides the default command
45             from the Docker image or the job definition.
46              
47              
48             =head2 Environment => ArrayRef[L<Paws::Batch::KeyValuePair>]
49              
50             The environment variables to send to the container. You can add new
51             environment variables, which are added to the container at launch, or
52             you can override the existing environment variables from the Docker
53             image or the job definition.
54              
55              
56             =head2 Memory => Int
57              
58             The number of MiB of memory reserved for the job. This value overrides
59             the value set in the job definition.
60              
61              
62             =head2 Vcpus => Int
63              
64             The number of vCPUs to reserve for the container. This value overrides
65             the value set in the job definition.
66              
67              
68              
69             =head1 SEE ALSO
70              
71             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
72              
73             =head1 BUGS and CONTRIBUTIONS
74              
75             The source code is located here: https://github.com/pplu/aws-sdk-perl
76              
77             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
78              
79             =cut
80