File Coverage

blib/lib/Paws/ElastiCache/NodeGroupConfiguration.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::ElastiCache::NodeGroupConfiguration;
2 1     1   613 use Moose;
  1         4  
  1         13  
3             has PrimaryAvailabilityZone => (is => 'ro', isa => 'Str');
4             has ReplicaAvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'AvailabilityZone', traits => ['NameInRequest']);
5             has ReplicaCount => (is => 'ro', isa => 'Int');
6             has Slots => (is => 'ro', isa => 'Str');
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::ElastiCache::NodeGroupConfiguration
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::ElastiCache::NodeGroupConfiguration object:
25              
26             $service_obj->Method(Att1 => { PrimaryAvailabilityZone => $value, ..., Slots => $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::ElastiCache::NodeGroupConfiguration object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->PrimaryAvailabilityZone
34              
35             =head1 DESCRIPTION
36              
37             node group (shard) configuration options. Each node group (shard)
38             configuration has the following: C<Slots>, C<PrimaryAvailabilityZone>,
39             C<ReplicaAvailabilityZones>, C<ReplicaCount>.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 PrimaryAvailabilityZone => Str
45              
46             The Availability Zone where the primary node of this node group (shard)
47             is launched.
48              
49              
50             =head2 ReplicaAvailabilityZones => ArrayRef[Str|Undef]
51              
52             A list of Availability Zones to be used for the read replicas. The
53             number of Availability Zones in this list must match the value of
54             C<ReplicaCount> or C<ReplicasPerNodeGroup> if not specified.
55              
56              
57             =head2 ReplicaCount => Int
58              
59             The number of read replica nodes in this node group (shard).
60              
61              
62             =head2 Slots => Str
63              
64             A string that specifies the keyspace for a particular node group.
65             Keyspaces range from 0 to 16,383. The string is in the format
66             C<startkey-endkey>.
67              
68             Example: C<"0-3999">
69              
70              
71              
72             =head1 SEE ALSO
73              
74             This class forms part of L<Paws>, describing an object used in L<Paws::ElastiCache>
75              
76             =head1 BUGS and CONTRIBUTIONS
77              
78             The source code is located here: https://github.com/pplu/aws-sdk-perl
79              
80             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
81              
82             =cut
83