public class DirectoryConnectSettingsDescription extends Object implements Serializable, Cloneable
Contains information about an AD Connector directory.
Constructor and Description |
---|
DirectoryConnectSettingsDescription() |
Modifier and Type | Method and 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(Collection<String> availabilityZones)
A list of the Availability Zones that the directory is in.
|
DirectoryConnectSettingsDescription |
withAvailabilityZones(String... availabilityZones)
A list of the Availability Zones that the directory is in.
|
DirectoryConnectSettingsDescription |
withConnectIps(Collection<String> connectIps)
The IP addresses of the AD Connector servers.
|
DirectoryConnectSettingsDescription |
withConnectIps(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(Collection<String> subnetIds)
A list of subnet identifiers in the VPC that the AD connector is in.
|
DirectoryConnectSettingsDescription |
withSubnetIds(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.
|
public String getVpcId()
Constraints:
Pattern: ^(vpc-[0-9a-f]{8})$
public void setVpcId(String vpcId)
Constraints:
Pattern: ^(vpc-[0-9a-f]{8})$
vpcId
- The identifier of the VPC that the AD Connector is in.public DirectoryConnectSettingsDescription withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^(vpc-[0-9a-f]{8})$
vpcId
- The identifier of the VPC that the AD Connector is in.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- A list of subnet identifiers in the VPC that the AD connector is in.public DirectoryConnectSettingsDescription withSubnetIds(String... subnetIds)
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.
Returns a reference to this object so that method calls can be chained together.
subnetIds
- A list of subnet identifiers in the VPC that the AD connector is in.public DirectoryConnectSettingsDescription withSubnetIds(Collection<String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- A list of subnet identifiers in the VPC that the AD connector is in.public String getCustomerUserName()
Constraints:
Length: 1 -
Pattern: [a-zA-Z0-9._-]+
public void setCustomerUserName(String customerUserName)
Constraints:
Length: 1 -
Pattern: [a-zA-Z0-9._-]+
customerUserName
- The username of the service account in the on-premises directory.public DirectoryConnectSettingsDescription withCustomerUserName(String customerUserName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [a-zA-Z0-9._-]+
customerUserName
- The username of the service account in the on-premises directory.public String getSecurityGroupId()
Constraints:
Pattern: ^(sg-[0-9a-f]{8})$
public void setSecurityGroupId(String securityGroupId)
Constraints:
Pattern: ^(sg-[0-9a-f]{8})$
securityGroupId
- The security group identifier for the AD Connector directory.public DirectoryConnectSettingsDescription withSecurityGroupId(String securityGroupId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^(sg-[0-9a-f]{8})$
securityGroupId
- The security group identifier for the AD Connector directory.public List<String> getAvailabilityZones()
public void setAvailabilityZones(Collection<String> availabilityZones)
availabilityZones
- A list of the Availability Zones that the directory is in.public DirectoryConnectSettingsDescription withAvailabilityZones(String... availabilityZones)
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.
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of the Availability Zones that the directory is in.public DirectoryConnectSettingsDescription withAvailabilityZones(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of the Availability Zones that the directory is in.public List<String> getConnectIps()
public void setConnectIps(Collection<String> connectIps)
connectIps
- The IP addresses of the AD Connector servers.public DirectoryConnectSettingsDescription withConnectIps(String... connectIps)
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.
Returns a reference to this object so that method calls can be chained together.
connectIps
- The IP addresses of the AD Connector servers.public DirectoryConnectSettingsDescription withConnectIps(Collection<String> connectIps)
Returns a reference to this object so that method calls can be chained together.
connectIps
- The IP addresses of the AD Connector servers.public String toString()
toString
in class Object
Object.toString()
public DirectoryConnectSettingsDescription clone()
Copyright © 2015. All rights reserved.