Class DescribeDestinationsResult
- java.lang.Object
-
- com.amazonaws.services.logs.model.DescribeDestinationsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeDestinationsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDestinationsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDestinationsResult
clone()
boolean
equals(Object obj)
List<Destination>
getDestinations()
String
getNextToken()
int
hashCode()
void
setDestinations(Collection<Destination> destinations)
void
setNextToken(String nextToken)
String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeDestinationsResult
withDestinations(Destination... destinations)
NOTE: This method appends the values to the existing list (if any).DescribeDestinationsResult
withDestinations(Collection<Destination> destinations)
DescribeDestinationsResult
withNextToken(String nextToken)
-
-
-
Method Detail
-
getDestinations
public List<Destination> getDestinations()
- Returns:
-
setDestinations
public void setDestinations(Collection<Destination> destinations)
- Parameters:
destinations
-
-
withDestinations
public DescribeDestinationsResult withDestinations(Destination... destinations)
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
orwithDestinations(java.util.Collection)
if you want to override the existing values.- Parameters:
destinations
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDestinations
public DescribeDestinationsResult withDestinations(Collection<Destination> destinations)
- Parameters:
destinations
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
- Parameters:
nextToken
-
-
getNextToken
public String getNextToken()
- Returns:
-
withNextToken
public DescribeDestinationsResult withNextToken(String nextToken)
- Parameters:
nextToken
-- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDestinationsResult clone()
-
-