Class DirectoryConnectSettingsDescription
- java.lang.Object
-
- com.amazonaws.services.directory.model.DirectoryConnectSettingsDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DirectoryConnectSettingsDescription extends Object implements Serializable, Cloneable
Contains information about an AD Connector directory.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectoryConnectSettingsDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryConnectSettingsDescription
clone()
boolean
equals(Object obj)
List<String>
getAvailabilityZones()
A list of the Availability Zones that the directory is in.List<String>
getConnectIps()
The IP addresses of the AD Connector servers.String
getCustomerUserName()
The username of the service account in the on-premises directory.String
getSecurityGroupId()
The security group identifier for the AD Connector directory.List<String>
getSubnetIds()
A list of subnet identifiers in the VPC that the AD connector is in.String
getVpcId()
The identifier of the VPC that the AD Connector is in.int
hashCode()
void
setAvailabilityZones(Collection<String> availabilityZones)
A list of the Availability Zones that the directory is in.void
setConnectIps(Collection<String> connectIps)
The IP addresses of the AD Connector servers.void
setCustomerUserName(String customerUserName)
The username of the service account in the on-premises directory.void
setSecurityGroupId(String securityGroupId)
The security group identifier for the AD Connector directory.void
setSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.void
setVpcId(String vpcId)
The identifier of the VPC that the AD Connector is in.String
toString()
Returns a string representation of this object; useful for testing and debugging.DirectoryConnectSettingsDescription
withAvailabilityZones(String... availabilityZones)
A list of the Availability Zones that the directory is in.DirectoryConnectSettingsDescription
withAvailabilityZones(Collection<String> availabilityZones)
A list of the Availability Zones that the directory is in.DirectoryConnectSettingsDescription
withConnectIps(String... connectIps)
The IP addresses of the AD Connector servers.DirectoryConnectSettingsDescription
withConnectIps(Collection<String> connectIps)
The IP addresses of the AD Connector servers.DirectoryConnectSettingsDescription
withCustomerUserName(String customerUserName)
The username of the service account in the on-premises directory.DirectoryConnectSettingsDescription
withSecurityGroupId(String securityGroupId)
The security group identifier for the AD Connector directory.DirectoryConnectSettingsDescription
withSubnetIds(String... subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.DirectoryConnectSettingsDescription
withSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.DirectoryConnectSettingsDescription
withVpcId(String vpcId)
The identifier of the VPC that the AD Connector is in.
-
-
-
Method Detail
-
setVpcId
public void setVpcId(String vpcId)
The identifier of the VPC that the AD Connector is in.
- Parameters:
vpcId
- The identifier of the VPC that the AD Connector is in.
-
getVpcId
public String getVpcId()
The identifier of the VPC that the AD Connector is in.
- Returns:
- The identifier of the VPC that the AD Connector is in.
-
withVpcId
public DirectoryConnectSettingsDescription withVpcId(String vpcId)
The identifier of the VPC that the AD Connector is in.
- Parameters:
vpcId
- The identifier of the VPC that the AD Connector is in.- 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 that the AD connector is in.
- Returns:
- A list of subnet identifiers in the VPC that the AD connector is in.
-
setSubnetIds
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.
- Parameters:
subnetIds
- A list of subnet identifiers in the VPC that the AD connector is in.
-
withSubnetIds
public DirectoryConnectSettingsDescription withSubnetIds(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)
orwithSubnetIds(java.util.Collection)
if you want to override the existing values.- Parameters:
subnetIds
- A list of subnet identifiers in the VPC that the AD connector is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
public DirectoryConnectSettingsDescription withSubnetIds(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.
- Parameters:
subnetIds
- A list of subnet identifiers in the VPC that the AD connector is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCustomerUserName
public void setCustomerUserName(String customerUserName)
The username of the service account in the on-premises directory.
- Parameters:
customerUserName
- The username of the service account in the on-premises directory.
-
getCustomerUserName
public String getCustomerUserName()
The username of the service account in the on-premises directory.
- Returns:
- The username of the service account in the on-premises directory.
-
withCustomerUserName
public DirectoryConnectSettingsDescription withCustomerUserName(String customerUserName)
The username of the service account in the on-premises directory.
- Parameters:
customerUserName
- The username of the service account in the on-premises directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecurityGroupId
public void setSecurityGroupId(String securityGroupId)
The security group identifier for the AD Connector directory.
- Parameters:
securityGroupId
- The security group identifier for the AD Connector directory.
-
getSecurityGroupId
public String getSecurityGroupId()
The security group identifier for the AD Connector directory.
- Returns:
- The security group identifier for the AD Connector directory.
-
withSecurityGroupId
public DirectoryConnectSettingsDescription withSecurityGroupId(String securityGroupId)
The security group identifier for the AD Connector directory.
- Parameters:
securityGroupId
- The security group identifier for the AD Connector directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAvailabilityZones
public List<String> getAvailabilityZones()
A list of the Availability Zones that the directory is in.
- Returns:
- A list of the Availability Zones that the directory is in.
-
setAvailabilityZones
public void setAvailabilityZones(Collection<String> availabilityZones)
A list of the Availability Zones that the directory is in.
- Parameters:
availabilityZones
- A list of the Availability Zones that the directory is in.
-
withAvailabilityZones
public DirectoryConnectSettingsDescription withAvailabilityZones(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)
orwithAvailabilityZones(java.util.Collection)
if you want to override the existing values.- Parameters:
availabilityZones
- A list of the Availability Zones that the directory is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAvailabilityZones
public DirectoryConnectSettingsDescription withAvailabilityZones(Collection<String> availabilityZones)
A list of the Availability Zones that the directory is in.
- Parameters:
availabilityZones
- A list of the Availability Zones that the directory is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getConnectIps
public List<String> getConnectIps()
The IP addresses of the AD Connector servers.
- Returns:
- The IP addresses of the AD Connector servers.
-
setConnectIps
public void setConnectIps(Collection<String> connectIps)
The IP addresses of the AD Connector servers.
- Parameters:
connectIps
- The IP addresses of the AD Connector servers.
-
withConnectIps
public DirectoryConnectSettingsDescription withConnectIps(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)
orwithConnectIps(java.util.Collection)
if you want to override the existing values.- Parameters:
connectIps
- The IP addresses of the AD Connector servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withConnectIps
public DirectoryConnectSettingsDescription withConnectIps(Collection<String> connectIps)
The IP addresses of the AD Connector servers.
- Parameters:
connectIps
- The IP addresses of the AD Connector servers.- 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 DirectoryConnectSettingsDescription clone()
-
-