File Coverage

blib/lib/Paws/CloudDirectory/TypedLinkAttributeDefinition.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::CloudDirectory::TypedLinkAttributeDefinition;
2 1     1   284 use Moose;
  1         3  
  1         5  
3             has DefaultValue => (is => 'ro', isa => 'Paws::CloudDirectory::TypedAttributeValue');
4             has IsImmutable => (is => 'ro', isa => 'Bool');
5             has Name => (is => 'ro', isa => 'Str', required => 1);
6             has RequiredBehavior => (is => 'ro', isa => 'Str', required => 1);
7             has Rules => (is => 'ro', isa => 'Paws::CloudDirectory::RuleMap');
8             has Type => (is => 'ro', isa => 'Str', required => 1);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::CloudDirectory::TypedLinkAttributeDefinition
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::CloudDirectory::TypedLinkAttributeDefinition object:
27              
28             $service_obj->Method(Att1 => { DefaultValue => $value, ..., Type => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudDirectory::TypedLinkAttributeDefinition object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->DefaultValue
36              
37             =head1 DESCRIPTION
38              
39             A typed link attribute definition.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 DefaultValue => L<Paws::CloudDirectory::TypedAttributeValue>
45              
46             The default value of the attribute (if configured).
47              
48              
49             =head2 IsImmutable => Bool
50              
51             Whether the attribute is mutable or not.
52              
53              
54             =head2 B<REQUIRED> Name => Str
55              
56             The unique name of the typed link attribute.
57              
58              
59             =head2 B<REQUIRED> RequiredBehavior => Str
60              
61             The required behavior of the C<TypedLinkAttributeDefinition>.
62              
63              
64             =head2 Rules => L<Paws::CloudDirectory::RuleMap>
65              
66             Validation rules that are attached to the attribute definition.
67              
68              
69             =head2 B<REQUIRED> Type => Str
70              
71             The type of the attribute.
72              
73              
74              
75             =head1 SEE ALSO
76              
77             This class forms part of L<Paws>, describing an object used in L<Paws::CloudDirectory>
78              
79             =head1 BUGS and CONTRIBUTIONS
80              
81             The source code is located here: https://github.com/pplu/aws-sdk-perl
82              
83             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
84              
85             =cut
86