Class DirectoryVpcSettings

    • Constructor Detail

      • DirectoryVpcSettings

        public DirectoryVpcSettings()
    • Method Detail

      • setVpcId

        public void setVpcId​(String vpcId)

        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

        public String 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

        public DirectoryVpcSettings withVpcId​(String vpcId)

        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

        public List<String> 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

        public void setSubnetIds​(Collection<String> 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.

        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

        public DirectoryVpcSettings withSubnetIds​(String... 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.

        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.

        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

        public DirectoryVpcSettings withSubnetIds​(Collection<String> 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.

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object