blib/lib/Paws/AppMesh/ClientPolicyTls.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AppMesh::ClientPolicyTls;
3 use Moose;
4 has Certificate => (is => 'ro', isa => 'Paws::AppMesh::ClientTlsCertificate', request_name => 'certificate', traits => ['NameInRequest']);
5 has Enforce => (is => 'ro', isa => 'Bool', request_name => 'enforce', traits => ['NameInRequest']);
6 has Ports => (is => 'ro', isa => 'ArrayRef[Int]', request_name => 'ports', traits => ['NameInRequest']);
7 has Validation => (is => 'ro', isa => 'Paws::AppMesh::TlsValidationContext', request_name => 'validation', traits => ['NameInRequest'], required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::AppMesh::ClientPolicyTls
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::AppMesh::ClientPolicyTls object:
27  
28 $service_obj->Method(Att1 => { Certificate => $value, ..., Validation => $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::AppMesh::ClientPolicyTls object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Certificate
36  
37 =head1 DESCRIPTION
38  
39 A reference to an object that represents a Transport Layer Security
40 (TLS) client policy.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Certificate => L<Paws::AppMesh::ClientTlsCertificate>
46  
47 A reference to an object that represents a client's TLS certificate.
48  
49  
50 =head2 Enforce => Bool
51  
52 Whether the policy is enforced. The default is C<True>, if a value
53 isn't specified.
54  
55  
56 =head2 Ports => ArrayRef[Int]
57  
58 One or more ports that the policy is enforced for.
59  
60  
61 =head2 B<REQUIRED> Validation => L<Paws::AppMesh::TlsValidationContext>
62  
63 A reference to an object that represents a TLS validation context.
64  
65  
66  
67 =head1 SEE ALSO
68  
69 This class forms part of L<Paws>, describing an object used in L<Paws::AppMesh>
70  
71 =head1 BUGS and CONTRIBUTIONS
72  
73 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
74  
75 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
76  
77 =cut
78