Class RegisterInstancesWithLoadBalancerRequest

    • Constructor Detail

      • RegisterInstancesWithLoadBalancerRequest

        public RegisterInstancesWithLoadBalancerRequest()
        Default constructor for RegisterInstancesWithLoadBalancerRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • RegisterInstancesWithLoadBalancerRequest

        public RegisterInstancesWithLoadBalancerRequest​(String loadBalancerName,
                                                        List<Instance> instances)
        Constructs a new RegisterInstancesWithLoadBalancerRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        loadBalancerName - The name of the load balancer.
        instances - The IDs of the instances.
    • Method Detail

      • setLoadBalancerName

        public void setLoadBalancerName​(String loadBalancerName)

        The name of the load balancer.

        Parameters:
        loadBalancerName - The name of the load balancer.
      • getLoadBalancerName

        public String getLoadBalancerName()

        The name of the load balancer.

        Returns:
        The name of the load balancer.
      • withLoadBalancerName

        public RegisterInstancesWithLoadBalancerRequest withLoadBalancerName​(String loadBalancerName)

        The name of the load balancer.

        Parameters:
        loadBalancerName - The name of the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInstances

        public List<Instance> getInstances()

        The IDs of the instances.

        Returns:
        The IDs of the instances.
      • setInstances

        public void setInstances​(Collection<Instance> instances)

        The IDs of the instances.

        Parameters:
        instances - The IDs of the instances.
      • 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