Class DirectoryConnectSettingsDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about an AD Connector directory.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of the Availability Zones that the directory is in.The IP addresses of the AD Connector servers.The username of the service account in the on-premises directory.The security group identifier for the AD Connector directory.A list of subnet identifiers in the VPC that the AD connector is in.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
The identifier of the VPC that the AD Connector is in.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZones
(String... availabilityZones) A list of the Availability Zones that the directory is in.withAvailabilityZones
(Collection<String> availabilityZones) A list of the Availability Zones that the directory is in.withConnectIps
(String... connectIps) The IP addresses of the AD Connector servers.withConnectIps
(Collection<String> connectIps) The IP addresses of the AD Connector servers.withCustomerUserName
(String customerUserName) The username of the service account in the on-premises directory.withSecurityGroupId
(String securityGroupId) The security group identifier for the AD Connector directory.withSubnetIds
(String... subnetIds) A list of subnet identifiers in the VPC that the AD connector is in.withSubnetIds
(Collection<String> subnetIds) A list of subnet identifiers in the VPC that the AD connector is in.The identifier of the VPC that the AD Connector is in.
-
Constructor Details
-
DirectoryConnectSettingsDescription
public DirectoryConnectSettingsDescription()
-
-
Method Details
-
setVpcId
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
The identifier of the VPC that the AD Connector is in.
- Returns:
- The identifier of the VPC that the AD Connector is in.
-
withVpcId
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
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
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
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
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
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
The username of the service account in the on-premises directory.
- Returns:
- The username of the service account in the on-premises directory.
-
withCustomerUserName
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
The security group identifier for the AD Connector directory.
- Parameters:
securityGroupId
- The security group identifier for the AD Connector directory.
-
getSecurityGroupId
The security group identifier for the AD Connector directory.
- Returns:
- The security group identifier for the AD Connector directory.
-
withSecurityGroupId
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
A list of the Availability Zones that the directory is in.
- Returns:
- A list of the Availability Zones that the directory is in.
-
setAvailabilityZones
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
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
The IP addresses of the AD Connector servers.
- Returns:
- The IP addresses of the AD Connector servers.
-
setConnectIps
The IP addresses of the AD Connector servers.
- Parameters:
connectIps
- The IP addresses of the AD Connector servers.
-
withConnectIps
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-