Class DirectoryVpcSettings
- All Implemented Interfaces:
Serializable
,Cloneable
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The identifiers of the subnets for the directory servers.getVpcId()
The identifier of the VPC in which to create the directory.int
hashCode()
void
setSubnetIds
(Collection<String> subnetIds) The identifiers of the subnets for the directory servers.void
The identifier of the VPC in which to create the directory.toString()
Returns a string representation of this object; useful for testing and debugging.withSubnetIds
(String... subnetIds) The identifiers of the subnets for the directory servers.withSubnetIds
(Collection<String> subnetIds) The identifiers of the subnets for the directory servers.The identifier of the VPC in which to create the directory.
-
Constructor Details
-
DirectoryVpcSettings
public DirectoryVpcSettings()
-
-
Method Details
-
setVpcId
The identifier of the VPC in which to create the directory.
- Parameters:
vpcId
- The identifier of the VPC in which to create the directory.
-
getVpcId
The identifier of the VPC in which to create the directory.
- Returns:
- The identifier of the VPC in which to create the directory.
-
withVpcId
The identifier of the VPC in which to create the directory.
- Parameters:
vpcId
- The identifier of the VPC in which to create the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnetIds
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
- Returns:
- The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
-
setSubnetIds
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
- Parameters:
subnetIds
- The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
-
withSubnetIds
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
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
- The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
- Parameters:
subnetIds
- The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.- 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
-