blib/lib/Paws/ElastiCache/NodeGroupConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ElastiCache::NodeGroupConfiguration;
3 use Moose;
4 has NodeGroupId => (is => 'ro', isa => 'Str');
5 has PrimaryAvailabilityZone => (is => 'ro', isa => 'Str');
6 has PrimaryOutpostArn => (is => 'ro', isa => 'Str');
7 has ReplicaAvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'AvailabilityZone', traits => ['NameInRequest']);
8 has ReplicaCount => (is => 'ro', isa => 'Int');
9 has ReplicaOutpostArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'OutpostArn', traits => ['NameInRequest']);
10 has Slots => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::ElastiCache::NodeGroupConfiguration
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::ElastiCache::NodeGroupConfiguration object:
30  
31 $service_obj->Method(Att1 => { NodeGroupId => $value, ..., Slots => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::ElastiCache::NodeGroupConfiguration object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->NodeGroupId
39  
40 =head1 DESCRIPTION
41  
42 Node group (shard) configuration options. Each node group (shard)
43 configuration has the following: C<Slots>, C<PrimaryAvailabilityZone>,
44 C<ReplicaAvailabilityZones>, C<ReplicaCount>.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 NodeGroupId => Str
50  
51 Either the ElastiCache for Redis supplied 4-digit id or a user supplied
52 id for the node group these configuration values apply to.
53  
54  
55 =head2 PrimaryAvailabilityZone => Str
56  
57 The Availability Zone where the primary node of this node group (shard)
58 is launched.
59  
60  
61 =head2 PrimaryOutpostArn => Str
62  
63 The outpost ARN of the primary node.
64  
65  
66 =head2 ReplicaAvailabilityZones => ArrayRef[Str|Undef]
67  
68 A list of Availability Zones to be used for the read replicas. The
69 number of Availability Zones in this list must match the value of
70 C<ReplicaCount> or C<ReplicasPerNodeGroup> if not specified.
71  
72  
73 =head2 ReplicaCount => Int
74  
75 The number of read replica nodes in this node group (shard).
76  
77  
78 =head2 ReplicaOutpostArns => ArrayRef[Str|Undef]
79  
80 The outpost ARN of the node replicas.
81  
82  
83 =head2 Slots => Str
84  
85 A string that specifies the keyspace for a particular node group.
86 Keyspaces range from 0 to 16,383. The string is in the format
87 C<startkey-endkey>.
88  
89 Example: C<"0-3999">
90  
91  
92  
93 =head1 SEE ALSO
94  
95 This class forms part of L<Paws>, describing an object used in L<Paws::ElastiCache>
96  
97 =head1 BUGS and CONTRIBUTIONS
98  
99 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
100  
101 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
102  
103 =cut
104