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


NAME

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


DESCRIPTION

An DTC Pool Link object.


CONSTRUCTOR

 my $server_link = Infoblox::DTC::Server::Link->new(
     server   => $server, #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.

server( )

Use this method to set or retrieve a DTC Server to link with.

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::Server 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_server value
 my $server = $server_link->server();
 #modify dtc_server value
 $server_link->dtc_server($server);

ratio( )

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

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 = $server_link->ratio();
 #modify ratio value
 $server_link->ratio(70);


AUTHOR

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


SEE ALSO

Infoblox::DTC::Server.


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.