« blib/lib/Paws/MigrationHub/PutResourceAttributesResult.pm
↑ Summary
blib/lib/Paws/MigrationHub/Task.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MigrationHub::ResourceAttribute; | ||
| 3 | use Moose; | ||
| 4 | has Type => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Value => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::MigrationHub::ResourceAttribute | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::MigrationHub::ResourceAttribute object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Type => $value, ..., Value => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::MigrationHub::ResourceAttribute object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Type | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Attribute associated with a resource. | ||
| 38 | |||
| 39 | Note the corresponding format required per type listed below: | ||
| 40 | |||
| 41 | =over | ||
| 42 | |||
| 43 | =item IPV4 | ||
| 44 | |||
| 45 | C<x.x.x.x> | ||
| 46 | |||
| 47 | I<where x is an integer in the range [0,255]> | ||
| 48 | |||
| 49 | =item IPV6 | ||
| 50 | |||
| 51 | C<y : y : y : y : y : y : y : y> | ||
| 52 | |||
| 53 | I<where y is a hexadecimal between 0 and FFFF. [0, FFFF]> | ||
| 54 | |||
| 55 | =item MAC_ADDRESS | ||
| 56 | |||
| 57 | C<^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$> | ||
| 58 | |||
| 59 | =item FQDN | ||
| 60 | |||
| 61 | C<^[^E<lt>E<gt>{}\\\\/?,=\\p{Cntrl}]{1,256}$> | ||
| 62 | |||
| 63 | =back | ||
| 64 | |||
| 65 | |||
| 66 | =head1 ATTRIBUTES | ||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> Type => Str | ||
| 70 | |||
| 71 | Type of resource. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> Value => Str | ||
| 75 | |||
| 76 | Value of the resource type. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, describing an object used in L<Paws::MigrationHub> | ||
| 83 | |||
| 84 | =head1 BUGS and CONTRIBUTIONS | ||
| 85 | |||
| 86 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 87 | |||
| 88 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 89 | |||
| 90 | =cut | ||
| 91 |