public static final class ReplicationServerSetup.ExistingTopology extends ReplicationServerSetup.Topology
Modifier and Type | Method and Description |
---|---|
ReplicationServerSetup.ExistingTopology |
replicateDomainBaseDns(Collection<org.forgerock.opendj.ldap.Dn> baseDns)
Adds provided base DNs to the list of domains that the new RS should replicate.
|
ReplicationServerSetup.ExistingTopology |
replicateDomainBaseDns(org.forgerock.opendj.ldap.Dn... baseDns)
Adds provided base DNs to the list of domains that the new RS should replicate.
|
ReplicationServerSetup.ExistingTopology |
replicateDomainBaseDns(String... baseDns)
Adds provided base DNs to the list of domains that the new RS should replicate.
|
ReplicationServerSetup.ExistingTopology |
replicationServer(String hostPortStr)
Specifies host and administration port of the replication server in the topology that should be contacted
to gather replication topology information.
|
ReplicationServerSetup.ExistingTopology |
replicationServer(String host,
int adminPort)
Specifies host and administration port of the replication server in the topology that should be contacted
to gather replication topology information.
|
ReplicationServerSetup.ExistingTopology |
trustStore(Security.TrustStore trustStore)
Specifies the
Security.TrustStore to use for trusting certificate of the replication server in the topology. |
public ReplicationServerSetup.ExistingTopology replicationServer(String hostPortStr) throws com.forgerock.opendj.cli.ArgumentException
hostPortStr
- Valid String
representation of an HostPort
.ReplicationServerSetup.ExistingTopology
to continue building it.com.forgerock.opendj.cli.ArgumentException
- If the provided String
representation cannot be parsed as a HostPort
.replicationServer(String, int)
public ReplicationServerSetup.ExistingTopology replicationServer(String host, int adminPort) throws com.forgerock.opendj.cli.ArgumentException
host
- Replication server host name.adminPort
- Replication server administration port.ReplicationServerSetup.ExistingTopology
to continue building it.com.forgerock.opendj.cli.ArgumentException
- If the provided administration port value is invalid.replicationServer(String)
public ReplicationServerSetup.ExistingTopology trustStore(Security.TrustStore trustStore)
Security.TrustStore
to use for trusting certificate of the replication server in the topology.trustStore
- Truststore to use for trusting certificate of the RS in the topology.ReplicationServerSetup.ExistingTopology
to continue building it.public final ReplicationServerSetup.ExistingTopology replicateDomainBaseDns(String... baseDns) throws com.forgerock.opendj.cli.ArgumentException
By default, if no base DNs are specified, all available replicated domain in the topology will be configured to use the new replication server to setup.
baseDns
- Valid base DNs.ReplicationServerSetup.ExistingTopology
to continue building it.com.forgerock.opendj.cli.ArgumentException
- If one of the provided base DNs has an invalid value.replicateDomainBaseDns(Dn...)
,
replicateDomainBaseDns(Collection)
public final ReplicationServerSetup.ExistingTopology replicateDomainBaseDns(org.forgerock.opendj.ldap.Dn... baseDns) throws com.forgerock.opendj.cli.ArgumentException
By default, if no base DNs are specified, all available replicated domain in the topology will be configured to use the new replication server to setup.
baseDns
- Valid base DNs.ReplicationServerSetup.ExistingTopology
to continue building it.com.forgerock.opendj.cli.ArgumentException
- If one of the provided base DNs has an invalid value.replicateDomainBaseDns(String...)
,
replicateDomainBaseDns(Collection)
public final ReplicationServerSetup.ExistingTopology replicateDomainBaseDns(Collection<org.forgerock.opendj.ldap.Dn> baseDns) throws com.forgerock.opendj.cli.ArgumentException
By default, if no base DNs are specified, all available replicated domain in the topology will be configured to use the new replication server to setup.
baseDns
- Valid base DNs.ReplicationServerSetup.ExistingTopology
to continue building it.com.forgerock.opendj.cli.ArgumentException
- If one of the provided base DNs has an invalid value.replicateDomainBaseDns(String...)
,
replicateDomainBaseDns(Dn...)
Copyright © 2010–2017 ForgeRock AS. All rights reserved.