File Coverage

blib/lib/Paws/CloudSearch/TextArrayOptions.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::CloudSearch::TextArrayOptions;
2 1     1   437 use Moose;
  1         4  
  1         12  
3             has AnalysisScheme => (is => 'ro', isa => 'Str');
4             has DefaultValue => (is => 'ro', isa => 'Str');
5             has HighlightEnabled => (is => 'ro', isa => 'Bool');
6             has ReturnEnabled => (is => 'ro', isa => 'Bool');
7             has SourceFields => (is => 'ro', isa => 'Str');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::CloudSearch::TextArrayOptions
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::CloudSearch::TextArrayOptions object:
26              
27             $service_obj->Method(Att1 => { AnalysisScheme => $value, ..., SourceFields => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudSearch::TextArrayOptions object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->AnalysisScheme
35              
36             =head1 DESCRIPTION
37              
38             Options for a field that contains an array of text strings. Present if
39             C<IndexFieldType> specifies the field is of type C<text-array>. A
40             C<text-array> field is always searchable. All options are enabled by
41             default.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 AnalysisScheme => Str
47              
48             The name of an analysis scheme for a C<text-array> field.
49              
50              
51             =head2 DefaultValue => Str
52              
53             A value to use for the field if the field isn't specified for a
54             document.
55              
56              
57             =head2 HighlightEnabled => Bool
58              
59             Whether highlights can be returned for the field.
60              
61              
62             =head2 ReturnEnabled => Bool
63              
64             Whether the contents of the field can be returned in the search
65             results.
66              
67              
68             =head2 SourceFields => Str
69              
70             A list of source fields to map to the field.
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, describing an object used in L<Paws::CloudSearch>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85