Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License").
   * You may not use this file except in compliance with the License.
   * A copy of the License is located at
   * 
   *  http://aws.amazon.com/apache2.0
   * 
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
 package com.amazonaws.services.elasticloadbalancing.model;
 
 
Container for the parameters to the CreateLoadBalancer operation.

Creates a load balancer.

If the call completes successfully, a new load balancer is created with a unique Domain Name Service (DNS) name. The DNS name includes the name of the AWS region in which the load balancer was created. For example, the DNS name might end with either of the following:

  • us-east-1.elb.amazonaws.com
  • us-west-2.elb.amazonaws.com

For information about the AWS regions supported by Elastic Load Balancing, see Regions and Endpoints in the Amazon Web Services General Reference .

You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Elastic Load Balancing Limits in the Elastic Load Balancing Developer Guide .

Elastic Load Balancing supports load balancing your EC2 instances launched in either the EC2-Classic or EC2-VPC platform. For more information, see Elastic Load Balancing in EC2-Classic or Elastic Load Balancing in a VPC in the Elastic Load Balancing Developer Guide .

 
 public class CreateLoadBalancerRequest extends AmazonWebServiceRequest implements SerializableCloneable {

    
The name of the load balancer.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

 
     private String loadBalancerName;

    
The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

 
One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

 
The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.
 
The IDs of the security groups to assign to the load balancer.
 
The type of a load balancer. Valid only for load balancers in a VPC.

By default, Elastic Load Balancing creates an Internet-facing load balancer with a publicly resolvable DNS name, which resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Internet-facing and Internal Load Balancers in the Elastic Load Balancing Developer Guide.

Specify internal to create an internal load balancer with a DNS name that resolves to private IP addresses.

    private String scheme;

    
A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

Constraints:
Length: 1 -

Default constructor for a new CreateLoadBalancerRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.
    public CreateLoadBalancerRequest() {}
    
    
Constructs a new CreateLoadBalancerRequest 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.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

    public CreateLoadBalancerRequest(String loadBalancerName) {
        setLoadBalancerName(loadBalancerName);
    }

    
Constructs a new CreateLoadBalancerRequest 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.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

listeners The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

availabilityZones One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

    public CreateLoadBalancerRequest(String loadBalancerNamejava.util.List<Listenerlistenersjava.util.List<StringavailabilityZones) {
        setLoadBalancerName(loadBalancerName);
        setListeners(listeners);
        setAvailabilityZones(availabilityZones);
    }

    
The name of the load balancer.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

Returns:
The name of the load balancer.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

    public String getLoadBalancerName() {
        return ;
    }
    
    
The name of the load balancer.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

Parameters:
loadBalancerName The name of the load balancer.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

    public void setLoadBalancerName(String loadBalancerName) {
        this. = loadBalancerName;
    }
    
    
The name of the load balancer.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loadBalancerName The name of the load balancer.

This name must be unique within your AWS account, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.

Returns:
A reference to this updated object so that method calls can be chained together.
    public CreateLoadBalancerRequest withLoadBalancerName(String loadBalancerName) {
        this. = loadBalancerName;
        return this;
    }

    
The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Returns:
The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

    public java.util.List<ListenergetListeners() {
        if ( == null) {
               = new com.amazonaws.internal.ListWithAutoConstructFlag<Listener>();
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Parameters:
listeners The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

    public void setListeners(java.util.Collection<Listenerlisteners) {
        if (listeners == null) {
            this. = null;
            return;
        }
        listenersCopy.addAll(listeners);
        this. = listenersCopy;
    }
    
    
The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

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

Returns a reference to this object so that method calls can be chained together.

Parameters:
listeners The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Returns:
A reference to this updated object so that method calls can be chained together.
    public CreateLoadBalancerRequest withListeners(Listener... listeners) {
        if (getListeners() == nullsetListeners(new java.util.ArrayList<Listener>(listeners.length));
        for (Listener value : listeners) {
            getListeners().add(value);
        }
        return this;
    }
    
    
The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Returns a reference to this object so that method calls can be chained together.

Parameters:
listeners The listeners.

For more information, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.

Returns:
A reference to this updated object so that method calls can be chained together.
        if (listeners == null) {
            this. = null;
        } else {
            listenersCopy.addAll(listeners);
            this. = listenersCopy;
        }
        return this;
    }

    
One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

Returns:
One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

        if ( == null) {
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

Parameters:
availabilityZones One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

    public void setAvailabilityZones(java.util.Collection<StringavailabilityZones) {
        if (availabilityZones == null) {
            this. = null;
            return;
        }
        com.amazonaws.internal.ListWithAutoConstructFlag<StringavailabilityZonesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(availabilityZones.size());
        availabilityZonesCopy.addAll(availabilityZones);
        this. = availabilityZonesCopy;
    }
    
    
One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

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

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZones One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

Returns:
A reference to this updated object so that method calls can be chained together.
    public CreateLoadBalancerRequest withAvailabilityZones(String... availabilityZones) {
        if (getAvailabilityZones() == nullsetAvailabilityZones(new java.util.ArrayList<String>(availabilityZones.length));
        for (String value : availabilityZones) {
            getAvailabilityZones().add(value);
        }
        return this;
    }
    
    
One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZones One or more Availability Zones from the same region as the load balancer. Traffic is equally distributed across all specified Availability Zones.

You must specify at least one Availability Zone.

You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.

Returns:
A reference to this updated object so that method calls can be chained together.
        if (availabilityZones == null) {
            this. = null;
        } else {
            com.amazonaws.internal.ListWithAutoConstructFlag<StringavailabilityZonesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(availabilityZones.size());
            availabilityZonesCopy.addAll(availabilityZones);
            this. = availabilityZonesCopy;
        }
        return this;
    }

    
The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.

Returns:
The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.
    public java.util.List<StringgetSubnets() {
        if ( == null) {
               = new com.amazonaws.internal.ListWithAutoConstructFlag<String>();
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.

Parameters:
subnets The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.
    public void setSubnets(java.util.Collection<Stringsubnets) {
        if (subnets == null) {
            this. = null;
            return;
        }
        subnetsCopy.addAll(subnets);
        this. = subnetsCopy;
    }
    
    
The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.

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

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.
Returns:
A reference to this updated object so that method calls can be chained together.
    public CreateLoadBalancerRequest withSubnets(String... subnets) {
        if (getSubnets() == nullsetSubnets(new java.util.ArrayList<String>(subnets.length));
        for (String value : subnets) {
            getSubnets().add(value);
        }
        return this;
    }
    
    
The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.
Returns:
A reference to this updated object so that method calls can be chained together.
        if (subnets == null) {
            this. = null;
        } else {
            subnetsCopy.addAll(subnets);
            this. = subnetsCopy;
        }
        return this;
    }

    
The IDs of the security groups to assign to the load balancer.

Returns:
The IDs of the security groups to assign to the load balancer.
    public java.util.List<StringgetSecurityGroups() {
        if ( == null) {
               = new com.amazonaws.internal.ListWithAutoConstructFlag<String>();
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
The IDs of the security groups to assign to the load balancer.

Parameters:
securityGroups The IDs of the security groups to assign to the load balancer.
    public void setSecurityGroups(java.util.Collection<StringsecurityGroups) {
        if (securityGroups == null) {
            this. = null;
            return;
        }
        com.amazonaws.internal.ListWithAutoConstructFlag<StringsecurityGroupsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(securityGroups.size());
        securityGroupsCopy.addAll(securityGroups);
        this. = securityGroupsCopy;
    }
    
    
The IDs of the security groups to assign to the load balancer.

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

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroups The IDs of the security groups to assign to the load balancer.
Returns:
A reference to this updated object so that method calls can be chained together.
    public CreateLoadBalancerRequest withSecurityGroups(String... securityGroups) {
        if (getSecurityGroups() == nullsetSecurityGroups(new java.util.ArrayList<String>(securityGroups.length));
        for (String value : securityGroups) {
            getSecurityGroups().add(value);
        }
        return this;
    }
    
    
The IDs of the security groups to assign to the load balancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroups The IDs of the security groups to assign to the load balancer.
Returns:
A reference to this updated object so that method calls can be chained together.
        if (securityGroups == null) {
            this. = null;
        } else {
            com.amazonaws.internal.ListWithAutoConstructFlag<StringsecurityGroupsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(securityGroups.size());
            securityGroupsCopy.addAll(securityGroups);
            this. = securityGroupsCopy;
        }
        return this;
    }

    
The type of a load balancer. Valid only for load balancers in a VPC.

By default, Elastic Load Balancing creates an Internet-facing load balancer with a publicly resolvable DNS name, which resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Internet-facing and Internal Load Balancers in the Elastic Load Balancing Developer Guide.

Specify internal to create an internal load balancer with a DNS name that resolves to private IP addresses.

Returns:
The type of a load balancer. Valid only for load balancers in a VPC.

By default, Elastic Load Balancing creates an Internet-facing load balancer with a publicly resolvable DNS name, which resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Internet-facing and Internal Load Balancers in the Elastic Load Balancing Developer Guide.

Specify internal to create an internal load balancer with a DNS name that resolves to private IP addresses.

    public String getScheme() {
        return ;
    }
    
    
The type of a load balancer. Valid only for load balancers in a VPC.

By default, Elastic Load Balancing creates an Internet-facing load balancer with a publicly resolvable DNS name, which resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Internet-facing and Internal Load Balancers in the Elastic Load Balancing Developer Guide.

Specify internal to create an internal load balancer with a DNS name that resolves to private IP addresses.

Parameters:
scheme The type of a load balancer. Valid only for load balancers in a VPC.

By default, Elastic Load Balancing creates an Internet-facing load balancer with a publicly resolvable DNS name, which resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Internet-facing and Internal Load Balancers in the Elastic Load Balancing Developer Guide.

Specify internal to create an internal load balancer with a DNS name that resolves to private IP addresses.

    public void setScheme(String scheme) {
        this. = scheme;
    }
    
    
The type of a load balancer. Valid only for load balancers in a VPC.

By default, Elastic Load Balancing creates an Internet-facing load balancer with a publicly resolvable DNS name, which resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Internet-facing and Internal Load Balancers in the Elastic Load Balancing Developer Guide.

Specify internal to create an internal load balancer with a DNS name that resolves to private IP addresses.

Returns a reference to this object so that method calls can be chained together.

Parameters:
scheme The type of a load balancer. Valid only for load balancers in a VPC.

By default, Elastic Load Balancing creates an Internet-facing load balancer with a publicly resolvable DNS name, which resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Internet-facing and Internal Load Balancers in the Elastic Load Balancing Developer Guide.

Specify internal to create an internal load balancer with a DNS name that resolves to private IP addresses.

Returns:
A reference to this updated object so that method calls can be chained together.
    public CreateLoadBalancerRequest withScheme(String scheme) {
        this. = scheme;
        return this;
    }

    
A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

Constraints:
Length: 1 -

Returns:
A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

    public java.util.List<TaggetTags() {
        if ( == null) {
               = new com.amazonaws.internal.ListWithAutoConstructFlag<Tag>();
              .setAutoConstruct(true);
        }
        return ;
    }
    
    
A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

Constraints:
Length: 1 -

Parameters:
tags A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

    public void setTags(java.util.Collection<Tagtags) {
        if (tags == null) {
            this. = null;
            return;
        }
        tagsCopy.addAll(tags);
        this. = tagsCopy;
    }
    
    
A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

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

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 -

Parameters:
tags A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

Returns:
A reference to this updated object so that method calls can be chained together.
    public CreateLoadBalancerRequest withTags(Tag... tags) {
        if (getTags() == nullsetTags(new java.util.ArrayList<Tag>(tags.length));
        for (Tag value : tags) {
            getTags().add(value);
        }
        return this;
    }
    
    
A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 -

Parameters:
tags A list of tags to assign to the load balancer.

For more information about tagging your load balancer, see Tagging in the Elastic Load Balancing Developer Guide.

Returns:
A reference to this updated object so that method calls can be chained together.
        if (tags == null) {
            this. = null;
        } else {
            tagsCopy.addAll(tags);
            this. = tagsCopy;
        }
        return this;
    }

    
Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
See also:
java.lang.Object.toString()
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getLoadBalancerName() != nullsb.append("LoadBalancerName: " + getLoadBalancerName() + ",");
        if (getListeners() != nullsb.append("Listeners: " + getListeners() + ",");
        if (getAvailabilityZones() != nullsb.append("AvailabilityZones: " + getAvailabilityZones() + ",");
        if (getSubnets() != nullsb.append("Subnets: " + getSubnets() + ",");
        if (getSecurityGroups() != nullsb.append("SecurityGroups: " + getSecurityGroups() + ",");
        if (getScheme() != nullsb.append("Scheme: " + getScheme() + ",");
        if (getTags() != nullsb.append("Tags: " + getTags() );
        sb.append("}");
        return sb.toString();
    }
    
    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;
        
        hashCode = prime * hashCode + ((getLoadBalancerName() == null) ? 0 : getLoadBalancerName().hashCode()); 
        hashCode = prime * hashCode + ((getListeners() == null) ? 0 : getListeners().hashCode()); 
        hashCode = prime * hashCode + ((getAvailabilityZones() == null) ? 0 : getAvailabilityZones().hashCode()); 
        hashCode = prime * hashCode + ((getSubnets() == null) ? 0 : getSubnets().hashCode()); 
        hashCode = prime * hashCode + ((getSecurityGroups() == null) ? 0 : getSecurityGroups().hashCode()); 
        hashCode = prime * hashCode + ((getScheme() == null) ? 0 : getScheme().hashCode()); 
        hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); 
        return hashCode;
    }
    
    @Override
    public boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof CreateLoadBalancerRequest == falsereturn false;
        
        if (other.getLoadBalancerName() == null ^ this.getLoadBalancerName() == nullreturn false;
        if (other.getLoadBalancerName() != null && other.getLoadBalancerName().equals(this.getLoadBalancerName()) == falsereturn false
        if (other.getListeners() == null ^ this.getListeners() == nullreturn false;
        if (other.getListeners() != null && other.getListeners().equals(this.getListeners()) == falsereturn false
        if (other.getAvailabilityZones() == null ^ this.getAvailabilityZones() == nullreturn false;
        if (other.getAvailabilityZones() != null && other.getAvailabilityZones().equals(this.getAvailabilityZones()) == falsereturn false
        if (other.getSubnets() == null ^ this.getSubnets() == nullreturn false;
        if (other.getSubnets() != null && other.getSubnets().equals(this.getSubnets()) == falsereturn false
        if (other.getSecurityGroups() == null ^ this.getSecurityGroups() == nullreturn false;
        if (other.getSecurityGroups() != null && other.getSecurityGroups().equals(this.getSecurityGroups()) == falsereturn false
        if (other.getScheme() == null ^ this.getScheme() == nullreturn false;
        if (other.getScheme() != null && other.getScheme().equals(this.getScheme()) == falsereturn false
        if (other.getTags() == null ^ this.getTags() == nullreturn false;
        if (other.getTags() != null && other.getTags().equals(this.getTags()) == falsereturn false
        return true;
    }
    
    @Override
    public CreateLoadBalancerRequest clone() {
        
            return (CreateLoadBalancerRequestsuper.clone();
    }
}
    
New to GrepCode? Check out our FAQ X