public class DirectoryConnectSettings extends Object implements Serializable, Cloneable
Contains information for the ConnectDirectory operation when an AD Connector directory is being created.
| Constructor and Description |
|---|
DirectoryConnectSettings() |
| Modifier and Type | Method and Description |
|---|---|
DirectoryConnectSettings |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCustomerDnsIps()
A list of one or more IP addresses of DNS servers or domain controllers
in the on-premises directory.
|
String |
getCustomerUserName()
The username of an account in the on-premises directory that is used to
connect to the directory.
|
List<String> |
getSubnetIds()
A list of subnet identifiers in the VPC that the AD Connector is created
in.
|
String |
getVpcId()
The identifier of the VPC that the AD Connector is created in.
|
int |
hashCode() |
void |
setCustomerDnsIps(Collection<String> customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers
in the on-premises directory.
|
void |
setCustomerUserName(String customerUserName)
The username of an account in the on-premises directory that is used to
connect to the directory.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD Connector is created
in.
|
void |
setVpcId(String vpcId)
The identifier of the VPC that the AD Connector is created in.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DirectoryConnectSettings |
withCustomerDnsIps(Collection<String> customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers
in the on-premises directory.
|
DirectoryConnectSettings |
withCustomerDnsIps(String... customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers
in the on-premises directory.
|
DirectoryConnectSettings |
withCustomerUserName(String customerUserName)
The username of an account in the on-premises directory that is used to
connect to the directory.
|
DirectoryConnectSettings |
withSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD Connector is created
in.
|
DirectoryConnectSettings |
withSubnetIds(String... subnetIds)
A list of subnet identifiers in the VPC that the AD Connector is created
in.
|
DirectoryConnectSettings |
withVpcId(String vpcId)
The identifier of the VPC that the AD Connector is created in.
|
public void setVpcId(String vpcId)
The identifier of the VPC that the AD Connector is created in.
vpcId - The identifier of the VPC that the AD Connector is created in.public String getVpcId()
The identifier of the VPC that the AD Connector is created in.
public DirectoryConnectSettings withVpcId(String vpcId)
The identifier of the VPC that the AD Connector is created in.
vpcId - The identifier of the VPC that the AD Connector is created in.public List<String> getSubnetIds()
A list of subnet identifiers in the VPC that the AD Connector is created in.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD Connector is created in.
subnetIds - A list of subnet identifiers in the VPC that the AD Connector is
created in.public DirectoryConnectSettings withSubnetIds(String... subnetIds)
A list of subnet identifiers in the VPC that the AD Connector is created in.
NOTE: This method appends the values to the existing list (if
any). Use setSubnetIds(java.util.Collection) or
withSubnetIds(java.util.Collection) if you want to override the
existing values.
subnetIds - A list of subnet identifiers in the VPC that the AD Connector is
created in.public DirectoryConnectSettings withSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD Connector is created in.
subnetIds - A list of subnet identifiers in the VPC that the AD Connector is
created in.public List<String> getCustomerDnsIps()
A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
public void setCustomerDnsIps(Collection<String> customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
customerDnsIps - A list of one or more IP addresses of DNS servers or domain
controllers in the on-premises directory.public DirectoryConnectSettings withCustomerDnsIps(String... customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
NOTE: This method appends the values to the existing list (if
any). Use setCustomerDnsIps(java.util.Collection) or
withCustomerDnsIps(java.util.Collection) if you want to override
the existing values.
customerDnsIps - A list of one or more IP addresses of DNS servers or domain
controllers in the on-premises directory.public DirectoryConnectSettings withCustomerDnsIps(Collection<String> customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
customerDnsIps - A list of one or more IP addresses of DNS servers or domain
controllers in the on-premises directory.public void setCustomerUserName(String customerUserName)
The username of an account in the on-premises directory that is used to connect to the directory. This account must have the following privileges:
customerUserName - The username of an account in the on-premises directory that is
used to connect to the directory. This account must have the
following privileges:
public String getCustomerUserName()
The username of an account in the on-premises directory that is used to connect to the directory. This account must have the following privileges:
public DirectoryConnectSettings withCustomerUserName(String customerUserName)
The username of an account in the on-premises directory that is used to connect to the directory. This account must have the following privileges:
customerUserName - The username of an account in the on-premises directory that is
used to connect to the directory. This account must have the
following privileges:
public String toString()
toString in class ObjectObject.toString()public DirectoryConnectSettings clone()
Copyright © 2015. All rights reserved.