Interface ElasticLoadBalancer.Builder

    • Method Detail

      • elasticLoadBalancerName

        ElasticLoadBalancer.Builder elasticLoadBalancerName​(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.
      • region

        ElasticLoadBalancer.Builder region​(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.
      • dnsName

        ElasticLoadBalancer.Builder dnsName​(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.
      • stackId

        ElasticLoadBalancer.Builder stackId​(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.
      • layerId

        ElasticLoadBalancer.Builder layerId​(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.
      • vpcId

        ElasticLoadBalancer.Builder vpcId​(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.
      • availabilityZones

        ElasticLoadBalancer.Builder availabilityZones​(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.
      • availabilityZones

        ElasticLoadBalancer.Builder availabilityZones​(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.
      • subnetIds

        ElasticLoadBalancer.Builder subnetIds​(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.
      • subnetIds

        ElasticLoadBalancer.Builder subnetIds​(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.
      • ec2InstanceIds

        ElasticLoadBalancer.Builder ec2InstanceIds​(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.
      • ec2InstanceIds

        ElasticLoadBalancer.Builder ec2InstanceIds​(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.