| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ACMPCA::GeneralName; | ||
| 3 | use Moose; | ||
| 4 | has DirectoryName => (is => 'ro', isa => 'Paws::ACMPCA::ASN1Subject'); | ||
| 5 | has DnsName => (is => 'ro', isa => 'Str'); | ||
| 6 | has EdiPartyName => (is => 'ro', isa => 'Paws::ACMPCA::EdiPartyName'); | ||
| 7 | has IpAddress => (is => 'ro', isa => 'Str'); | ||
| 8 | has OtherName => (is => 'ro', isa => 'Paws::ACMPCA::OtherName'); | ||
| 9 | has RegisteredId => (is => 'ro', isa => 'Str'); | ||
| 10 | has Rfc822Name => (is => 'ro', isa => 'Str'); | ||
| 11 | has UniformResourceIdentifier => (is => 'ro', isa => 'Str'); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::ACMPCA::GeneralName | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::ACMPCA::GeneralName object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { DirectoryName => $value, ..., UniformResourceIdentifier => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::ACMPCA::GeneralName object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->DirectoryName | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Describes an ASN.1 X.400 C<GeneralName> as defined in RFC 5280 | ||
| 44 | (https://tools.ietf.org/html/rfc5280). Only one of the following naming | ||
| 45 | options should be provided. Providing more than one option results in | ||
| 46 | an C<InvalidArgsException> error. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 DirectoryName => L<Paws::ACMPCA::ASN1Subject> | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head2 DnsName => Str | ||
| 57 | |||
| 58 | Represents C<GeneralName> as a DNS name. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 EdiPartyName => L<Paws::ACMPCA::EdiPartyName> | ||
| 62 | |||
| 63 | Represents C<GeneralName> as an C<EdiPartyName> object. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 IpAddress => Str | ||
| 67 | |||
| 68 | Represents C<GeneralName> as an IPv4 or IPv6 address. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 OtherName => L<Paws::ACMPCA::OtherName> | ||
| 72 | |||
| 73 | Represents C<GeneralName> using an C<OtherName> object. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 RegisteredId => Str | ||
| 77 | |||
| 78 | Represents C<GeneralName> as an object identifier (OID). | ||
| 79 | |||
| 80 | |||
| 81 | =head2 Rfc822Name => Str | ||
| 82 | |||
| 83 | Represents C<GeneralName> as an RFC 822 | ||
| 84 | (https://tools.ietf.org/html/rfc822) email address. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 UniformResourceIdentifier => Str | ||
| 88 | |||
| 89 | Represents C<GeneralName> as a URI. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, describing an object used in L<Paws::ACMPCA> | ||
| 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 |