@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectoryConnectSettings extends Object implements Serializable, Cloneable, StructuredPojo
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 your self-managed directory.
|
String |
getCustomerUserName()
The user name of an account in your self-managed 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomerDnsIps(Collection<String> customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in your self-managed directory.
|
void |
setCustomerUserName(String customerUserName)
The user name of an account in your self-managed 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.
|
DirectoryConnectSettings |
withCustomerDnsIps(Collection<String> customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in your self-managed directory.
|
DirectoryConnectSettings |
withCustomerDnsIps(String... customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in your self-managed directory.
|
DirectoryConnectSettings |
withCustomerUserName(String customerUserName)
The user name of an account in your self-managed directory that is used to connect to the directory.
|
DirectoryConnectSettings |
withSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC in which the AD Connector is created.
|
DirectoryConnectSettings |
withSubnetIds(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.
|
public void setVpcId(String vpcId)
The identifier of the VPC in which the AD Connector is created.
vpcId
- The identifier of the VPC in which the AD Connector is created.public String getVpcId()
The identifier of the VPC in which the AD Connector is created.
public DirectoryConnectSettings withVpcId(String vpcId)
The identifier of the VPC in which the AD Connector is created.
vpcId
- The identifier of the VPC in which the AD Connector is created.public List<String> getSubnetIds()
A list of subnet identifiers in the VPC in which the AD Connector is created.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC in which the AD Connector is created.
subnetIds
- A list of subnet identifiers in the VPC in which the AD Connector is created.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)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- A list of subnet identifiers in the VPC in which the AD Connector is created.public DirectoryConnectSettings withSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC in which the AD Connector is created.
subnetIds
- A list of subnet identifiers in the VPC in which the AD Connector is created.public List<String> getCustomerDnsIps()
A list of one or more IP addresses of DNS servers or domain controllers in your self-managed directory.
public void setCustomerDnsIps(Collection<String> customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in your self-managed directory.
customerDnsIps
- A list of one or more IP addresses of DNS servers or domain controllers in your self-managed directory.public DirectoryConnectSettings withCustomerDnsIps(String... customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in your self-managed 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 your self-managed directory.public DirectoryConnectSettings withCustomerDnsIps(Collection<String> customerDnsIps)
A list of one or more IP addresses of DNS servers or domain controllers in your self-managed directory.
customerDnsIps
- A list of one or more IP addresses of DNS servers or domain controllers in your self-managed directory.public void setCustomerUserName(String customerUserName)
The user name of an account in your self-managed directory that is used to connect to the directory. This account must have the following permissions:
Read users and groups
Create computer objects
Join computers to the domain
customerUserName
- The user name of an account in your self-managed directory that is used to connect to the directory. This
account must have the following permissions:
Read users and groups
Create computer objects
Join computers to the domain
public String getCustomerUserName()
The user name of an account in your self-managed directory that is used to connect to the directory. This account must have the following permissions:
Read users and groups
Create computer objects
Join computers to the domain
Read users and groups
Create computer objects
Join computers to the domain
public DirectoryConnectSettings withCustomerUserName(String customerUserName)
The user name of an account in your self-managed directory that is used to connect to the directory. This account must have the following permissions:
Read users and groups
Create computer objects
Join computers to the domain
customerUserName
- The user name of an account in your self-managed directory that is used to connect to the directory. This
account must have the following permissions:
Read users and groups
Create computer objects
Join computers to the domain
public String toString()
toString
in class Object
Object.toString()
public DirectoryConnectSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.