Infoblox::DTC::Pool::Link - An DTC Pool Link object.


NAME

Infoblox::DTC::Pool::Link - An DTC Pool Link object.


DESCRIPTION

An DTC Pool Link object.


CONSTRUCTOR

 my $pool_link = Infoblox::DTC::Pool::Link->new(
     dtc_pool => $pool, #Optional / Default is undefined
     ratio    => $uint, #Optional / Default is undefined
 );


SESSION METHODS

The object does not support any session methods.


METHODS

This section describes all the methods that you can use to set or retrieve the attribute values of the object.

dtc_pool( )

Use this method to set or retrieve the associated DTC Pool.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

The valid value is an Infoblox::DTC::Pool object.

Returns

If you specified a parameter, the method returns 'true' when the modification succeeds, and returns 'false' when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #get dtc_pool value
 my $pool = $pool_link->dtc_pool();
 #modify dtc_pool value
 $pool_link->dtc_pool($pool);

ratio( )

Use this method to set or retrieve the weight of a DTC Pool.

Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.

Parameter

The valid value is an unsigned integer.

Returns

If you specified a parameter, the method returns 'true' when the modification succeeds, and returns 'false' when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #get ratio value
 my $ratio = $pool_link->ratio();
 #modify ratio value
 $pool_link->ratio(70);


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

Infoblox::DTC::Pool.


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.