Interface InstanceTopology.Builder

    • Method Detail

      • instanceId

        InstanceTopology.Builder instanceId​(String instanceId)

        The instance ID.

        Parameters:
        instanceId - The instance ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        InstanceTopology.Builder instanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupName

        InstanceTopology.Builder groupName​(String groupName)

        The name of the placement group that the instance is in.

        Parameters:
        groupName - The name of the placement group that the instance is in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkNodes

        InstanceTopology.Builder networkNodes​(Collection<String> networkNodes)

        The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same server will return a different hashed list of strings.

        Parameters:
        networkNodes - The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same server will return a different hashed list of strings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkNodes

        InstanceTopology.Builder networkNodes​(String... networkNodes)

        The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same server will return a different hashed list of strings.

        Parameters:
        networkNodes - The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same server will return a different hashed list of strings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        InstanceTopology.Builder availabilityZone​(String availabilityZone)

        The name of the Availability Zone or Local Zone that the instance is in.

        Parameters:
        availabilityZone - The name of the Availability Zone or Local Zone that the instance is in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • zoneId

        InstanceTopology.Builder zoneId​(String zoneId)

        The ID of the Availability Zone or Local Zone that the instance is in.

        Parameters:
        zoneId - The ID of the Availability Zone or Local Zone that the instance is in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.