Class ElasticLoadBalancer

    • Constructor Detail

      • ElasticLoadBalancer

        public ElasticLoadBalancer()
    • Method Detail

      • setElasticLoadBalancerName

        public void setElasticLoadBalancerName​(String elasticLoadBalancerName)

        The Elastic Load Balancing instance's name.

        Parameters:
        elasticLoadBalancerName - The Elastic Load Balancing instance's name.
      • getElasticLoadBalancerName

        public String getElasticLoadBalancerName()

        The Elastic Load Balancing instance's name.

        Returns:
        The Elastic Load Balancing instance's name.
      • withElasticLoadBalancerName

        public ElasticLoadBalancer withElasticLoadBalancerName​(String elasticLoadBalancerName)

        The Elastic Load Balancing instance's name.

        Parameters:
        elasticLoadBalancerName - The Elastic Load Balancing instance's name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRegion

        public void setRegion​(String region)

        The instance's AWS region.

        Parameters:
        region - The instance's AWS region.
      • getRegion

        public String getRegion()

        The instance's AWS region.

        Returns:
        The instance's AWS region.
      • withRegion

        public ElasticLoadBalancer withRegion​(String region)

        The instance's AWS region.

        Parameters:
        region - The instance's AWS region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDnsName

        public void setDnsName​(String dnsName)

        The instance's public DNS name.

        Parameters:
        dnsName - The instance's public DNS name.
      • getDnsName

        public String getDnsName()

        The instance's public DNS name.

        Returns:
        The instance's public DNS name.
      • withDnsName

        public ElasticLoadBalancer withDnsName​(String dnsName)

        The instance's public DNS name.

        Parameters:
        dnsName - The instance's public DNS name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStackId

        public void setStackId​(String stackId)

        The ID of the stack that the instance is associated with.

        Parameters:
        stackId - The ID of the stack that the instance is associated with.
      • getStackId

        public String getStackId()

        The ID of the stack that the instance is associated with.

        Returns:
        The ID of the stack that the instance is associated with.
      • withStackId

        public ElasticLoadBalancer withStackId​(String stackId)

        The ID of the stack that the instance is associated with.

        Parameters:
        stackId - The ID of the stack that the instance is associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLayerId

        public void setLayerId​(String layerId)

        The ID of the layer that the instance is attached to.

        Parameters:
        layerId - The ID of the layer that the instance is attached to.
      • getLayerId

        public String getLayerId()

        The ID of the layer that the instance is attached to.

        Returns:
        The ID of the layer that the instance is attached to.
      • withLayerId

        public ElasticLoadBalancer withLayerId​(String layerId)

        The ID of the layer that the instance is attached to.

        Parameters:
        layerId - The ID of the layer that the instance is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVpcId

        public void setVpcId​(String vpcId)

        The VPC ID.

        Parameters:
        vpcId - The VPC ID.
      • getVpcId

        public String getVpcId()

        The VPC ID.

        Returns:
        The VPC ID.
      • withVpcId

        public ElasticLoadBalancer withVpcId​(String vpcId)

        The VPC ID.

        Parameters:
        vpcId - The VPC ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAvailabilityZones

        public List<String> getAvailabilityZones()

        A list of Availability Zones.

        Returns:
        A list of Availability Zones.
      • setAvailabilityZones

        public void setAvailabilityZones​(Collection<String> availabilityZones)

        A list of Availability Zones.

        Parameters:
        availabilityZones - A list of Availability Zones.
      • withAvailabilityZones

        public ElasticLoadBalancer withAvailabilityZones​(Collection<String> availabilityZones)

        A list of Availability Zones.

        Parameters:
        availabilityZones - A list of Availability Zones.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSubnetIds

        public List<String> getSubnetIds()

        A list of subnet IDs, if the stack is running in a VPC.

        Returns:
        A list of subnet IDs, if the stack is running in a VPC.
      • setSubnetIds

        public void setSubnetIds​(Collection<String> subnetIds)

        A list of subnet IDs, if the stack is running in a VPC.

        Parameters:
        subnetIds - A list of subnet IDs, if the stack is running in a VPC.
      • withSubnetIds

        public ElasticLoadBalancer withSubnetIds​(String... subnetIds)

        A list of subnet IDs, if the stack is running in a VPC.

        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 - A list of subnet IDs, if the stack is running in a VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSubnetIds

        public ElasticLoadBalancer withSubnetIds​(Collection<String> subnetIds)

        A list of subnet IDs, if the stack is running in a VPC.

        Parameters:
        subnetIds - A list of subnet IDs, if the stack is running in a VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEc2InstanceIds

        public List<String> getEc2InstanceIds()

        A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

        Returns:
        A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
      • setEc2InstanceIds

        public void setEc2InstanceIds​(Collection<String> ec2InstanceIds)

        A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

        Parameters:
        ec2InstanceIds - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
      • withEc2InstanceIds

        public ElasticLoadBalancer withEc2InstanceIds​(String... ec2InstanceIds)

        A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

        NOTE: This method appends the values to the existing list (if any). Use setEc2InstanceIds(java.util.Collection) or withEc2InstanceIds(java.util.Collection) if you want to override the existing values.

        Parameters:
        ec2InstanceIds - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEc2InstanceIds

        public ElasticLoadBalancer withEc2InstanceIds​(Collection<String> ec2InstanceIds)

        A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

        Parameters:
        ec2InstanceIds - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
        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