Class DirectoryConnectSettings
- java.lang.Object
-
- com.amazonaws.services.directory.model.DirectoryConnectSettings
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DirectoryConnectSettings extends Object implements Serializable, Cloneable
Contains information for the ConnectDirectory operation when an AD Connector directory is being created.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectoryConnectSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 in which the AD Connector is created.String
getVpcId()
The identifier of the VPC in which the AD Connector is created.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 in which the AD Connector is created.void
setVpcId(String vpcId)
The identifier of the VPC in which the AD Connector is created.String
toString()
Returns a string representation of this object; useful for testing and debugging.DirectoryConnectSettings
withCustomerDnsIps(String... customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.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
withCustomerUserName(String customerUserName)
The username of an account in the on-premises directory that is used to connect to the directory.DirectoryConnectSettings
withSubnetIds(String... subnetIds)
A list of subnet identifiers in the VPC in which the AD Connector is created.DirectoryConnectSettings
withSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC in which the AD Connector is created.DirectoryConnectSettings
withVpcId(String vpcId)
The identifier of the VPC in which the AD Connector is created.
-
-
-
Method Detail
-
setVpcId
public void setVpcId(String vpcId)
The identifier of the VPC in which the AD Connector is created.
- Parameters:
vpcId
- The identifier of the VPC in which the AD Connector is created.
-
getVpcId
public String getVpcId()
The identifier of the VPC in which the AD Connector is created.
- Returns:
- The identifier of the VPC in which the AD Connector is created.
-
withVpcId
public DirectoryConnectSettings withVpcId(String vpcId)
The identifier of the VPC in which the AD Connector is created.
- Parameters:
vpcId
- The identifier of the VPC in which the AD Connector is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnetIds
public List<String> getSubnetIds()
A list of subnet identifiers in the VPC in which the AD Connector is created.
- Returns:
- A list of subnet identifiers in the VPC in which the AD Connector is created.
-
setSubnetIds
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC in which the AD Connector is created.
- Parameters:
subnetIds
- A list of subnet identifiers in the VPC in which the AD Connector is created.
-
withSubnetIds
public DirectoryConnectSettings withSubnetIds(String... subnetIds)
A list of subnet identifiers in the VPC in which the AD Connector is created.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
orwithSubnetIds(java.util.Collection)
if you want to override the existing values.- Parameters:
subnetIds
- A list of subnet identifiers in the VPC in which the AD Connector is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
public DirectoryConnectSettings withSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC in which the AD Connector is created.
- Parameters:
subnetIds
- A list of subnet identifiers in the VPC in which the AD Connector is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCustomerDnsIps
public List<String> getCustomerDnsIps()
A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
- Returns:
- A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
-
setCustomerDnsIps
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.
- Parameters:
customerDnsIps
- A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.
-
withCustomerDnsIps
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)
orwithCustomerDnsIps(java.util.Collection)
if you want to override the existing values.- Parameters:
customerDnsIps
- A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCustomerDnsIps
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.
- Parameters:
customerDnsIps
- A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCustomerUserName
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:
- Read users and groups
- Create computer objects
- Join computers to the domain
- Parameters:
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:- Read users and groups
- Create computer objects
- Join computers to the domain
-
getCustomerUserName
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:
- Read users and groups
- Create computer objects
- Join computers to the domain
- Returns:
- 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:
- Read users and groups
- Create computer objects
- Join computers to the domain
-
withCustomerUserName
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:
- Read users and groups
- Create computer objects
- Join computers to the domain
- Parameters:
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:- Read users and groups
- Create computer objects
- Join computers to the domain
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DirectoryConnectSettings clone()
-
-