public class DirectoryConnectSettingsDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about an AD Connector directory.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
availabilityZones
A list of the Availability Zones that the directory is in.
|
private SdkInternalList<java.lang.String> |
connectIps
The IP addresses of the AD Connector servers.
|
private java.lang.String |
customerUserName
The username of the service account in the on-premises directory.
|
private java.lang.String |
securityGroupId
The security group identifier for the AD Connector directory.
|
private SdkInternalList<java.lang.String> |
subnetIds
A list of subnet identifiers in the VPC that the AD connector is in.
|
private java.lang.String |
vpcId
The identifier of the VPC that the AD Connector is in.
|
Constructor and Description |
---|
DirectoryConnectSettingsDescription() |
Modifier and Type | Method and Description |
---|---|
DirectoryConnectSettingsDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAvailabilityZones()
A list of the Availability Zones that the directory is in.
|
java.util.List<java.lang.String> |
getConnectIps()
The IP addresses of the AD Connector servers.
|
java.lang.String |
getCustomerUserName()
The username of the service account in the on-premises directory.
|
java.lang.String |
getSecurityGroupId()
The security group identifier for the AD Connector directory.
|
java.util.List<java.lang.String> |
getSubnetIds()
A list of subnet identifiers in the VPC that the AD connector is in.
|
java.lang.String |
getVpcId()
The identifier of the VPC that the AD Connector is in.
|
int |
hashCode() |
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of the Availability Zones that the directory is in.
|
void |
setConnectIps(java.util.Collection<java.lang.String> connectIps)
The IP addresses of the AD Connector servers.
|
void |
setCustomerUserName(java.lang.String customerUserName)
The username of the service account in the on-premises directory.
|
void |
setSecurityGroupId(java.lang.String securityGroupId)
The security group identifier for the AD Connector directory.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.
|
void |
setVpcId(java.lang.String vpcId)
The identifier of the VPC that the AD Connector is in.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DirectoryConnectSettingsDescription |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of the Availability Zones that the directory is in.
|
DirectoryConnectSettingsDescription |
withAvailabilityZones(java.lang.String... availabilityZones)
A list of the Availability Zones that the directory is in.
|
DirectoryConnectSettingsDescription |
withConnectIps(java.util.Collection<java.lang.String> connectIps)
The IP addresses of the AD Connector servers.
|
DirectoryConnectSettingsDescription |
withConnectIps(java.lang.String... connectIps)
The IP addresses of the AD Connector servers.
|
DirectoryConnectSettingsDescription |
withCustomerUserName(java.lang.String customerUserName)
The username of the service account in the on-premises directory.
|
DirectoryConnectSettingsDescription |
withSecurityGroupId(java.lang.String securityGroupId)
The security group identifier for the AD Connector directory.
|
DirectoryConnectSettingsDescription |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.
|
DirectoryConnectSettingsDescription |
withSubnetIds(java.lang.String... subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.
|
DirectoryConnectSettingsDescription |
withVpcId(java.lang.String vpcId)
The identifier of the VPC that the AD Connector is in.
|
private java.lang.String vpcId
The identifier of the VPC that the AD Connector is in.
private SdkInternalList<java.lang.String> subnetIds
A list of subnet identifiers in the VPC that the AD connector is in.
private java.lang.String customerUserName
The username of the service account in the on-premises directory.
private java.lang.String securityGroupId
The security group identifier for the AD Connector directory.
private SdkInternalList<java.lang.String> availabilityZones
A list of the Availability Zones that the directory is in.
private SdkInternalList<java.lang.String> connectIps
The IP addresses of the AD Connector servers.
public void setVpcId(java.lang.String vpcId)
The identifier of the VPC that the AD Connector is in.
vpcId
- The identifier of the VPC that the AD Connector is in.public java.lang.String getVpcId()
The identifier of the VPC that the AD Connector is in.
public DirectoryConnectSettingsDescription withVpcId(java.lang.String vpcId)
The identifier of the VPC that the AD Connector is in.
vpcId
- The identifier of the VPC that the AD Connector is in.public java.util.List<java.lang.String> getSubnetIds()
A list of subnet identifiers in the VPC that the AD connector is in.
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.
subnetIds
- A list of subnet identifiers in the VPC that the AD connector is
in.public DirectoryConnectSettingsDescription withSubnetIds(java.lang.String... subnetIds)
A list of subnet identifiers in the VPC that the AD connector is 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
in.public DirectoryConnectSettingsDescription withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.
subnetIds
- A list of subnet identifiers in the VPC that the AD connector is
in.public void setCustomerUserName(java.lang.String customerUserName)
The username of the service account in the on-premises directory.
customerUserName
- The username of the service account in the on-premises directory.public java.lang.String getCustomerUserName()
The username of the service account in the on-premises directory.
public DirectoryConnectSettingsDescription withCustomerUserName(java.lang.String customerUserName)
The username of the service account in the on-premises directory.
customerUserName
- The username of the service account in the on-premises directory.public void setSecurityGroupId(java.lang.String securityGroupId)
The security group identifier for the AD Connector directory.
securityGroupId
- The security group identifier for the AD Connector directory.public java.lang.String getSecurityGroupId()
The security group identifier for the AD Connector directory.
public DirectoryConnectSettingsDescription withSecurityGroupId(java.lang.String securityGroupId)
The security group identifier for the AD Connector directory.
securityGroupId
- The security group identifier for the AD Connector directory.public java.util.List<java.lang.String> getAvailabilityZones()
A list of the Availability Zones that the directory is in.
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of the Availability Zones that the directory is in.
availabilityZones
- A list of the Availability Zones that the directory is in.public DirectoryConnectSettingsDescription withAvailabilityZones(java.lang.String... availabilityZones)
A list of the Availability Zones that the directory is in.
NOTE: This method appends the values to the existing list (if
any). Use setAvailabilityZones(java.util.Collection)
or
withAvailabilityZones(java.util.Collection)
if you want to
override the existing values.
availabilityZones
- A list of the Availability Zones that the directory is in.public DirectoryConnectSettingsDescription withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of the Availability Zones that the directory is in.
availabilityZones
- A list of the Availability Zones that the directory is in.public java.util.List<java.lang.String> getConnectIps()
The IP addresses of the AD Connector servers.
public void setConnectIps(java.util.Collection<java.lang.String> connectIps)
The IP addresses of the AD Connector servers.
connectIps
- The IP addresses of the AD Connector servers.public DirectoryConnectSettingsDescription withConnectIps(java.lang.String... connectIps)
The IP addresses of the AD Connector servers.
NOTE: This method appends the values to the existing list (if
any). Use setConnectIps(java.util.Collection)
or
withConnectIps(java.util.Collection)
if you want to override the
existing values.
connectIps
- The IP addresses of the AD Connector servers.public DirectoryConnectSettingsDescription withConnectIps(java.util.Collection<java.lang.String> connectIps)
The IP addresses of the AD Connector servers.
connectIps
- The IP addresses of the AD Connector servers.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DirectoryConnectSettingsDescription clone()
clone
in class java.lang.Object