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 DescribeDestinationsResultclone()booleanequals(Object obj)List<Destination>getDestinations()StringgetNextToken()inthashCode()voidsetDestinations(Collection<Destination> destinations)voidsetNextToken(String nextToken)StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeDestinationsResultwithDestinations(Destination... destinations)NOTE: This method appends the values to the existing list (if any).DescribeDestinationsResultwithDestinations(Collection<Destination> destinations)DescribeDestinationsResultwithNextToken(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDestinationsResult clone()
-
-