com.amazonaws.services.directconnect.model
Class DescribeLocationsResult

java.lang.Object
  extended by com.amazonaws.services.directconnect.model.DescribeLocationsResult
All Implemented Interfaces:
Serializable

public class DescribeLocationsResult
extends Object
implements Serializable

Describe Locations Result

See Also:
Serialized Form

Constructor Summary
DescribeLocationsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Location> getLocations()
          Returns the value of the Locations property for this object.
 int hashCode()
           
 void setLocations(Collection<Location> locations)
          Sets the value of the Locations property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeLocationsResult withLocations(Collection<Location> locations)
          Sets the value of the Locations property for this object.
 DescribeLocationsResult withLocations(Location... locations)
          Sets the value of the Locations property for this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeLocationsResult

public DescribeLocationsResult()
Method Detail

getLocations

public List<Location> getLocations()
Returns the value of the Locations property for this object.

Returns:
The value of the Locations property for this object.

setLocations

public void setLocations(Collection<Location> locations)
Sets the value of the Locations property for this object.

Parameters:
locations - The new value for the Locations property for this object.

withLocations

public DescribeLocationsResult withLocations(Location... locations)
Sets the value of the Locations property for this object.

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

Parameters:
locations - The new value for the Locations property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withLocations

public DescribeLocationsResult withLocations(Collection<Location> locations)
Sets the value of the Locations property for this object.

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

Parameters:
locations - The new value for the Locations property for this object.
Returns:
A reference to this updated 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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.