Marco Fontani > Net-Amazon-Route53-0.123250 > Net::Amazon::Route53::ResourceRecordSet::Change

Download:
Net-Amazon-Route53-0.123250.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.123250   Source  

SYNOPSIS

    my $record_change = Net::Amazon::Route53::ResourceRecordSet::Change->new(
        name            => "example.com",
        ttl             => 600,
        type            => "A",
        values          => [ "new_value1","new_value2", ],
        original_values => [ "old_value1", "old_value2", ],
    );

ATTRIBUTES

original_values

The values associated with this resource record.

METHODS

change

This method changes the value of a record from original_value X to value Y.

    my $record = Net::Amazon::Route53::ResourceRecordSet::Change->new(
        name            => "example.com",
        ttl             => 600,
        type            => "A",
        values          => [ "new_value1","new_value2", ],
        original_values => [ "old_value1", "old_value2", ],
    );
    my $change = $record->change(1); # Set the 1 if you want to wait.

AUTHOR ^

Marco FONTANI <mfontani@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Marco FONTANI.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: