blib/lib/Paws/Kafka/Configuration.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Kafka::Configuration;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1);
5 has CreationTime => (is => 'ro', isa => 'Str', request_name => 'creationTime', traits => ['NameInRequest'], required => 1);
6 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest'], required => 1);
7 has KafkaVersions => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'kafkaVersions', traits => ['NameInRequest'], required => 1);
8 has LatestRevision => (is => 'ro', isa => 'Paws::Kafka::ConfigurationRevision', request_name => 'latestRevision', traits => ['NameInRequest'], required => 1);
9 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
10 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest'], required => 1);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::Kafka::Configuration
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::Kafka::Configuration object:
30  
31 $service_obj->Method(Att1 => { Arn => $value, ..., State => $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::Kafka::Configuration object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Arn
39  
40 =head1 DESCRIPTION
41  
42 Represents an MSK Configuration.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> Arn => Str
48  
49 The Amazon Resource Name (ARN) of the configuration.
50  
51  
52 =head2 B<REQUIRED> CreationTime => Str
53  
54 The time when the configuration was created.
55  
56  
57 =head2 B<REQUIRED> Description => Str
58  
59 The description of the configuration.
60  
61  
62 =head2 B<REQUIRED> KafkaVersions => ArrayRef[Str|Undef]
63  
64 An array of the versions of Apache Kafka with which you can use this
65 MSK configuration. You can use this configuration for an MSK cluster
66 only if the Apache Kafka version specified for the cluster appears in
67 this array.
68  
69  
70 =head2 B<REQUIRED> LatestRevision => L<Paws::Kafka::ConfigurationRevision>
71  
72 Latest revision of the configuration.
73  
74  
75 =head2 B<REQUIRED> Name => Str
76  
77 The name of the configuration.
78  
79  
80 =head2 B<REQUIRED> State => Str
81  
82 The state of the configuration. The possible states are ACTIVE,
83 DELETING, and DELETE_FAILED.
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::Kafka>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98